← Return to game
Log in with itch.io to leave a comment.
Hey, great game! I've been struggling with my code on my game. I cant make it so when you die you respawn on your current level. It just sends you to the start of the game. Can you help, or share your code please?
You need to pass your level data to the scene. Then after die you just need to run this scene again like k.go('game', {'level': levelData})
Here is pretty basic code for multi level platformer: https://kaboomjs.com/play?demo=platformer
If you need more help please use Kaboom Discord server. Maybe someone will have some more precise examples.
Good, I like that it has integration with Itch.io
Things to improve
Thanks, currently I paused development on this project because of lost motivation. Maybe I'll continue after some time. :(
The things I hate:
- Platformer jumping
- Platformer double jumping
... but this one is good.
Good work, 10/10
← Return to game
Comments
Log in with itch.io to leave a comment.
Hey, great game! I've been struggling with my code on my game. I cant make it so when you die you respawn on your current level. It just sends you to the start of the game. Can you help, or share your code please?
You need to pass your level data to the scene. Then after die you just need to run this scene again like k.go('game', {'level': levelData})
Here is pretty basic code for multi level platformer: https://kaboomjs.com/play?demo=platformer
If you need more help please use Kaboom Discord server. Maybe someone will have some more precise examples.
Good, I like that it has integration with Itch.io
Things to improve
Thanks, currently I paused development on this project because of lost motivation. Maybe I'll continue after some time. :(
The things I hate:
- Platformer jumping
- Platformer double jumping
... but this one is good.
Good work, 10/10