Z-Index Extension [Now part of Stencyl 3.2+]

captaincomic

  • *
  • Posts: 6109
It would still work, but then you'd need to keep the extension, or replace the extension blocks with the new blocks.
If you don't need it urgently, it's probably easier to wait.

ahmadoweda

  • Posts: 307
I don't know when exactly 3.1 will be released, and I really need it, it's a great extension btw, thanks a lot for sharing it :)

captaincomic

  • *
  • Posts: 6109
Add to the normal palette.
Okay, they're in now :) I added them to Actor->Draw->Layer (z-order)

I don't know when exactly 3.1 will be released, and I really need it, it's a great extension btw, thanks a lot for sharing it :)
No prob. I'll leave the extension up until 3.1 is out.

« Last Edit: April 25, 2014, 05:57:27 am by captaincomic »

dripple

  • Posts: 748
Hm, where do I add the help text to get rid of the "Missing ..." warnings?

Jon, by moving to the core, do you mean to auto-include the extension like the Tile API, or to add the blocks to the normal palette?
Add to the normal palette.
Can one please REMOVE this error message? I am not interested in this messages, and if I keep the LOG viewer open, I floods the viewer all the time.

btw. Thanks for the new blocks, I LOVE THEM!
Sure, my games won't get better with all the new features of Stencyl.
But I do have more fun creating bad ones.


MayazCastle Keeper

LePoulpe

  • Posts: 181
Thank you for this very useful extension captaincomic !

Do you know if it's possible to set a sub-layer order within the layer ?
To manage finely  the drawing order of actors within a layer.
Something like the existing block to send actor to layer with ID (cf screenshot)

Something like that :
Move actor "self" to sub-layer with "ID" within the layer

captaincomic

  • *
  • Posts: 6109
Ah, yes, I can add such a block too.

captaincomic

  • *
  • Posts: 6109
I added a "set z-index within the layer" block to the core palette. I won't add to the extension now, since it will be obsolete soon anyway. If you need that functionality now, I can give you the code.

LePoulpe

  • Posts: 181
I added a "set z-index within the layer" block to the core palette.
Thanks it's a great feature.
No need the code if it's added to core palette.