Enhanced snail entity with new features
Added a sprite to the Snail class and implemented animations for the snail's movements. The snail now has a body and shell texture, along with an eating shadow. Also, added logic to flip the sprite based on movement direction in the 'snail_eating' state. Furthermore, made CollisionShape2D invisible for better aesthetics.
This commit is contained in:
parent
7d47bdbf5a
commit
5777a7f2f1
9 changed files with 213 additions and 4 deletions
BIN
resources/textures/snail_body.png
Normal file
BIN
resources/textures/snail_body.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Loading…
Add table
Add a link
Reference in a new issue