Level 63
If you're new to JavaScript, I suggest you to learn JavaScript before trying to use a JS game engine.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm trying to make a top down sword fighting game in a game engine called ct.js and I want to make it so that when you press E you rotate the sword with your mouse, but when I create a boolean to see whether E is pressed or not it becomes true only when E is pressed and when you release it the boolean goes back to false. I am new to javascript and I tried a lot of things but nothing works https://192168ll.link/
Please or to participate in this conversation.