Jump to content

phaser documentation where do you find the good information ?


espace
 Share

Recommended Posts

hi,

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 ?

WHY ARE THE DOCUMENTATION SO BAD WRITTEN ?

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

@espace3d

If you look in the Phaser Chains original website:

http://phaserchains.boniatillo.com

There are many examples where the scale is tweening:

 

phaserchains_tween_scale.png

 

(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

 Share

  • Recently Browsing   0 members

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