Jump to content

Search the Community

Showing results for tags 'animation speed'.

  • 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 3 results

  1. Hi guys, Recently I intend to keep my game running at the approximately same speed while the player switch to another tab, it means I need to keep my movieClip(animatedSprite) and Tween object(I am using GreenSock) running while losing tab focus, since RAF will stop, I use setInterval to keep updating PIXI.ticker.shared. const ticker = PIXI.ticker.shared; setInterval(() => { ticker.update(); }, 20); However, setInterval's minimum is limited to around 1000ms when the tab focus is blur, so my movieClip‘s update rate is the same, which is much slower. Now, i am thinking to record the deltatime and set the movieClip to specific frame accordingly on each update, then have to deal with the callback like onRepeat or onComplete, Is there a simpler way to achieve this?
  2. Hi, Anyone is facing an issue where the animation speed of the sprite is slower when the game is resize bigger and faster when the game is resized smaller? Anyway to solve this issue? I'm using this code to add my animation. this.animations.add('idle', [0, 1, 2, 3, 4, 5, 6, 7,6,4,2], 35, true); Thanks.
  3. Hello, I hava an issue with animation speed since it is working differently in different devices. I have 25 frames and if animationSpeed=1 its too quick for my laptop but works ok on slower devices. If I set animationSpeed to 0.5 its ok laptop but too slow on mobiles. Is animationSpeed based on FPS? Is it possible to make it same on other devices? Thanks in advance
×
×
  • Create New...