Help for jump'n run

For questions about using Classic.

Post » Sun Mar 14, 2010 12:32 pm

i want a game with physics like this: [url:36lw7xmp]http://www.youtube.com/watch?v=Mrf-l53GF3k&feature=related[/url:36lw7xmp]

i tryed all kinds of moving, but its not usefull. how do i get solid blocks, slopes and a gravity (like super mario ore castlevania at first)

but i dont know how to programm this physics in Construct. please help!
B
1
G
2
Posts: 4
Reputation: 633

Post » Sun Mar 14, 2010 2:23 pm

1) Give the player sprite Platform Behavior
2) Give solid blocks the "Solid" Attribute which can be found in the object's properties
3) Experiment with the Platform Behavior settings to get the "feel" you want
4) Slopes are made with Solid objects shaped like slopes (at least with slope collision masks)

Get started on that and come back when you need more help with it (which you will with slopes).

I'd also like to know which version of Construct you are using.
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Sun Mar 14, 2010 2:56 pm

the very newest (downloadet today :D )
B
1
G
2
Posts: 4
Reputation: 633

Post » Sun Mar 14, 2010 3:37 pm

Latest stable release (0.99.62) or latest unstable release (0.99.84)?
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Sun Mar 14, 2010 4:40 pm

latest stable release (0.99.62)





how to do the following: ive the player (a ball, with animation), and after pressing up, the ball stands up? i already have the standup animation, but how to let it be invisible, untill you press "up".

ive choosen "destroy" for the old object, but how to let the other animation start, playing just 1 time and than another animation? (just standing there)


so short: morphball; press up: destroy animation 1 and play 1 time animation 2, after that endles animation 3, untill you do another thing.
B
1
G
2
Posts: 4
Reputation: 633

Post » Mon Mar 15, 2010 8:16 am

You don't have to destroy the object. Just use the action "setAnimation" and set it to your animation2, for which you deselect "loop" and enter at "repeat #" just a 1. Then it plays just once.
Then you have to use the event "onAnimationFinished" to catch when the animation is finished and then use an action for this event which again sets the animation to animation 3.
B
2
G
2
Posts: 22
Reputation: 694

Post » Mon Mar 15, 2010 4:25 pm

thanks, but its not playing only 1 time! - how to let a 3rd animation play [endless], after the 2nd animation is played [1 time]?
B
1
G
2
Posts: 4
Reputation: 633

Post » Tue Mar 16, 2010 9:33 am

You set out 2nd animation just to play once without a loop.
Then you set the 3rd animation to loop.

Then in the events start the 2nd animation. When this is finished after playing once, an endOfAnimation event ist generated, which you have to handle. There you can start your 3rd animation which will play endlessly.
B
2
G
2
Posts: 22
Reputation: 694


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests