Nikatlas пре 6 година
родитељ
комит
684a79ae5f

BIN
public/files/assets/cards/frame_blue.png


BIN
public/files/assets/cards/frame_red.png


BIN
public/files/assets/cards/label.png


+ 3 - 3
src/Game/views/base/Card.js

@@ -48,12 +48,12 @@ class Card extends GuiableContainer{
     }
 
     construct(props) {
-        let [w,h] = [819/3,1020/3];
+        let [w,h] = [494,683];
 
         this.sprite = new PIXI.Sprite();
         this.sprite.anchor.set(0.5,0.5);
-        this.sprite.width = w-30;
-        this.sprite.height= h-30*h/w;
+        this.sprite.width = w;
+        this.sprite.height= h;
 
         this.frame = new PIXI.Sprite(BlueImage);
         this.frame.anchor.set(0.5,0.5);