Discord
Login
Community
DARK THEME

Player Health

https://microstudio.dev/i/Heythat/healthtest/

So i coded this player health thing, once all hearts (or square things) are transformed it resets the game and restarts. I was just wondering if I can get rid of the tiny portion of time where the player keeps lagging back to the same spot after the reset. Also I was wondering if anyone has any suggestions on how I could improve on this. Thanks for any help :D

"after" is not appropriate for what you are doing. I suspect that you misunderstand how the code works when using this command.

You're trying to make logic out of bad blocks.

I added the "health" fields and an object that draw on screen the number of hearts to the player's object.

The "enemy" object has a coolDown that blocks dealing damage for 3 seconds.

https://microstudio.io/i/Loginus/healthtest/

thanks

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community