
- Easy JavaScript Game Development with Kaboom.js (Mario, Zelda, and Space Invaders) - Full Course
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Simon
this kind of games should end with the Game Over! text, the score and at least a reload button/link that allow to players keep playing. I was trying but until now I haven't found the way to add the last part. I need to keep reading about the framework
add([text(-Game Over!-,14), origin('center'), pos(420, 120)])
add([text(-Your score was: -, 12), origin('center'), pos(420, 140)])
add([text(score, 32), origin('center'), pos(width()/2, height()/ 2)])
reply
this kind of games should end with the Game Over! text, the score and at least a reload button/link that allow to players keep playing. I was trying but until now I haven't found the way to add the last part. I need to keep reading about the framework
add([text(-Game Over!-,14), origin('center'), pos(420, 120)])
add([text(-Your score was: -, 12), origin('center'), pos(420, 140)])
add([text(score, 32), origin('center'), pos(width()/2, height()/ 2)])
reply
Life
Is there a way to be able to get the space invader game and transfer it to visual code so that I can deploy it onto portfolio to show others? I know that you can download the game as a ZIP and then open it on the desktop and then drag the folder into VS... but when i copy the path and check it out it comes up with errors and cant fetch the data...... can anyone help me out?
reply
Is there a way to be able to get the space invader game and transfer it to visual code so that I can deploy it onto portfolio to show others? I know that you can download the game as a ZIP and then open it on the desktop and then drag the folder into VS... but when i copy the path and check it out it comes up with errors and cant fetch the data...... can anyone help me out?
reply
Larry
Is there a support forum for Kaboom or Replit - I'm not sure what this issue is? It seems this tutorial is already out of date because I've ran into several issues which I've had to change in the code. Now I'm adding the -collides- function and when I run it's giving me -Error: h._checkCollisions is not a function-. Nothing comes up in Google for that error.
reply
Is there a support forum for Kaboom or Replit - I'm not sure what this issue is? It seems this tutorial is already out of date because I've ran into several issues which I've had to change in the code. Now I'm adding the -collides- function and when I run it's giving me -Error: h._checkCollisions is not a function-. Nothing comes up in Google for that error.
reply
David
This is absolutly outdated just after 4 months.
Multiple functions and properties have been eliminated and deprecated on the last kaboomjs update and is almost impossible follow this tutorial with the new version, as everything breaks and u need to keep searching the new functions by your own.
reply
This is absolutly outdated just after 4 months.
Multiple functions and properties have been eliminated and deprecated on the last kaboomjs update and is almost impossible follow this tutorial with the new version, as everything breaks and u need to keep searching the new functions by your own.
reply
Larry
I'm following along. I'm at about 22:00 where we run the level screen. I'm getting ERROR: level symbol def must be a function returning a component list. I Google for that message and get nothing. I have the code correct. Is that a result of the current Kaboom version?
reply
I'm following along. I'm at about 22:00 where we run the level screen. I'm getting ERROR: level symbol def must be a function returning a component list. I Google for that message and get nothing. I have the code correct. Is that a result of the current Kaboom version?
reply
Steve
How do a spawn a new object relative to the position of an existing object? The only thing I can get to work is gameLevel.spawn('x', obj.gridPos.sub(0, 0)) but this seems to be the starting grid position of obj, if the object has moved that's not the current position.
reply
How do a spawn a new object relative to the position of an existing object? The only thing I can get to work is gameLevel.spawn('x', obj.gridPos.sub(0, 0)) but this seems to be the starting grid position of obj, if the object has moved that's not the current position.
reply
Joseph
wow I can't even get addLevel to work:
addLevel([
' ',
' - ',
' ',
'xxxxx',
],
-
width: 40,
height:40,
'x' : [sprite('ground')]
-)
It gives me this error:
ERROR: level symbol def must be a function returning a component list
reply
wow I can't even get addLevel to work:
addLevel([
' ',
' - ',
' ',
'xxxxx',
],
-
width: 40,
height:40,
'x' : [sprite('ground')]
-)
It gives me this error:
ERROR: level symbol def must be a function returning a component list
reply
Matt
Does anyone know why my sprites frequently fall through 'solid()' surfaces? I could run the same code 5 times, land on the ground once, and fall through the ground the other 4 times.
I've tried using different sprites as both the player and the ground surface.
reply
Does anyone know why my sprites frequently fall through 'solid()' surfaces? I could run the same code 5 times, land on the ground once, and fall through the ground the other 4 times.
I've tried using different sprites as both the player and the ground surface.
reply
Island
Well I guess this kaboom reduces a lot of the boilerplate. But is there a way to get direct access to the html5 canvas object kaboom.js uses, so you also still have fine tune control when you want it?
reply
Well I guess this kaboom reduces a lot of the boilerplate. But is there a way to get direct access to the html5 canvas object kaboom.js uses, so you also still have fine tune control when you want it?
reply
Sattwik
Is there any way we can spin this up on our local machine? I tried the steps they show on their official website but it always gives an error -Uncaught TypeError: kaboom is not a function-
reply
Is there any way we can spin this up on our local machine? I tried the steps they show on their official website but it always gives an error -Uncaught TypeError: kaboom is not a function-
reply
Add a review, comment
Other channel videos















