Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I want to simulate a keypress as an action.
On Left button clicked on "Sprite" -> Simulate "Fn"+"F12"
Is there any way to do this, or are there any plug-ins? I appreciate all responses, thanks in advance.
Develop games in your browser. Powerful, performant & highly capable.
you could do a sub event
Would that allow the keyboard to be simulated as an action, or wouldn't that just be a new condition?
Klungland
C2 doesn't have anything built in to do this, so you might want to see if there is a way to do it in JavaScript and use the Browser plugins Execute JavaScript action.
I believe this has been asked before, so a search of the forums might find the answer.
EDIT - Found this:
Thanks, I appreciate the answers.
i suppose your right but it could still work if you added a variable for what button pressed you might be able to do this