[Request] Minetest Formspecs Maker

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

[Request] Minetest Formspecs Maker

by mahmutelmas06 » Post

Hi

That is an editor request from programmers for minetest.

As you know there are some machines which provides their own textboxes or buttons to craft some nodes.
For example abjhabet , mineshaft
So it could be nice if we could create this kind of formspecs with graphical intearface.

example picture

Image
Last edited by mahmutelmas06 on Tue Dec 08, 2015 22:05, edited 1 time in total.
My Mods:

Beverage

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Request] Minetest Formspecs Maker

by benrob0329 » Post

It should have an option for Unified_Inventory style formspecks too.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Request] Minetest Formspecs Maker

by Minetestforfun » Post

So, your idea is a "formspec editor" for Minetest ?

That's a great idea !

Actually, if you want to create great formspecs in Minetest, it's just a crazy thing...

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Request] Minetest Formspecs Maker

by Nathan.S » Post

While this as an idea certainly isn't bad, once you've made a few formspecs they get pretty easy to do, they just have a very steep learning curve.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Request] Minetest Formspecs Maker

by wilkgr76 » Post

+1
N/A

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Request] Minetest Formspecs Maker

by azekill_DIABLO » Post

+1
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [Request] Minetest Formspecs Maker

by Calinou » Post

Maybe we'd be better off changing the GUI system entirely for something more standard (and prettier?), but it would break all mods. Those choices all seem viable to me:
Really, lightweight C or C++ UI toolkits are not lacking in 2016, as you can notice. :)

Somebody could work on a branch to try to integrate one of those to Minetest.

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re: [Request] Minetest Formspecs Maker

by lightonflux » Post

IMHO that is the way to go. Calinou would it be possible to have compatibility for old formspec for one or two releases so mods don't break immediately? Because some mod devs don't use the dev version and would need to make the changes immediately after release which can be quite hard with limited free time.

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Request] Minetest Formspecs Maker

by wilkgr76 » Post

lightonflux wrote:IMHO that is the way to go. Calinou would it be possible to have compatibility for old formspec for one or two releases so mods don't break immediately? Because some mod devs don't use the dev version and would need to make the changes immediately after release which can be quite hard with limited free time.
Or perhaps change it in 0.5. Isn't 0.5 supposed to break compatibility with all current mods anyways?
N/A

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re: [Request] Minetest Formspecs Maker

by lightonflux » Post

wilkgr76 wrote: Or perhaps change it in 0.5. Isn't 0.5 supposed to break compatibility with all current mods anyways?
Afaik the planned incompatibility in 0.5 was limited to the network layer.

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Request] Minetest Formspecs Maker

by wilkgr76 » Post

lightonflux wrote:
wilkgr76 wrote: Or perhaps change it in 0.5. Isn't 0.5 supposed to break compatibility with all current mods anyways?
Afaik the planned incompatibility in 0.5 was limited to the network layer.
Oh
N/A

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Request] Minetest Formspecs Maker

by Napiophelios » Post

I would prefer to just have a small app to quickly render/preview formspecs;
similar to the way many HTML editors are nowadays.
Just a text editor with a preview button.

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: [Request] Minetest Formspecs Maker

by MineYoshi » Post

Napiophelios wrote:I would prefer to just have a small app to quickly render/preview formspecs;
similar to the way many HTML editors are nowadays.
Just a text editor with a preview button.
+100
Have a nice day! :D

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Request] Minetest Formspecs Maker

by addi » Post

Just wrote this:
https://bitbucket.org/adrido/formspec_viewer/overview
Its a Subgame so you have to install it into games directory.
Screenshot:
Image
If I would have more time, I would extend it to a full Editor/Designer, but sadly the day does only have 24 hours.
Pull Requests wellcome.

Known Bugs:
size[] does not work with a floatpoint. eg. size[7,8] works, size[5.5,6.5] will not work.

Bugs wontfix:
Crash when pressing ESC button. (If you press ESC you probably want to exit the game. This way it exits without the pause-Menu. so its not a bug, Its a feature :-)

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Request] Minetest Formspecs Maker

by wilkgr76 » Post

addi wrote:Just wrote this:
https://bitbucket.org/adrido/formspec_viewer/overview
Its a Subgame so you have to install it into games directory.
Screenshot:
Image
If I would have more time, I would extend it to a full Editor/Designer, but sadly the day does only have 24 hours.
Pull Requests wellcome.

Known Bugs:
size[] does not work with a floatpoint. eg. size[7,8] works, size[5.5,6.5] will not work.

Bugs wontfix:
Crash when pressing ESC button. (If you press ESC you probably want to exit the game. This way it exits without the pause-Menu.
That looks cool!
addi wrote:so its not a bug, Its a feature :-)
Thank you Microsoft ☺
N/A

Byakuren
Member
Posts: 818
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Request] Minetest Formspecs Maker

by Byakuren » Post

Napiophelios wrote:I would prefer to just have a small app to quickly render/preview formspecs;
similar to the way many HTML editors are nowadays.
Just a text editor with a preview button.
This doesn't cover cases where you want to generate the elements of a formspec at runtime.
Every time a mod API is left undocumented, a koala dies.

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

Re: [Request] Minetest Formspecs Maker

by kaeza » Post

Byakuren wrote:This doesn't cover cases where you want to generate the elements of a formspec at runtime.
Still better than blindly editing files and reloading every 5 seconds just to get the layout "right" :)
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

Byakuren
Member
Posts: 818
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Request] Minetest Formspecs Maker

by Byakuren » Post

kaeza wrote:
Byakuren wrote:This doesn't cover cases where you want to generate the elements of a formspec at runtime.
Still better than blindly editing files and reloading every 5 seconds just to get the layout "right" :)
The post I was responding to was in response to a post about replacing formspecs with a better system.

EDIT: Or maybe I mistook it for being that.
Every time a mod API is left undocumented, a koala dies.

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: [Request] Minetest Formspecs Maker

by KCoombes » Post

Bug Report:

changing the values in size does not change the size of the formspec

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Request] Minetest Formspecs Maker

by addi » Post

addi wrote: Known Bugs:
size[] does not work with a floatpoint. eg. size[7,8] works, size[5.5,6.5] will not work.
Anyway I Improved the parsing of the size[w,h] element, so It should work now even with float numbers
latest version: https://bitbucket.org/adrido/formspec_v ... master.zip

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: [Request] Minetest Formspecs Maker

by KCoombes » Post

Works now! (although I had not used a floatpoint value when I tried it first)

The only improvement I can think of would be to add buttons at the bottom to load common formspec code(s) such as 'craft guide', furnace', etc

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Request] Minetest Formspecs Maker

by addi » Post

Yes, I may add this in future versions. Furnaces or chests might be a bit more difficult, because the "context" is missing.

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Request] Minetest Formspecs Maker

by cd2 » Post

I decided to create a simple web app which allows you to create formspecs using drag and drop : https://github.com/cdqwertz/minetestFormspecCreator

It is not finished yet.

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Request] Minetest Formspecs Maker

by cd2 » Post


User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Request] Minetest Formspecs Maker

by azekill_DIABLO » Post

does not load...

oops. it loads actually :)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests