Posted February 11, 2022 by omagerio
#update #swarm sonata #godot
As I continue my study project in Godot, I had a chance to put in a new weapon: a Sword Swing!
This weapon hits in front of the player, swinging from top to bottom and has a very strong pushback. In later levels, it becomes really big and can hit half the screen in a single swing.
This weapon gave me a chance to dive into AnimationPlayer + Area2D collisions, and the way the collision can be turned on and off during the animation (dynamic hitboxes, yay!).
Other changes to the game are:
- Limited the maximum level of every weapon to 20. Reason: weapons got really ridiculous at high levels (the shield could hit enemies outside of the screen). Also it is very hard to balance if there is no cap (not that I want to balance things, I just want it to be fun)
- Changed the health scaling of the enemies to not become trivial
- Changed the pushback resistance scaling of the enemies for the same reason
See you at the next update, stay tuned!