Time |
Nick |
Message |
04:41 |
|
ch98 joined #minetest-mods |
08:19 |
|
PilzAdam joined #minetest-mods |
09:45 |
|
nyuszika7h joined #minetest-mods |
12:06 |
|
rubenwardy joined #minetest-mods |
13:13 |
|
nyuszika7h joined #minetest-mods |
14:47 |
|
ecube joined #minetest-mods |
16:45 |
|
rubenwardy_ joined #minetest-mods |
16:56 |
|
nyuszika7h joined #minetest-mods |
17:01 |
|
sfan5 joined #minetest-mods |
17:01 |
|
thexyz joined #minetest-mods |
17:04 |
|
Naked joined #minetest-mods |
17:05 |
|
nyuszika7h joined #minetest-mods |
19:33 |
|
ExcaliburZerp joined #minetest-mods |
19:34 |
ExcaliburZerp |
I'm trying to learn how to use formspecs, but I can't figure it out. Here is my attempt at it:http://codepad.org/Q6d3IImI |
19:35 |
rubenwardy |
formspec = formspec.."button[6.5,.6;.6,.6;fireballs_fireball.png;testing;]" |
19:35 |
rubenwardy |
should be image_button not button |
19:35 |
rubenwardy |
iirc |
19:36 |
rubenwardy |
oh |
19:36 |
rubenwardy |
you need to do neoblocks = {} at the top |
19:36 |
rubenwardy |
is the output the error you get |
19:58 |
ExcaliburZerp |
Here is the currently code that I have, but it causes an error. Code:http://codepad.org/3U740pDD |
19:58 |
|
NakedFury left #minetest-mods |
19:58 |
ExcaliburZerp |
Wait, now it is loading... |
19:59 |
ShadowNinja |
ExcaliburZerp: BTW you can do formspec = "a"<newline>.."b"........ instead of formspec = formspec .. "b" |
20:00 |
ExcaliburZerp |
How? Can you give me an example? |
20:01 |
ExcaliburZerp |
The code also currently doesn't seem to load the coding for the buttons, and size of the formspec. |
20:07 |
ShadowNinja |
ExcaliburZerp: http://codepad.org/lIOBvLRm |
20:09 |
ExcaliburZerp |
Here is what I have, but it causes an error. Code:http://codepad.org/BdHTeqb0 |
20:16 |
ShadowNinja |
ExcaliburZerp: Remove the .. at that line. |
20:16 |
ShadowNinja |
It goes between them, not at the beginning. |
20:17 |
ExcaliburZerp |
So, like this? Code: http://codepad.org/BuCG9pGu |
21:37 |
ShadowNinja |
ExcaliburZerp: Yes, but you can place newlines in between. |
21:39 |
ExcaliburZerp |
Though it doesn't seem to be loading the code for the formspec. |
22:48 |
|
ShadowNinja joined #minetest-mods |
23:04 |
|
ShadowNinja joined #minetest-mods |