Jump to content

Changes in tileSprite for game map not taking effect immediately


eldringoks1
 Share

Recommended Posts

Phaser is really challenging for me but I want to learn in more than anything in the world! (making bacon included).

 

I am trying to make stages for my space shooter game which is in this repo https://github.com/jschomay/phaser-demo-game

But, when i this part with another tileSprite for a map, it doesnt change, not until a long time.

var starfield;function preload(){game.load.image('starfield', 'assets/newMap.png');} function create() {        starfield = game.add.tileSprite(0, 0, 800, 600, 'starfield');
    
 
   

I noticed this when in my development I encountered an error and anything i did didnt change anything. not until the next day when I restarted my laptop and boom, It was working fine again; changes included.

 

I am using an Apache server by the way. 

Link to comment
Share on other sites

  • 2 weeks later...
 Share

  • Recently Browsing   0 members

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