vvAve

Question about file paths

Recommended Posts

Hello, I have started tutorial on the Phaser site, page 2 at the moment https://phaser.io/tutorials/making-your-first-phaser-game/part2

Tutorial suggests putting script in index.html instead of separate .js file. I tried doing so and now images won't load, even after changing path to '../assets/image.png'.

I could just skip that, but I feel like I need to figure this out before I go further.

 

Turorial.zip

Share this post


Link to post
Share on other sites

Thanks. I also realized that when using .js file cash gets stuck, so I can't update anything without cleaning it. I guess it is why they put script in html for that tutorial.

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


  • Recently Browsing   0 members

    No registered users viewing this page.