[SOLVED] Moving a block left and right

Discussion and feedback on Construct 2

Post » Fri Jan 16, 2015 3:45 am

I want to move a block (sprite) left and right bounded by two other objects, so when the block collide to the left objects its turn to the right and so on, there are any behaviour for that or I need to use custom movement ? I know how to do that with events but if there any way easer I want to know! Thanks!
Last edited by Vinians on Fri Jan 16, 2015 1:47 pm, edited 1 time in total.
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
22
S
5
G
6
Posts: 167
Reputation: 4,949

Post » Fri Jan 16, 2015 4:03 am

you don't need any behavior this can be done with some simple events. and it cover in a tutorial here https://www.scirra.com/tutorials/253/ho ... ge-7#h2a18 if it doesn't take you to the right spot in the tutorial what your looks for in under moving the enemy
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Fri Jan 16, 2015 8:43 am

Use Bullet and Solid.
Image
B
16
S
7
Posts: 126
Reputation: 1,910

Post » Fri Jan 16, 2015 1:46 pm

Thank you both, worked !
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
22
S
5
G
6
Posts: 167
Reputation: 4,949


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests