updated build script, added bugged alien shooting

This commit is contained in:
Stefan Stefanov 2024-02-10 17:45:45 +02:00
parent 02ca71ec5f
commit d21ccf3dc8
3 changed files with 51 additions and 13 deletions

View file

@ -101,6 +101,10 @@ main :: proc() {
rl.InitWindow(state.screen_width, state.screen_height, state.title)
defer rl.CloseWindow()
if !ODIN_DEBUG {
rl.SetExitKey(nil)
}
texture_atlas_image = rl.LoadImage(TEXTURE_ATLAS_PATH)
texture_atlas = rl.LoadTextureFromImage(texture_atlas_image)
rl.UnloadImage(texture_atlas_image)