• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

GUI and JASS

Status
Not open for further replies.
Level 3
Joined
Apr 20, 2009
Messages
26
Hello,

I am fairly interested in what's the difference between JASS and GUI.
What I have understood is that JASS never leeks, it simply does, or doesn't. Maybe I'm wrong but what do I know, that's why I'm asking you! :)

I apologise if there already is a thread like this one I just couldn't be arsed to look through all posts.
 
GUI is JASS, but it has graphic-user-interface, while on the other hand, JASS doesn't, thus you have to type everything.

GUI code is converted into JASS when your map loads or uses any of its GUI scripts/triggers.

In short, JASS is the programming language and GUI is the environment in which you can easily create things you want.
 
GUI is JASS, but it has graphic-user-interface, while on the other hand, JASS doesn't, thus you have to type everything.

GUI code is converted into JASS when your map loads or uses any of its GUI scripts/triggers.

In short, JASS is the programming language and GUI is the environment in which you can easily create things you want.

So, like.. either is better/easier to use than the other?
 
JASS is definitely harder to learn but much easier to use once learned---- totally agree!!
 
But really, what is the easiest way to learn it? Because I want to learn I just don't know where to start. Can I maybe convert normal GUI to text so that I can learn how to create easy initializations?
 
But really, what is the easiest way to learn it? Because I want to learn I just don't know where to start. Can I maybe convert normal GUI to text so that I can learn how to create easy initializations?
Write stuff in JASS and have someone look at it.

Converting is a good start but the converted code is really awful and makes lots of really stupid mistakes.

For example, a condition function is converted to:

JASS:
function mycond takes nothing returns boolean
    if (the conditions) then
        return true
    endif
    return false
endfunction

Whereas it obviously makes more sense to:

JASS:
function mycond takes nothing returns boolean
    return (the conditions)
endfunction
 
Write stuff in JASS and have someone look at it.

Converting is a good start but the converted code is really awful and makes lots of really stupid mistakes.

For example, a condition function is converted to:

JASS:
function mycond takes nothing returns boolean
    if (the conditions) then
        return true
    endif
    return false
endfunction

Whereas it obviously makes more sense to:

JASS:
function mycond takes nothing returns boolean
    return (the conditions)
endfunction

I see, so converted codes are like GUI's anyways cause they're written in the same way?
 
GUI is actually just a graphical interface stuck on top of JASS--the game runs JASS, GUI is just an easy way to write it. It also happens to produce bad JASS and only give access to a subset of the language, as well as being much more cumbersome to use once you're experienced, hence why learning JASS is a good idea if you plan to spend much time in the environment.
 
Yes, I could.

I would make that or delete a location but....

Nobody has anything in their editor to load my GUI so...... Modified GUI of course because the standard provided by blizzard wasn't enough since you have to remove a location with custom script which by the way I exclude as jass because it is more in the middle and could be used by itself, I do not want to discuss this and I should not of brought this up.
 
Uh, if you define some nebulous concept of an unspecified "modified GUI" then of course it could do anything.

Hell, I could go "herp derp I invented a modified GUI based around scripting, it's called JASS, you guys should check it out!" seeing as GUI is a very very vague term when it comes to code and what the world editor provides amounts to some form of one.

Also, "custom script" is what the editor calls JASS so yeah, "custom script" is JASS and if you exclude it it's safe to say you're in denial.
 
Status
Not open for further replies.
Back
Top