Jump to content

Search the Community

Showing results for tags 'tween canvas android mobile'.

  • 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. Hi, i work on a mobile game made with Phaser 2.6.2 and Cordova. i want to do a tween on group children : var game = new Phaser.Game(window.innerWidth, window.innerHeight, Phaser.AUTO, 'game'); function onCardClick(sprite){ game.add.tween(sprite.scale).to({x : 0}, 100, "Linear", true, 0, 0, false); } myGroup.inputEnableChildren = true; myGroup.onChildInputDown.add(onCardClick, this); It works perfectly on browser, with Webgl rendering. But on Android device (with running by cordova), with canvas rendering, the tween is not shown, only a delay and my sprite.scale is set to 0 without any tween. I tried to force Webgl on my device (with this tip) and the tween is working... I am surprise that some simple tweens or animations are not working in CANVAS mode on mobile, do you know if it is normal ? (i tried to set the game with Phaser.CANVAS but it does not work either) thanks
×
×
  • Create New...