Hello Guest

Author Topic: [Request] Some layering options.  (Read 4490 times)

mamamia

  • Guest
[Request] Some layering options.
« on: December 07, 2012, 04:54:39 pm »
Hi,

Just wanted to add a little request to the awesomeness 2dtoolkit just have. Working with 2dtoolkit I find really difficult to layer things on the screen by code and in editor. I think something like layers would make 2dtoolkit greater. For example in code would be nice to do something like GetLayer("MainLayer").AddSprite(position, sprite). In editor it would be nice to add an sprite, etc... to a layer too. Has something like this been requested before? Would it be possible to add this feature in a near future?.

Thanks in advance.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: [Request] Some layering options.
« Reply #1 on: December 08, 2012, 03:11:25 pm »
So by that you mean just a nice way to specify z offsets? Is that correct? This is definitely doable in more than just one way. Maybe a sample class extension could do the job. I've put something in the TODO for this. I'll investigate to see if there is a good solution to this.

ps If anyone has any ideas/suggestions on this, please let post in this thread.
« Last Edit: December 08, 2012, 03:14:09 pm by unikron »

mamamia

  • Guest
Re: [Request] Some layering options.
« Reply #2 on: December 09, 2012, 10:46:23 pm »
Ex2d has some great features about this. If you want you could have a look at it.

Thanks for listening to the users mate. You rock.