different stage is managed by tilemaps, and can be changed here.
Thanks! (it is okay if I use this right?)
1 Like
How do you make things take health?
I didn’t manage to import tilemaps from imported extensions, like i did for the fighters, so may required to fork the repo and add / change the default tilemap (line 338 tilemap级别1
)
hmm, what do you mean by ’ take health’ ?
Like the leaching move for the bat
(Please do the the explanation in blocks).
- Define a dummy projectile, +1 owner.hp before destroy. Notice that API changing fighter.hp is not exposed to blocks to prevent invincible fighters can made by setting forever : myself.hp = 100 or opponent.hp = 1
- A normal attacking projectile creating Leeching projectiles when overlaps with opponent
Complete code can be found here:
hey! just wondering if you knew how to wrap it into a function cant figure it out
May I have a look at your project? What do you want to wrap into a function?