Jump to content

phaser documentation where do you find the good information ?


Recommended Posts


i can't find the solution to have all the information to make a tween by scale :

i have the choice by this example :http://phaser.io/examples/v2/arcade-physics/body-scale

but if i want more information by the documentation it's completely malajusted, long and not illustrated with syntax examples  : http://phaser.io/docs/2.6.1/Phaser.Tween.html

for example the yoyo effect where do you have an example of the syntax ? expect by the net i can't use it with the documentation...

if i search via the "search doc" it is also  maladjusted http://phaser.io/learn/chains

if you want to find some explanation good described about an api with example and significations of syntax where do you find them ?


On pixi.js it is clear and well written : http://pixijs.github.io/docs/PIXI.Ellipse.html

i love phaser.js but i must recognize that the documentation is not a good point for me ...what do you think about it ?



Link to comment
Share on other sites

I don't see what's wrong with the Phaser documentation. Did you look at the Tween methods? http://phaser.io/docs/2.6.1/Phaser.Tween.html#to explains very clearly how to tween the properties of an object to specified values. If you want a tween to yoyo forever, you can pass -1 as the repeat value and true as the yoyo value, as explained in the documentation. The body-scale example you linked also shows how to tween scale and yoyo it, which seems to be exactly what you want. Maybe I'm misunderstanding your question.

Link to comment
Share on other sites


If you look in the Phaser Chains original website:


There are many examples where the scale is tweening:




(Note there I search for tween*scale)


In addition I recommend to you to check out Phaser Editor (http://phasereditor.boniatillo.com) :)

It has Chains implemented native and you can create a project with the Phaser Examples, so you can modify it and test the changes. Also the Phaser Doc is indexed offline and you can perform quick searches in all the doc text. (Plus all the other features of the editor)

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...