Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Fat Pug Studio on August 30, 2018, 12:21:38 PM

Title: Get Sprite[SOLVED]
Post by: Fat Pug Studio on August 30, 2018, 12:21:38 PM
Hi,

could we get a get sprite action? Getting a texture and saving it as sprite is a bit cumbersome, and i'm not quite sure how to store sprites to do it myself, playmaker documentation is empty on that -_-

Of course, i'm trying to avoid that dreaded get property.

Is FsmSprite[] a thing yet?
Title: Re: Get Sprite
Post by: jeanfabre on August 31, 2018, 04:35:03 AM
Hi,

 yes, the latest version of PlayMaker has now a Sprite variable available in your Fsm.

 where do you want to get the Sprite from?

 Bye,

 Jean
Title: Re: Get Sprite
Post by: Fat Pug Studio on August 31, 2018, 06:02:28 AM
From the game objects spriterenderer, so i guess just a quick mod of set sprite would to the trick.
Title: Re: Get Sprite
Post by: jeanfabre on August 31, 2018, 10:04:41 AM
Hi,

 yes, I made it though, it's on the Ecosystem, called SpriteRendererGetSprite.

Bye,

 Jean
Title: Re: Get Sprite
Post by: Fat Pug Studio on August 31, 2018, 12:14:13 PM
You're the best 8)