My first game()


#1

https://playcanvas.com/project/519205/overview/firstplatform

I’m not sure which link to send, the overview, editor, or game?

How does everything look(the code is probably pretty messy, how can i clean it up)?
What development concepts should I improve next?

A and D to move, UP to jump.


#2

This is your launch link :
https://launch.playcanvas.com/568860?debug=true
If your publish it will be better .
And you really need a replay function .


#3

Thank you. Does playcanvas have any replay functions? Or would i have to use the pc.loadSceneHierarchy? Since I only have one scene it would be nice if I could just reset the current hierarchy.


#4

No you have to implement this yourself as it’s really application-specific. When I write scripts I usually write a reset function as well from the beginning as it makes stuff easier as the game becomes more and more complicated.