Jump to content

Search the Community

Showing results for tags 'tween motion'.

  • 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 everyone, As the title says I need some advice on how to create dynamic motion. Actually I'd like to create something like this game : http://jointhepod.org/assets/games/AtoB/index.html I already have a system that draw a doted line based on the user input : When the mouse is pressed, I record and store all mouse position if the distance with the previous point if greater than K pixels. When the mouse is released I want my character to follow the path the user just drew. I actually to : var t = game.add.tween(mainChar);for(var i=0; i<points.length;i++){ t.to(points[i], 120, Phaser.Easing.Linear.None);}t.start();Where points is an array of Point objects. The problem is the motion of the sprite is not smooth, quite obvious since I chained the tweens, and I 'm wondering if there is / are clever way(s) to achieve the expected result. Thx, G.
×
×
  • Create New...