How do I stop from going backwards on a layout?

Get help using Construct 2

Post » Mon Jun 02, 2014 4:16 pm

Like those old arcade games where once you advanced forward you couldn't go back?

My first thought was to just keep moving the location of an invisible solid object....

Something I missed in the manual?
B
5
S
1
Posts: 15
Reputation: 405

Post » Mon Jun 02, 2014 11:41 pm

You could do a "LevelwallX" variable that changes when the screen moves. If Player.X is less than Levelwall set Player Xposition to "LevelwallX".
So if the coordinates for the player go behind the LevelwallX variable you have set up, it will just "teleport" the player back to the wall.
(\__/)

(='.'=)

(")_(")
B
23
S
10
G
1
Posts: 74
Reputation: 3,244


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests