[Request] Minetest Formspecs Maker

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

[Request] Minetest Formspecs Maker

by mahmutelmas06 » Tue Dec 08, 2015 20:46

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: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: [Request] Minetest Formspecs Maker

by benrob0329 » Tue Dec 08, 2015 21:33

It should have an option for Unified_Inventory style formspecks too.
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Request] Minetest Formspecs Maker

by Minetestforfun » Wed Dec 09, 2015 16:03

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: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Request] Minetest Formspecs Maker

by Nathan.S » Thu Dec 10, 2015 04:06

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.
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: [Request] Minetest Formspecs Maker

by wilkgr76 » Thu Apr 14, 2016 08:58

+1
I do not care.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Request] Minetest Formspecs Maker

by azekill_DIABLO » Sun Apr 24, 2016 10:28

+1
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Request] Minetest Formspecs Maker

by Calinou » Sun Apr 24, 2016 10:39

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

Re: [Request] Minetest Formspecs Maker

by lightonflux » Sun Apr 24, 2016 12:24

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.
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: [Request] Minetest Formspecs Maker

by wilkgr76 » Sun Apr 24, 2016 23:19

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?
I do not care.
 

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

Re: [Request] Minetest Formspecs Maker

by lightonflux » Mon Apr 25, 2016 00:02

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.
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: [Request] Minetest Formspecs Maker

by wilkgr76 » Mon Apr 25, 2016 04:34

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
I do not care.
 

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

Re: [Request] Minetest Formspecs Maker

by Napiophelios » Mon Apr 25, 2016 05:35

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: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: [Request] Minetest Formspecs Maker

by MineYoshi » Mon Apr 25, 2016 20:56

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
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: [Request] Minetest Formspecs Maker

by addi » Tue Apr 26, 2016 05:45

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 :-)
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: [Request] Minetest Formspecs Maker

by wilkgr76 » Tue Apr 26, 2016 06:58

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 ☺
I do not care.
 

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Re: [Request] Minetest Formspecs Maker

by Byakuren » Tue Jun 21, 2016 03:26

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
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: [Request] Minetest Formspecs Maker

by kaeza » Wed Jul 20, 2016 22:53

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Re: [Request] Minetest Formspecs Maker

by Byakuren » Thu Jul 21, 2016 00:20

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: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Request] Minetest Formspecs Maker

by KCoombes » Thu Jul 21, 2016 14:36

Bug Report:

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

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: [Request] Minetest Formspecs Maker

by addi » Thu Jul 21, 2016 14:46

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: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Request] Minetest Formspecs Maker

by KCoombes » Thu Jul 21, 2016 15:16

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: 605
Joined: Thu Sep 20, 2012 03:16

Re: [Request] Minetest Formspecs Maker

by addi » Thu Jul 21, 2016 15:35

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: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Re: [Request] Minetest Formspecs Maker

by cd2 » Sun Jul 24, 2016 10:47

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: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Re: [Request] Minetest Formspecs Maker

by cd2 » Mon Jul 25, 2016 09:55

 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Request] Minetest Formspecs Maker

by azekill_DIABLO » Mon Jul 25, 2016 12:09

does not load...

oops. it loads actually :)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

Re: [Request] Minetest Formspecs Maker

by BrandonReese » Thu Jul 28, 2016 18:03

I started a mod that lets you build formspecs more programatically instead of memorizing the formspec elements just concatenating a bunch of string.

viewtopic.php?f=9&t=15244
 


Return to Minetest-Related

Who is online

Users browsing this forum: No registered users and 1 guest