Jump to content

Phaser API


Recommended Posts

Greetings fellow coders , 

I recently started to use the phaser . Iam having trouble understand the API of the framework .(Iam new to js btw) . 

I will give you an example what i mean , i was following a tutorial about changing the scale of a sprite. The teacher wrote down sprite.scale.setTo(1); , and because i want to learn things i went through the phaser api -> sprites -> properties and i was searching for scale property but i couldn't find it . Its nowhere , and then after a lot of time i found out that phaser is inherits a lot of properties from PixieJs so i found it here http://www.goodboydigital.com/pixijs/docs/classes/Sprite.html#property_scale  .  So what should i do ? I mean how iam gonna learn the phaser framework when the manual is incomplete? Should i use both docs from pixie and phaser ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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