This started as an asteroids clone but I wanted to use state machines more so I made some boss battles. In this project, I learned that loading light and particle effects for the first time is quite intensive, especially in compatibility mode (which web builds use). To fix this, I instantiated and destroyed all relevant effects before loading the game normally. Also, I found that there isn't really a good way to apply a shader to a control in Godot. There are three methods I could find:

1. Make all children inherit the shader of the parent. The problem is this will make text look blocky

2. Use a CanvasGroup node. This is a Node2D so you lose the benefits of a control. Some people have come up with workarounds where you bootstrap it with a control node and resize to to whatever that nodes dimensions are.

3. Use a subviewport. This is what I went with but it makes the text look a bit pixelated and I couldn't find a fix for that

So if anyone knows of a better fix for this I would be curious to know!


Credits

Ship Art and Animations by me in Aseprite.

Asteroid Sprite and Animations: https://foozlecc.itch.io/void-environment-pack

Boss Explosion Animation: https://www.vecteezy.com/vector-art/13224424-animation-sprite-sheet-of-bomb-expl...

Cool Background Shader: https://godotshaders.com/shader/2d-nebula-shader/

Menu Fade Shader: https://godotshaders.com/shader/dot-matrix-diagonal-reveal-shader/

SFX

Laser: https://pixabay.com/sound-effects/film-special-effects-retro-laser-1-236669/

Rocket: https://pixabay.com/sound-effects/film-special-effects-launching-missile-313226/

Asteroid Destroy Sound: https://pixabay.com/sound-effects/film-special-effects-stomp-255897/

Rocket Pickup: https://pixabay.com/sound-effects/film-special-effects-giant-gears-504025/

Firespeed Pickup: https://pixabay.com/sound-effects/film-special-effects-video-game-powerup-38065/

Music

Ouroboros by Kevin McLeod: https://incompetech.com/music/royalty-free/music.html

Updated 10 days ago
Published 13 days ago
StatusReleased
PlatformsHTML5
AuthorSvorkar
GenreAction
Made withGodot
TagsAsteroids, Boss battle, Space, Top down shooter
ContentNo generative AI was used

Leave a comment

Log in with itch.io to leave a comment.