Added logo #11

Merged
H4CK3R-01 merged 1 commits from logo into main 2021-06-09 12:16:30 +00:00
3 changed files with 10 additions and 0 deletions

BIN
public/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
public/img/logo_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -135,6 +135,16 @@ function start_game() {
app.stage.addChild(border_card_stack); app.stage.addChild(border_card_stack);
// Logo
let logo = PIXI.Sprite.from('/img/logo_2.png');
logo.x = sprite_size * 3 - sprite_size * 0.2;
logo.y = sprite_size * 5.5 - sprite_size * 0.2;
logo.width = sprite_size * 3.5;
logo.height = sprite_size * 1.5;
// logo.rotation -= Math.PI / 8;
app.stage.addChild(logo);
socket.on('dice', function (randomInt) { socket.on('dice', function (randomInt) {
rolled_number = randomInt; rolled_number = randomInt;
diced = true; diced = true;