TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Simulate Key Codes
Pages:
1
Simulate Key Codes
rashad7
Posts: 61
May 09, 2013, 08:17:27 am
Hi I want to know what are the codes to simulate keys (up, down, left, right).
i know......
flash:
simulateKeyPress(_Control);
iOS:
[self simulateKeyPress:_Control];
i want to know what are the other codes for Andriod and Mobile because i want to test my app on my Andriod.
Thanks in advance
vikingpotato
Posts: 852
May 09, 2013, 11:13:32 am
You tried this ?
http://www.stencyl.com/help/view/controls/
rashad7
Posts: 61
May 09, 2013, 11:17:27 am
Is that general purpose simulate key?
rashad7
Posts: 61
May 09, 2013, 11:23:15 am
does not work gives me errors
vikingpotato
Posts: 852
May 09, 2013, 12:21:30 pm
Can you put a screenshot of the behaviour you used it in?
rashad7
Posts: 61
May 09, 2013, 01:05:35 pm
i want to know what is the line for Android and mobile, so i can test it on my Driod
rob1221
Posts: 9473
May 09, 2013, 01:25:25 pm
2.2 doesn't support Android so I don't know why you're asking about that. 3.0 supports Android, is currently in beta, and requires either iOS Pro or Stencyl Studio.
https://twitter.com/Rob1221dev
jpeterson
Posts: 17
February 12, 2014, 09:32:45 pm
I have 3.0 beta and no clue how to simulate key press in Android? I get those same errors. Anyone solve this?
rob1221
Posts: 9473
February 12, 2014, 10:11:57 pm
Are you using the block under User Input?
https://twitter.com/Rob1221dev
Pages:
1