It's already 2 months since I posted last update, but I still continue to work on the game and slowly, it is coming together
- Fixed quite a lot of bugs, visual and logical
- There is new spawning mechanism for asteroids
- Buttons and menus!
- Game keeps aspect ratio on different screen sizes
- Placeholder sounds
- Full HD resolution
- Explosion animation
- and other things I forgot
(you control the ship and dodge the incoming asteroids)
What is left to be done:
There are few things, like polish the gameplay, do some menu, optimize code. It should come out soon
As I wanted to show the game to collegues, I bundled the apk and I was amazed by the size. In release mode it was just 7,4 MB. I inspected the build report and found out, that half of the size is made by sounds. Without sounds, size would be around 4MB.
How is this achieved?
Since I have pixelart, i can set
default_texture_min_filter: linear in game.project, import my images in really small size and let the engine scale them. This is a huge resource saver.
Lets have a look at one example:
Bg image asset large: 1080x3840, 296kB
Bg image asset small: 90x320, 36kB
Bg image asset small PNG-8: 90x320, 18,9kB
% saved: 100 - (18,9/296)*100 = 93,7% saved
Nice thing about this approach is low memory footprint.
One last thing, thanks a lot to community for help they provide. Also special thanks to @britzl, who made a lot of different demos available public.