wilds

I want to create my CSG editor(runegear.tech) in Java and I love the way Spine works, looks and feels.

What framework is used for Spine for the GUI and is the skin available? or is there a library available that has the same widgets?
wilds
Сообщения: 13

Nate

Spine is built using libgdx, which is OSS written by badlogic, me, and hundreds of other contributors. The skin is not available of course, but libgdx comes with a default skin and creating your own isn't hard. The basic widgets are provided in scene2d.ui, the rest are application specific. Adding new widgets is easy.
http://libgdx.badlogicgames.com/
https://github.com/libgdx/libgdx/wiki/Scene2d
https://github.com/libgdx/libgdx/wiki/Scene2d.ui
https://github.com/libgdx/libgdx/wiki/Skin

One of the most important parts of scene2d is sane layout using tables, which you won't find in any other UI toolkit. :)
https://github.com/libgdx/libgdx/wiki/Table
Аватара пользователя
Nate

Nate
Сообщения: 7339

wilds

Thanks Nate!

---

Are most Spine controls custom made?
Would love to have some of those controls in libgdx Scene2D UI.
wilds
Сообщения: 13

Nate

Which ones in particular?
Аватара пользователя
Nate

Nate
Сообщения: 7339

wilds

When i get home I will sum them up and post them here.

---

The application is also very responsive which is my #1 goal for an editor.

Nice to have controls/features:
DockingContainer
Main form window and top bar.

How are all the animations done?
wilds
Сообщения: 13

Nate

Docking views is a bit complex, you'd need to implement that yourself. The rest is standard UI stuff. For animations look at scene2d actions.
Аватара пользователя
Nate

Nate
Сообщения: 7339

wilds

I was wondering are you using any external libraries like visUI?
wilds
Сообщения: 13

Raeleus

VisUI is built on top of Scene2D.UI. It's great if you want a similar appearance to apps like VisEditor and libGDX Texture Packer GUI. However, if you want to make your own unique interface, I'd suggest staying with Scene2D.UI. VisUI has too many settings baked into the code to really customize. Just learn to create your own UI skins and widgets. Spine would not be dependent on a 3rd party library like that.

I created some example interfaces that might be of an interest you. I also wrote Skin Composer to make UI design in LibGDX a bit easier.
Raeleus
Сообщения: 13

wilds

Thanks guys!

I think I got all I need to port my level editor from C# to Java!
wilds
Сообщения: 13


Вернуться в Off-topic