Set up WASD for 8 Directional movement?

Get help using Construct 2

Post » Sun Jun 21, 2015 6:12 am

I've used the 8 Directional movement from the behaviors options, but who honestly uses arrows anymore lol...

I can see you can change the max speed and such for it, but nothing else. Is there a way to edit it further? Or do I have to make the 8 Directional movement from scratch?

I'm sure this question must have been asked before, but I did a couple searches and found nothing.

- Brian. :)
Life is what you make it!
B
9
S
2
G
5
Posts: 44
Reputation: 3,286

Post » Sun Jun 21, 2015 6:25 am

Add events:

Keyboard is pressing W - sprite simulate 8 direction pressing up..
etcetera
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Jun 22, 2015 12:41 am

personally i recommend using platform movement but for 8 direction when you are adding an action just go into whatever has the behavior 8 direction and then click simulate control W, A, S, or D and for the event you will need to add the keyboard plugin to your project then do keyboard key is down again W, A, S, or D
B
5
S
1
Posts: 31
Reputation: 441

Post » Mon Jun 22, 2015 5:19 am

@LittleStain and @lodyze
I'm completely lost. The only thing I can see that even mentions 8DM is on the left panel but has nothing about controls other than one with a yes/no option and under events I open keyboard and have little luck after that... like I said. I'm a noob lol. Use to use Gamesalad.
Life is what you make it!
B
9
S
2
G
5
Posts: 44
Reputation: 3,286

Post » Mon Jun 22, 2015 5:25 am

It's an event action in the event editor, not on the default page. This all could be found reading the manual entry for 8-Direction Behavior and its followup link Behavior Reference - Custom movement.
Check out my VGM on my soundcloud page!
Video-Game Music: E.C.2151
B
9
S
3
G
2
Posts: 194
Reputation: 1,713

Post » Mon Jun 22, 2015 7:03 am

ozboybrian wrote:@LittleStain and @lodyze
I'm completely lost. The only thing I can see that even mentions 8DM is on the left panel but has nothing about controls other than one with a yes/no option and under events I open keyboard and have little luck after that... like I said. I'm a noob lol. Use to use Gamesalad.


Open up your event sheet tab and add event..

To be able to work with keyboard events you should first add a keyboard object to your project..

It might be of use if you don't know about event sheets and/or events to follow a few tutorials from the tutorial-section of this page to get the hang of things..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Jun 22, 2015 7:42 pm

LittleStain wrote:
ozboybrian wrote:@LittleStain and @lodyze
I'm completely lost. The only thing I can see that even mentions 8DM is on the left panel but has nothing about controls other than one with a yes/no option and under events I open keyboard and have little luck after that... like I said. I'm a noob lol. Use to use Gamesalad.


Open up your event sheet tab and add event..

To be able to work with keyboard events you should first add a keyboard object to your project..

It might be of use if you don't know about event sheets and/or events to follow a few tutorials from the tutorial-section of this page to get the hang of things..


Yes i'd done that haha, but nothing else after selecting keyboard stands out.

I added a Keyboard. I know about event sheets system, characters, ticks and so on. Not perfect but I get the idea, same sorta system Gamesalad uses so I picked that up fairly quickly.

I will search for "This all could be found reading the manual entry for 8-Direction Behavior and its followup link Behavior Reference - Custom movement." Thanks everyone!
Life is what you make it!
B
9
S
2
G
5
Posts: 44
Reputation: 3,286

Post » Tue Jun 23, 2015 8:17 am

I READ THIS THREAD THEN FIGURED IT OUT!!! Thank you ALL!! :D

set-wasd-as-the-default-keys-for-8-direction-move_t79175
Life is what you make it!
B
9
S
2
G
5
Posts: 44
Reputation: 3,286

Post » Tue Jun 23, 2015 8:22 am

ozboybrian wrote:I READ THIS THREAD THEN FIGURED IT OUT!!! Thank you ALL!! :D

set-wasd-as-the-default-keys-for-8-direction-move_t79175


Glad you figured it out, but...

ehhmm..
The answer in that thread is exactly the same as my first reaction..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775



Return to How do I....?

Who is online

Users browsing this forum: evillair, gamecorpstudio, jorgmaquoi, Yahoo [Bot] and 27 guests