ct-js / ct-js

Ct.js is a desktop game engine that makes learning programming fun and game development easy by its visual editors and well-documented code library
https://ctjs.rocks/
MIT License
1.67k stars 128 forks source link

There's no ct.mouse.clear() function #112

Closed edumaxsantos closed 5 years ago

edumaxsantos commented 5 years ago

Describe the bug The console shows an error saying there's no ct.mouse.clear() function when you click on Start.

To Reproduce Steps to reproduce the behavior: Just followed https://docs.ctjs.rocks/tut-making-shooter.html#adding-player-s-movement and it already stops working when trying to Start the game.

Expected behavior The game should just work, but it keeps on an empty screen with an error message on the console.

Versions:

CosmoMyzrailGorynych commented 5 years ago

I'll roll out a fix shortly; for now, you can continue the tutorial by disabling mouse.legacy and enabling the regular mouse in your catmods. The problem lies in the fact that ct re-applies the conversion again once you re-open the project.