So... I want to make the 'movement' of my meteor falling down on the way my main character passes by.
And if it hits him, he loses health.
But i'm confusing on what to do, i know not of programming. Anyone can explain it to me? Thx! =D
Develop games in your browser. Powerful, performant & highly capable.
I don't really know what you mean?
Method 1 (if I uncerstand you correctly)
Add physics behavior and los (line of sight) behavior to meteor
Set angle range of los behaviour to 4 and angle it towards the ground.
Set physics behavior imovable.
Then in events:
If meteor has los to player:
+ trigger variable == 0:
set immovable to false
set trigger variable to 1.
That method worked for me in my cavestory came with spikes falling from the roof. I hope this is what you mean.