playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Last Input for Movement
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Last Input for Movement (Read 1146 times)
eggmanwalrus@hotmail.co.uk
Playmaker Newbie
Posts: 2
Last Input for Movement
«
on:
February 12, 2018, 05:25:02 PM »
Hi,
I'm trying to make a cube move around a grid. When I hold the 'up' key it goes up but when I then press the right key it doesn't respond to go right. How can I make a system that does the last key pressed for movement? Right now it seems to prioritise up and down as direction inputs.
Logged
ozergul
Playmaker Newbie
Posts: 10
Re: Last Input for Movement
«
Reply #1 on:
February 12, 2018, 06:03:38 PM »
You can create
Direct
variable and in every frame compare this var with up,bot,left,right
Then sendEvent to your events
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Last Input for Movement