Jump to content

Search the Community

Showing results for tags 'respawn'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. as you can see here in my demo game http://test.xapient.net/phaser/tilemap/ if you die (touch a block with spikes or just fall of the screen) you will respawn.. actually it will just restart the current game state - this is just a simple line of code: game.state.start('start', true, true);true,true should clear all the cache.. right? (i thought this should provide a clean and fresh restart) i also remove global timer events to be sure nothing runs anymore.. but still.. i didn't see it when testing the game on my desktop (although if you try it on a 4 year old machine and you die a few times you will see it nevertheless - because it gets slower every time) if you test it on a tablet you'll see it after the first respawn.. it is unplayable slow.. please help! what did i miss ? something seems to be still running or initialized more than once.. thank you!
×
×
  • Create New...