How to make a meteor falling down

For questions about using Classic.

Post » Fri Sep 23, 2011 6:48 pm

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
B
2
G
1
Posts: 4
Reputation: 558

Post » Mon Sep 26, 2011 8:26 pm

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.
B
18
S
4
G
1
Posts: 413
Reputation: 2,512


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests