Construct 2 Free

Construct 2 Free

Kamiyama 21 okt, 2016 @ 16:40
WASD movement?
I'm doing the tutorial where you make a game with a player that shoots ghosts. I don't want 8 direction movement with the arrow keys, I would like WASD instead. How do I make the player sprite move with WASD?
< >
Visar 1-4 av 4 kommentarer
Platanito 21 okt, 2016 @ 17:08 
go to the sprite/properties/8Direction, and set defult controls to No. And also add KeyBoard to the object types.

then on the Sheet Event Put all the keys you want to make the Player move for now is WASD.example

If W is down. Then Player should Simulate Control Up.
If A is down. Then Player should Simulate Control left.
etc...
Kamiyama 21 okt, 2016 @ 17:09 
I figured out I need to set events in the event layer and make an event with a keyboard button press using the simulate control event type.
Kamiyama 21 okt, 2016 @ 17:09 
Ursprungligen skrivet av L3git_Bo1:
go to the sprite/properties/8Direction, and set defult controls to No. And also add KeyBoard to the object types.

then on the Sheet Event Put all the keys you want to make the Player move for now is WASD.example

If W is down. Then Player should Simulate Control Up.
If A is down. Then Player should Simulate Control left.
etc...

Thanks!
Platanito 21 okt, 2016 @ 17:10 
Ursprungligen skrivet av Kamiyama:
Ursprungligen skrivet av L3git_Bo1:
go to the sprite/properties/8Direction, and set defult controls to No. And also add KeyBoard to the object types.

then on the Sheet Event Put all the keys you want to make the Player move for now is WASD.example

If W is down. Then Player should Simulate Control Up.
If A is down. Then Player should Simulate Control left.
etc...

Thanks!
No prb.
< >
Visar 1-4 av 4 kommentarer
Per sida: 1530 50