playMaker

Author Topic: Get Sprite[SOLVED]  (Read 2373 times)

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Get Sprite[SOLVED]
« 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?
« Last Edit: September 03, 2018, 01:27:49 AM by jeanfabre »
Available for Playmaker work

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Sprite
« Reply #1 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

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Get Sprite
« Reply #2 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.
Available for Playmaker work

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Sprite
« Reply #3 on: August 31, 2018, 10:04:41 AM »
Hi,

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

Bye,

 Jean

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Get Sprite
« Reply #4 on: August 31, 2018, 12:14:13 PM »
You're the best 8)
Available for Playmaker work