Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

GUI Tutorials

modloader forge 1.2.5

  • Please log in to reply
81 replies to this topic

#1

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 20 July 2012 - 04:15 PM

Alright so I was looking for a good GUI tutorial a while ago, but I could not find one, nor could I figure it out.
so now that I know how to do it, I figure I would make a tutorial on how to do it.

Please note that these tutorials solely rely on Minecraft 1.2.5, ModLoader 1.2.5, and Minecraft Forge, or you could use FML (Which is way better).

Alright so let's begin:

Example GUI:
Spoiler:

Adding Buttons To Example GUI:
Spoiler:

Adding A Function To The New Button:
Spoiler:

Adding A Background:
Spoiler:

Edited by Asyncronous, 31 July 2012 - 12:46 AM.


Register or log in to remove.

#2

MincraftWero
    MincraftWero

    Lapis Lazuli Collector

  • Curse Premium
  • Curse Premium
  • 1066 posts
  • Location: Veracruz, Mexico
  • Minecraft: MinecraftWero
  • PSN:IsaacTobalina

Posted 20 July 2012 - 09:01 PM

wow really nice tutorial ;)
and you are a girl that knows how to make mods and tutorial please marry mePosted Image
Posted Image

#3

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 20 July 2012 - 09:17 PM

lol, i still haven't finished everything i wanted to get to :)

#4

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 20 July 2012 - 09:41 PM

alright so i fixed everything that i thought was giving me issues at the moment :), still need to finish things though :(

#5

Hilmars
    Hilmars

    Redstone Miner

  • Members
  • 629 posts
  • Location: ‍‍‍‍‍‍‍‍‍‍
  • Minecraft: ‍‍
  • Xbox:‍‍

Posted 20 July 2012 - 09:55 PM

Just noticed this tutorial. Funny how you made a tutorial on guis and on dimensions: those were exactly the tutorials I was looking for.
Still having troubles with getting a complex gui to work: it's pretty much like a crafting table except you need more than one item per slot (kinda like RedPower's Alloy Furnaces) and it requires fuel. The time it takes to get the output should also vary depending on the inputs and the type of fuel. It also needs to be able to output more than one item for a specific input.
Challenge accepted.

#6

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 21 July 2012 - 01:59 AM

View Postesgnrjnjgu, on 20 July 2012 - 09:55 PM, said:

Just noticed this tutorial. Funny how you made a tutorial on guis and on dimensions: those were exactly the tutorials I was looking for.
Still having troubles with getting a complex gui to work: it's pretty much like a crafting table except you need more than one item per slot (kinda like RedPower's Alloy Furnaces) and it requires fuel. The time it takes to get the output should also vary depending on the inputs and the type of fuel. It also needs to be able to output more than one item for a specific input.
Challenge accepted.

im actually going to cover that in a later tutorial if you want to check it out if you haven't figured it out yet :)

#7

TechGuy543
  • Location: QLD, Australia

Posted 21 July 2012 - 04:25 AM

There is no method in Block called activated. Only blockActivated.

“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant;
together they are powerful beyond imagination."


#8

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 21 July 2012 - 03:38 PM

View PostTechGuy543, on 21 July 2012 - 04:25 AM, said:

There is no method in Block called activated. Only blockActivated.

yeah i see that thanks again, i was trying to write all these in a hurry and having no sleep so they are going to be messy but now i got some sleep so i can finish them without errors

#9

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 21 July 2012 - 08:08 PM

Yay the button tutorials are here :)

#10

rockonruup1

Posted 21 July 2012 - 09:43 PM

A girl modder? :mother of god:
no jk, but its a nice TUT i never understood GUI's thanks!

View PostNotch, on 24 July 2012 - 05:56 PM, said:

Rockonruup1 is awsome!

#11

Hilmars
    Hilmars

    Redstone Miner

  • Members
  • 629 posts
  • Location: ‍‍‍‍‍‍‍‍‍‍
  • Minecraft: ‍‍
  • Xbox:‍‍

Posted 21 July 2012 - 09:46 PM

View Postrockonruup1, on 21 July 2012 - 09:43 PM, said:

A girl modder? :mother of god:
no jk, but its a nice TUT i never understood GUI's thanks!
I know right? I wish I'd meet a girl modder in real life! <3

#12

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 21 July 2012 - 11:17 PM

View Postrockonruup1, on 21 July 2012 - 09:43 PM, said:

A girl modder? :mother of god:
no jk, but its a nice TUT i never understood GUI's thanks!

lol yay :) (What about eloraam?), cool glad i could help some people, and just wait there is way more to be done :)

View Postesgnrjnjgu, on 21 July 2012 - 09:46 PM, said:

I know right? I wish I'd meet a girl modder in real life! <3

lol we are awesome i know :)

#13

rockonruup1

Posted 21 July 2012 - 11:22 PM

Lol, have you released anything? like mods?

View PostNotch, on 24 July 2012 - 05:56 PM, said:

Rockonruup1 is awsome!

#14

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 21 July 2012 - 11:32 PM

View Postrockonruup1, on 21 July 2012 - 11:22 PM, said:

Lol, have you released anything? like mods?

sadly, not much i released a day changing tool for this guy that asked me, and a few other tweaks. but i am part of the team for creating the Otherworld mod, plus i am working on other things for people and trying to make a change in the up coming economy system to make it more like equivalent exchange but more balanced and fun. making things like credit cards and ATMs plus Kiosks to buy things and stuff like that its a work in progress but its coming along good

#15

rockonruup1

Posted 21 July 2012 - 11:39 PM

View PostAsyncronous, on 21 July 2012 - 11:32 PM, said:

sadly, not much i released a day changing tool for this guy that asked me, and a few other tweaks. but i am part of the team for creating the Otherworld mod, plus i am working on other things for people and trying to make a change in the up coming economy system to make it more like equivalent exchange but more balanced and fun. making things like credit cards and ATMs plus Kiosks to buy things and stuff like that its a work in progress but its coming along good


aw cool ;)
are you like 32? :/ just wondering because most peaple that are into coding are old XD

View PostNotch, on 24 July 2012 - 05:56 PM, said:

Rockonruup1 is awsome!

#16

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 21 July 2012 - 11:51 PM

View Postrockonruup1, on 21 July 2012 - 11:39 PM, said:

aw cool Posted Image
are you like 32? :/ just wondering because most peaple that are into coding are old XD

no i am 15 going to be 16 soon :) lol i realized that

#17

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 22 July 2012 - 02:18 AM

alright now i have just a few more tutorials to do

#18

rockonruup1

Posted 22 July 2012 - 12:21 PM

View PostAsyncronous, on 22 July 2012 - 02:18 AM, said:

alright now i have just a few more tutorials to do

Cool, same age here. you should do a tutorial on world generation. peaple tend to have problems with that.

View PostNotch, on 24 July 2012 - 05:56 PM, said:

Rockonruup1 is awsome!

#19

Alexiy_Orlov

Posted 22 July 2012 - 01:13 PM

Do you know how to add text to ingame GUI, like Rei's minimap, Thaumcraft and TMI do?
Be prepared for the worst.

#20

Asyncronous
  • Location: Home
  • Minecraft: Asyncronous

Posted 22 July 2012 - 09:44 PM

View PostAlexiy_Orlov, on 22 July 2012 - 01:13 PM, said:

Do you know how to add text to ingame GUI, like Rei's minimap, Thaumcraft and TMI do?

like a chat message??

View Postrockonruup1, on 22 July 2012 - 12:21 PM, said:

Cool, same age here. you should do a tutorial on world generation. peaple tend to have problems with that.

alright ill look at doing one, thats another of my favorite thins to code