In this example:

- Simple damage events

-"knock back" damage using tweens.

-Health bar using sprite and health bar using tiled object.

-"Damage flashing" (when flashing -> no damage).

-Enemy walking and attacking when close enough.


You can suggest me things I could add to this example, I'll update this pack.


Graphics: 

Skeleton: https://jesse-m.itch.io/skeleton-pack

Background: https://blackwolfdave.itch.io/forgotten-dungeon

StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorRapaGamez
GenrePlatformer
Made withGDevelop, PixiJS
TagsBoss battle, example, gdevelop, Pixel Art, Tutorial

Download

Download NowName your own price

Click download now to get access to the following files:

Enemy_Damage.zip 103 kB

Comments

Log in with itch.io to leave a comment.

Nice example man, can you show me the lines for knockback? I'm trying to make a knock back in all 8 directions for my top down game on Gdevelop

(+1)

When I started with Gdevelop last year, I felt overwhelmed when it came to implementing my ideas. Thanks to your games and videos, I quickly managed to finalize my game. Many thanks.

Hey, nice to hear you managed to finalize your game! And I'm glad if my videos were helpful :)