frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Need help with Collision and Bars

Hello,
I am having an issue when a block hits the player. I want the player health bar to be reduced by 1 on collision hit, but no matter what combination of things the bar always gets taken to 0 instantly instead of decreasing incrementally upon hit. Here is a screen shot of my "code".
collision

Comments

Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch