Checkbox, Lists, Dropdowns etc

Basseman

  • Posts: 208
Hello

Is there a way to implement any of the above into stencyl ?
Trying to create something that is not a game in stencyl  8)

It's been a while but i'm back to this lovely software again.

Best Regards

// Andreas

Luyren

  • *
  • Posts: 2417
Checkbox can be an actor where you switch its animation based on something.
Lists are just lists. Loop through a list attribute and draw everything or part of it.
Dropdowns could be just a list that appears when you click or select something.

All of those are possible. They have their own set of challenges though, depending on the amount of items you are displaying on lists and dropdowns.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Basseman

  • Posts: 208
Hi, yes that what i was afraid of.. Would be nice with "native" support for those controls.

// Andreas

Checkbox can be an actor where you switch its animation based on something.
Lists are just lists. Loop through a list attribute and draw everything or part of it.
Dropdowns could be just a list that appears when you click or select something.

All of those are possible. They have their own set of challenges though, depending on the amount of items you are displaying on lists and dropdowns.

merrak

  • *
  • Posts: 2642
At one point there was a lot of interest in integrating HaxeUI with Stencyl as an extension. I looked into it last year and it wasn't quite ready. It might be a good option now. Since then I've written my own UI interface from scratch and it serves my needs, but HaxeUI may be worth another look now.

Basseman

  • Posts: 208
That would be awsome, let me know if i can be of any assistans.

Cheers

// Andreas


At one point there was a lot of interest in integrating HaxeUI with Stencyl as an extension. I looked into it last year and it wasn't quite ready. It might be a good option now. Since then I've written my own UI interface from scratch and it serves my needs, but HaxeUI may be worth another look now.

merrak

  • *
  • Posts: 2642
HaxeUI isn't something I plan to deal with anytime soon. Writing my own UI code from scratch worked really well for my needs. If you want to go that route and want a head start I'll share the code I have. I find it easier to write my own code from the ground up than learn how someone else's works, but the offer is there. I don't have checkboxes, dropdowns, or lists, but I do have the framework for them. I have a widget system, just not those particular three widgets.

This is what I do have:

Menus: http://www.anorthogonaluniverse.com/misc/vallas/2018-03-30-01s.png

Lists with clickable elements: http://www.anorthogonaluniverse.com/misc/vallas/2018-03-30-02s.png

Textboxes and buttons: http://www.anorthogonaluniverse.com/misc/vallas/2018-03-30-03s.png

Image lists: http://www.anorthogonaluniverse.com/misc/vallas/2018-03-05-02.png

Example block usage for setting these up:
1. http://www.anorthogonaluniverse.com/misc/vallas/2018-02-03-03.png
2. http://www.anorthogonaluniverse.com/misc/vallas/2018-02-03-04.png

Basseman

  • Posts: 208
Wow, greatly appriciated.
Will sink my teeth into this very soon, again thanks for sharing.

Best Regards



HaxeUI isn't something I plan to deal with anytime soon. Writing my own UI code from scratch worked really well for my needs. If you want to go that route and want a head start I'll share the code I have. I find it easier to write my own code from the ground up than learn how someone else's works, but the offer is there. I don't have checkboxes, dropdowns, or lists, but I do have the framework for them. I have a widget system, just not those particular three widgets.

This is what I do have:

Menus: http://www.anorthogonaluniverse.com/misc/vallas/2018-03-30-01s.png

Lists with clickable elements: http://www.anorthogonaluniverse.com/misc/vallas/2018-03-30-02s.png

Textboxes and buttons: http://www.anorthogonaluniverse.com/misc/vallas/2018-03-30-03s.png

Image lists: http://www.anorthogonaluniverse.com/misc/vallas/2018-03-05-02.png

Example block usage for setting these up:
1. http://www.anorthogonaluniverse.com/misc/vallas/2018-02-03-03.png
2. http://www.anorthogonaluniverse.com/misc/vallas/2018-02-03-04.png