solid sprite movement

Discussion and feedback on Construct 2

Post » Fri Sep 02, 2011 6:03 pm

Hi
I like Constructor !I'm testing some engines to develop 2D games to web and mobiles and this a very good app.
I'm having some problems:
- how to make a solid sprite have a movement up and down...? like a elevator.
- how to make a auto mirror work in a sprite with platform behavior? I had a solution with keyboard events and animations , but "mirror" should work... or not?
regards
Alemar
Toy Art WarAlemar2011-09-02 19:00:53
B
31
S
6
G
3
Posts: 67
Reputation: 3,526

Post » Fri Sep 02, 2011 7:42 pm

Sprite moving up and down: try the 8 direction behavior, but set its 'directions' property to 'up and down'.

Auto mirror: you need to use the 'set angle' action. For example:

+ On left arrow pressed
-> Sprite: set angle to 180 degrees

+ On right arrow pressed
-> Sprite: set angle to 0 degrees
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Fri Sep 02, 2011 9:18 pm

Hi Ashley

thank you very much!
I'm talking about to set up a animation automatic, like it in a path.
I get to use 8 moviments up and down, but this work just with the keyboard.I need the solid go up and down automatic and I don't know how to make this with events and if it's possible.
B
31
S
6
G
3
Posts: 67
Reputation: 3,526

Post » Fri Sep 02, 2011 9:58 pm

ah
I get to solid move using:
sistem/repeat x times / sprite/simulate 8directions pressing up

but I can't stop the solid at a determined position and back to start...
can you help me?
B
31
S
6
G
3
Posts: 67
Reputation: 3,526

Post » Wed Sep 07, 2011 7:31 pm

aha
the answers was in the examples folder ... marvelous!
thank you Ashley nice program.
I hope we can have a grafic interface for this in near future?
B
31
S
6
G
3
Posts: 67
Reputation: 3,526


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests