Sign in to follow this  
picsou

[HELP] The weirdest behavior with physics

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 ?

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.