nunuStudio
nunuStudio copied to clipboard
Keyboard and Mouse input
Problemas no Keyboard and Mouse input
Description
- Ao apertar "stop" as funções de "Keyboard e Mouse" não estão funcionando corretamente.
function update() {
self.rotation.y += Mouse.delta.x * 0.01;
if(Keyboard.keyPressed(Keyboard.LEFT)) {
self.position.x -= 0.1;
}
if(Keyboard.keyPressed(Keyboard.RIGHT)) {
self.position.x += 0.1;
}
}
- Platform
Web.
Hello
The code seems to be correct can you share a nsp file so that i can test the code?
Thanks a lot!
Hello, you can look at my example in this repository. build 0.9.4 (linux) is working perfectly. however the current version 0.98.30 has problems when running and pausing the engine.
https://github.com/CaioWillianMoreira/nunuStudio