Whenever i try to play my game the preview screen just turns black. The game that im making is about getting chased around. heres what happens and what my code is. (the game is 3d)
Press F12 in preview and see if there are any error messages in the console log.
If there are no errors, run the game in Debug Mode (Shift-F4) and check everything - for example, the position of your character, layer visibility etc.
Thanks but im on chromebook and i dont have the F12 key. I tried to debug it but it didnt show anything.
Develop games in your browser. Powerful, performant & highly capable.
community.canvaslms.com/t5/Troubleshooting/Using-function-keys-on-my-Chromebook/ta-p/446131
And what do you mean when you say the debug mode doesn't show anything? Anything wrong or it doesn't show up at all?