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
»
Axis Event
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Axis Event (Read 1098 times)
jrush64
Playmaker Newbie
Posts: 20
Axis Event
«
on:
December 01, 2018, 11:36:33 AM »
Hi,
So I'm creating a picture gallery of sort. I want to be able to press right and go to the next image press left and go back to the first.
Now I got it working with ui buttons easily. Im trying to add the keyboard controls left and right.
I used axis event for horizontal and vertical. It works but its so fast. The moment i press right it goes right to the end and vice versa.
What do i use to make it like i press right once and it goes right instead of just running through to the end.
Logged
Athin
Full Member
Posts: 163
Re: Axis Event
«
Reply #1 on:
December 02, 2018, 12:15:44 AM »
I'd use a simple Wait action between the events to slow it down slightly.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Axis Event
«
Reply #2 on:
December 03, 2018, 12:58:13 AM »
Hi,
you need to listen to the up state of the key being pressed, if you use input you'll need to use compare float to make sure you catch both states ( up key and down key)
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Axis Event