Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
is there a way to simulate a control press? i dont mean like a keyboard key or a mouse click, i mean like up, down, or jump, etc. so my plugin could trigger events as if the actual controls were pressed?
No, the control press conditions are triggers within the Mouse & Keyboard object... why do you need to trigger them manually? What are you trying to achieve?
I think he means he want a triggered condition. Which instead of using CND_STATIC in the definition of a condition you use CND_Triggered and the Generate event()
Develop games in your browser. Powerful, performant & highly capable.
im making a custom controls object to work with mouse and keyboard as a simple workaround until the official custom controls come out. i can retrieve the value of the key pressed from mouse-keyboard, and reuse it for my own custom movement event sheets. but id like to share it with the community and most people use behaviors for movement, if i had a way to access the control data, and trigger those events, it could work with built in behaviors as well
so does this mean it's not possible? or it's an annoying question? or what?
No, I don't think you can do this with the SDK yet.
I don't think it's possible right now :s
It would be nice to have though.
Damn! I want a crack at plugins?
I'm looking at you, mousekeyboard plugin :O
ok, thanks guys. I'll still make a version of it to help with custom controls schemes at least