My first game()

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.

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.

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.

1 Like