Ask coding questions

← Back to all posts
Why isn't the game showing up?
h
p1ckl3

I have been working on a game in Kaboom and have had this issue for a while. I have looked at every line in search for an error, But none were found. Anyone know whats happening and how I can get the board on the screen?

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
p1ckl3
Comments
hotnewtop
Coder100

the kaboomjs language makes it so you don't have to type scene('game', start, etc. If you want to type those things, you are better off creating the game in something like HTML manually. Instead, all you have to do is

in your main.js instead. No need for scene, no need for start, just code!

p1ckl3

Thank you @Coder100!

Coder100
p1ckl3

Sorry I have one more quick question @Coder100: So I could delete scene and run everything by itself?

Coder100

yep, just type in whatever you have inside the scene function and that's all you need, kaboom handles the rest for you in it's 'linker'! @okalisl

p1ckl3

Thanks for you help @Coder100!

Coder100

np! Happy coding! @okalisl