added logo to main screen and set up the game to start from the logo screen

This commit is contained in:
Stefan Stefanov 2024-02-10 16:09:04 +02:00
parent 31de4ca06c
commit 78af71a33a
5 changed files with 66 additions and 54 deletions

View file

@ -2,6 +2,8 @@ package space_invaders
import glm "core:math/linalg/glsl"
LOGO_TO :: [2]glm.vec2{{0, 0}, {128-(SPRITE_CELL * 2), SPRITE_CELL * 2}}
GLOBAL_SPRITE_SCALE :: 2
SPRITE_CELL :: 16