Custome movement good tutorial

Get help using Construct 2

Post » Mon Dec 02, 2013 5:52 pm

Guys,

Can you recommend good tutorial on custom movement ?

Basically I'm not getting the basic tutorial on Cust. Movement in the manual or costume move is not what I'm looking for.

What I'm trying to do is basically 3 type of behaviours on the sprite:

1. Sprite travels from bottom to top kind of following snake move bouncing left and right in a range lets say 100 pixels (or random range between 50 to 100 pix would be even better).

2. Sprite when appear moves up and down 100 px and then on click flays away to up.

3. On collision sprite is "kick off" to right or left flying out on arc patch (kind of bow shape - not sure if its right words in Eng)

Any advice much appriciated !

Thanks
E
B
6
S
1
G
1
Posts: 20
Reputation: 780

Post » Mon Dec 02, 2013 6:00 pm

1. use bullet behavior combined with sine.
set sine to horizontal and influence snake movement with magnitude as the bullets angle is aimed upward (270 deg) and giving the bullet some speed.

2. Use same as above with no bullet speed and sine vertical. On click/touch add bullet speed and set angle of motion.

3. Use bullet and set speed 0 and no gravity
On collision
Choose angle left or right (200 , 320) set bullet speed and add some gravity to fake arch effect.

Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Thu Dec 05, 2013 3:38 pm

I forgot to thank you so .... thank you !! :)
Works great.

BTW this community is great. Thanks for being patient !

Regards
E
B
6
S
1
G
1
Posts: 20
Reputation: 780


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests