How to make a character "Wall Jump"

Favourite 14 favourites
Tutorial written by GabrielMazoOriginally published on 20th, April 2014 - 2 revisions

How to make a character "Wall Jump"

Adding the behavior

Click on your sprite of your character, then "Add / Edit - Behaviors," and add the behavior of motion "Platform".

(Your Character)> Add / Edit - Behaviors> "+"> Platform

Events

Go to the Event Sheet adcione the current phase of the behavior of an event deck your character:

Sheet Event> New Event> (Your Character)> "Is wall by"> "Left"


After that duplicate this event and change his option "Left" to "Rigth"
(Ctrl + C then Ctrl + V)

Add the "Keyboard" object wait for 5 seconds, return to the Event Sheet. Là add a new condition:

Add action> Keyboard> On key pressed> "Click to choose"> Press the up key> Ok

Copy this condition in another event. After adcione other action:

Add action> (Your character)> Set Vector X> -500
Add action> (Your character)> Set Vector Y> -500

Copy the next event and ready, his "Wall Jump" can be used in your games! Remember, to be used in all stages, these events should be adiconados on all sheets event!

Good luck in building your game! : D

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.

Comments

0
Lordshiva1948 44.3k rep

Thanks for sharing

Sunday, April 20, 2014 at 9:10:23 AM
0
AbelaNET 14.9k rep

Thanks for sharing

Monday, April 21, 2014 at 6:58:33 PM
0
Sentenc3d1 644 rep

Thanks for sharing!

Friday, April 25, 2014 at 4:16:32 PM
0
veeru5656 1,968 rep

nice tutorial

Friday, May 02, 2014 at 8:23:18 AM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.