Jump to content

Search the Community

Showing results for tags 'pause p2 phaser tween'.

  • 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. I want to be able to tween my pause menu when I hit pause, but it seems that if game.pause = true, tweens do not work anymore. My game is p2 physics based, and I got around the problem py using game.physics.p2.paused. All was fine, but now I am using timed events for kinematic objects, and it is not working properly anymore (as the time keeps running in the background while game is 'paused'). I have my timed events like this: this.game.time.events.add(Phaser.Timer.SECOND * moveInfos[index].timetomove, this.moveToPoint, this).autoDestroy = true; So is it possible to pause the game and still be able to have tweens, or another way to solve this problem would be to individually pause all user setted timed events? Is there an array of timeouts set by the user somewhere to be find? Or is this possible yet?
×
×
  • Create New...