mezerotm

Lacking Tween Documentation on callbacks

Recommended Posts

I'm fairly new to phaser, been using for about 4 days now, so I have no knowledge of phaser 2 or CE. just phaser 3.

I was going over this tutorial which is listed on phaser.io 's website for learning Build a HTML5 game like “Knife Hit” with Phaser 3 using only tweens and trigonometry and in it Emanuele uses tweens, so obviously having no knowledge of tweens I went over to the documentation, to try and figure exactly what they were trying to do. it all checked out fine. But when I saw the code reference 'onComplete' poured over the docs and code for a good bit trying to fine where on earth this was referenced, I finally found out it vaguely referenced it here but doesn't at all talk about the possible callbacks that are available, without having to look at the code directly. 

I would be kinda interested in knowing if I added documentation myself, and did a pull request would that be accepted with open arms? 
and if so how would I go about doing that (by this I mean are there some standards or guides already set in place for PR's)

 

If you have been in this situation before in phaser where you felt a specific part of phaser just wasn't well documented enough, please tell me about it, so hopefully I can know where the "trouble" spots are

Share this post


Link to post
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.

Guest
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.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.