Image API

badower

  • Posts: 29
Trying to learn the Image API.
I followed Luyren's tutorial and was able to create the coloured squares as he did.

But having lots of trouble trying to put an Actor image on the screen
After trying many things, I could only accomplish this if I first place the Actor in the scene prior to generating the Actor with Image API blocks.

In the attached screens, the Actor in the top right corner is the one I placed there manually.
The other Actor on the s screen is the one generated with API Image blocks (as per screen shot).
But it just won't appear without placing that Actor somewhere on the screen first.

Really appreciate if you can point out what I'm doing wrong.


Luyren

  • *
  • Posts: 2785
You can only reference an actor if it exists on the scene. Create > grab image > kill, if you only want its image. Or you can use an image from external file.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

badower

  • Posts: 29