Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

[HELP] The weirdest behavior with physics


picsou
 Share

Recommended Posts

Hi, i witnessed the weirdest behavior while following the make your own phaser game tutorial.

At one point in the tutorial (between parts 5 and 6 ) it is explained how to make the player collide with the ground instead of going through it.

Basically, the weird thing is that i copy/pasted the whole code from part 6 (not only the script, but the whole html page) in the part5.html file and the player still goes through the ground when i access part5.html, although it works as intended when i access part6.html. I wonder how can the exact same code produce different behaviors.

This happened using vivaldi browser, and the code works as intended when i try it with chrome and firefox.

 

I am very intrigued by this, can someone please explain ?

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...