Jump to content

Tween scale? (SOLVED)


Ninjadoodle
 Share

Recommended Posts

Hi @SebastianNette

 

Thank you for your help :)

 

I still can't seem to get the right syntax to get this working ...

 

I can tween the width: and height: but I tried writing up the scale.x in many different ways and can't get it to work.

 

I tried looking at the tween docs (the tween engine, panda's was based on, but can't find any info).

Link to comment
Share on other sites

Oh I see! I'm trying to write my tweens inline because I have a lot of them and it makes things simpler.

 

game.scene.addTween(infoFind1, {x:300}, 250, {delay:200, easing:game.Tween.Easing.Back.In}).start();

 

But I think my way of writing them might conflict with the way the engine works.

From your example, it looks like I have to set the property I'm tweening before a do so.

 

I can't think of a way to write up your example in the format I'm using.

 

Thank you again for your help! I really appreciate it :)

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.

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

  • Recently Browsing   0 members

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