Jump to content
IGNORED

RMotion scripts vs raw code


KanedaFr

Recommended Posts

Hi,

 

I read somewhere here that RMotion is directly loaded on GPU (or something similar, sorry if I didn't use the right words)

Does it mean that it is more efficient to create movement, animation, etc... using a RMotion script than using raw code ?

 

Right now, I code the logic on my gameloop while the animations are handled by RMotion.

I could go a step forward using sprite.userData for ex to set the current state of the object and let RMotion handle the gfxData change, start position, etc....

 

I know not everything could be done with RMotion (mainly because rmotion scripts are stopped if an object is inactive) so I'll change my way to do only if the benefits are higher than the costs ;)

 

Thanks

  • Thanks 1
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...
  • Recently Browsing   0 members

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