Hi
I debugged my game by adding physical ghosts .
Thanks to this, I was able to set up a reset function for my player and enemies.
I also rewrote my character class using a generic character that can then be adapted into a player or an enemy. All of this can be configured via a config file. Much easier to maintain and evolve over time .
Hi
Success to make a dynamic camera that follows the player
I just have to transpose this in my gameā¦easy when you cut the code well
2 Likes
Hi
This version is better, because in my case with the previous example I could not transpose the code with my instances. With this code, it works no matter which final object you want to track => just two functions to copy-paste
Enjoy
1 Like
Hi
Iām almost thereā¦but still a lot of little bugs to solve
3 Likes
Hi
I have progressed since then by correcting a lot of little problemsā¦
The problem is that Iām stuck with a problem of shadows that shake, see my first post. Thank you if you pass by there to come to take a look, perhaps you have the solutionā¦
Hi
Iām starting my prototype from scratch because I have a lot of bugs (oimo.js).
When my first cube touches another cube, it falls and then resurrects to return to its starting position.
After several iterations (when you open the codepen on the website and by me on my desktop) either it falls indefinitely or it does not return to its correct position (0,4,0). What is the error in my code?
Thanks for your helpā¦
1 Like