How to allow the player to walk on walls?

For questions about using Classic.

Post » Mon Nov 22, 2010 9:15 am

Hi

I'm currently making my first game in Construct, I've already done the ghost shooter tutorial and played around with some of the options. In the game that I'm making, the player that you control (Platform movement) will be able to jump towards the position of the mouse and land on either the walls or the ceiling and then be able to walk.


(The player started at the bottom and when you click on the star you launch towards it, and end up on the ceiling)

How can I change the gravity of the player to allow this? Is there a way to jump in a straight line without having gravity getting in the way? I really want this to work but I cannot figure out how to do it. Please, if you know how this works, explain it in this thread.


Thanks in advance,
Redoxe
B
1
G
2
Posts: 2
Reputation: 629

Post » Mon Nov 22, 2010 12:57 pm

I don't know what you want to achieve, but you can change the gravity by actions.
Click on +New action
pick the character's sprite with platform behavior
then click platform tab and there is Set gravity
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Mon Nov 22, 2010 7:31 pm

Yeah but how do I switch between having the gravity send me to the wall and then to any of the other sides? I want to be able to walk on all the sides of the screen.
B
1
G
2
Posts: 2
Reputation: 629

Post » Tue Nov 23, 2010 12:54 am

I've tried to make an example. Is this what you're after?
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests