General Gravity

Discussion and feedback on Construct 2

Post » Thu Sep 08, 2011 12:26 am

not exactly what i need but still useful anyways, thanks!
B
29
S
5
G
6
Posts: 58
Reputation: 5,121

Post » Thu Sep 08, 2011 12:29 am

[QUOTE=Somebody] You could do something like Every tick: Set bullet Y to ObjectName.Y+100*dt, where 100 is how much (in pixels) it would move in one second. dt or timedelta just makes the move smooth.

On your second question - if you bought it the link's in your email.[/QUOTE]
Actually, it works! i made the mistake of putting set y to ground.y+100*dt, instead of bullet.y+100*dt!

THANK YOU SO MUCH!

Also, kyatric, thanks for the link
B
29
S
5
G
6
Posts: 58
Reputation: 5,121

Post » Thu Sep 08, 2011 1:41 am

glad you sorted it out.
B
50
S
17
G
15
Posts: 1,029
Reputation: 26,289

Post » Thu Sep 08, 2011 8:07 pm

[QUOTE=harrio] i have a lander clone demo i did a while back that uses math for the gravity. it is fully commented out, and may help you if you like.

http://dl.dropbox.com/u/6707683/construct.../hilander.capx

you can try it, to see if this is the type of gravity movement you want...

http://dl.dropbox.com/u/6707683/construct.../hilander%20htlm5/index.html[/QUOTE]

index.html does not load in my dropbox: /

how to solve this problem? 've Uploaded all necessary files and when I open the. Html screen goes blank. View Post
Amilton Neves do Brasil. Criando jogos des de 1999.
B
30
S
8
G
6
Posts: 223
Reputation: 8,719

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests