i need help with variables not setting to the correct value/being triggered by the wrong action if anyone would like to
What value should they be? Where is every block they are eing set? Why do you think they are incorrect?
@leaders new topic please
Link to project?
Link to the project: https://c.gethopscotch.com/p/10y8rkr5e6
HP is supposed to be at 10 and go down by one every time the TR hits the parallelogram
Instead of “when is touching” to “when bumps” and see if that works
it’s on bumps on the project… still doesn’t work
yeah that works
do it in the “tilted rectangle” object
Problem solved booyah out of likes
this is perfect thanks so much!
Everything else working correctly?
now she just stays there… even when she’s hit 10 times…
- You don’t have anything under “when HP equals 0”
- You said equals zero, which means that even if the HP is less than 0, it isn’t exactly 0
You might want to use less than or equal to 0
Hope this helps and good luck!
how do you do greater than/ equal to?
I posted an example, look up Chillanna Rules! Debug
Best of luck!