1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  4. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  5. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  6. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  7. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  8. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Can JASS replace GUI?

Discussion in 'Triggers & Scripts' started by I-am-murloc, Feb 22, 2010.

  1. I-am-murloc

    I-am-murloc

    Joined:
    Apr 7, 2009
    Messages:
    206
    Resources:
    0
    Resources:
    0
    I was just wondering if JASS can do everything that GUI can do. I meen can you remake any trigger in JASS or do you have do use GUI at some point?
     
  2. Pharaoh_

    Pharaoh_

    Joined:
    Nov 6, 2008
    Messages:
    8,127
    Resources:
    11
    Icons:
    3
    Skins:
    1
    Spells:
    6
    Tutorials:
    1
    Resources:
    11
    You should instead ask if GUI can do what Jass can. Well, Jass is the main language, not GUI :)
    So, yes, it can do 170% of what GUI can.
     
  3. I-am-murloc

    I-am-murloc

    Joined:
    Apr 7, 2009
    Messages:
    206
    Resources:
    0
    Resources:
    0
    Then is it best to make everything in JASS? Even the simpliest of stuff?
     
  4. Pharaoh_

    Pharaoh_

    Joined:
    Nov 6, 2008
    Messages:
    8,127
    Resources:
    11
    Icons:
    3
    Skins:
    1
    Spells:
    6
    Tutorials:
    1
    Resources:
    11
    Some people do prefer making everything in Jass. Well, it's a bit easier sometimes to type down stuff than scrolling down. Plus, when Jass uses just the line local unit u, which is used for local events, MUI-enhanced coding, in GUI you need to make a whole new indexing system or assign new hashtables, which is a pain. If your trigger is consisted though from a simple Event-Condition-Actions, use just GUI, it's not a big deal. It depends on how bored you are. Of course some functions are not even by luck represented in GUI, so you definitely need Jass there.
     
  5. baassee

    baassee

    Joined:
    Nov 14, 2008
    Messages:
    3,220
    Resources:
    17
    Spells:
    14
    Tutorials:
    3
    Resources:
    17
    Or you can use VexorianJass shorted vJass, bigger better and yeah ...

    GUI stands for "Grapical User Interface" and is just a better looking Jass editor except it doesnt contain all functions in Common.j and refers to Blizzard.j called BJ which calls functions in the common.j ... sigh
     
  6. overload119

    overload119

    Joined:
    May 28, 2007
    Messages:
    362
    Resources:
    3
    Skins:
    1
    Tools:
    1
    Maps:
    1
    Resources:
    3
    I still sometimes use GUI for things like creating texts. Sometimes working with text, its easier to use GUI since its layed out nicer.

    (Having a text box to put in a bunch of text instead of a single line)
     
  7. thelifelessone

    thelifelessone

    Joined:
    Feb 7, 2009
    Messages:
    369
    Resources:
    1
    Tools:
    1
    Resources:
    1
    GUI is JASS.
     
  8. Adiktuz

    Adiktuz

    Joined:
    Oct 16, 2008
    Messages:
    9,674
    Resources:
    23
    Models:
    2
    Packs:
    1
    Maps:
    1
    Spells:
    16
    Tutorials:
    1
    JASS:
    2
    Resources:
    23
    isnt it VeryJASS?
     
  9. Septimus

    Septimus

    Joined:
    May 3, 2008
    Messages:
    4,176
    Resources:
    49
    Packs:
    1
    Maps:
    35
    Spells:
    8
    Tutorials:
    5
    Resources:
    49
    No.

    It was Vexorian JASS since vexorian are the inventor of it.

    It also known as advanced jass
     
  10. Adiktuz

    Adiktuz

    Joined:
    Oct 16, 2008
    Messages:
    9,674
    Resources:
    23
    Models:
    2
    Packs:
    1
    Maps:
    1
    Spells:
    16
    Tutorials:
    1
    JASS:
    2
    Resources:
    23
    oh... VeryJASS was what I read in a tutorial somewhere. ^^...

    anyway, on-topic, JASS can definitely do everything that GUI does and it can do much better...
     
  11. JeffreyQ

    JeffreyQ

    Joined:
    Sep 28, 2004
    Messages:
    363
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    JASS is 100% way better than GUI, since GUI is coded out of JASS more or less. Just like C is much better than C++ and can do anything and more than C++. GUI is easy for newbies to learn things as it is more direct since not everyone playing the game knows coding. Ofcourse, if you feel that you are good enough, JASS is always the better way to go [:

    And to answer your question in short, yes it can.
     
  12. Adiktuz

    Adiktuz

    Joined:
    Oct 16, 2008
    Messages:
    9,674
    Resources:
    23
    Models:
    2
    Packs:
    1
    Maps:
    1
    Spells:
    16
    Tutorials:
    1
    JASS:
    2
    Resources:
    23
    C++ is the improvement to C right?
     
  13. Teelo

    Teelo

    Joined:
    Mar 31, 2009
    Messages:
    709
    Resources:
    1
    Maps:
    1
    Resources:
    1
    The map compiler translates everything you make in GUI into JASS.
    When you make something in the GUI, you're making it in JASS.
    GUI is a subset of JASS.
    JASS is not a subset of GUI.
    There are some complicated things JASS can do that GUI can't.
    If you're an experienced programmer, you can make your code very easy to maintain by doing it properly in JASS.
    If you just want to make a simple map, and aren't good with programming, stick to GUI, especially if you need help and don't want to wait for a JASS guru to find your thread!
     
  14. JeffreyQ

    JeffreyQ

    Joined:
    Sep 28, 2004
    Messages:
    363
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    @Adiktuz
    Yap, and JASS is base on C if i remember correcty [:
     
  15. Maximilianx

    Maximilianx

    Joined:
    Oct 14, 2008
    Messages:
    334
    Resources:
    0
    Resources:
    0
    Jeffery you said C is much better than C++, I'm assuming you meant otherwise? because your post is sort of confusing.
     
  16. JeffreyQ

    JeffreyQ

    Joined:
    Sep 28, 2004
    Messages:
    363
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    Not to go offtopic, but C is definitely much better than C++ [: because C++ is built from C. C++ is object oriented programming (Just more libraries and functions compare to C). But those libraries and fuctions are coded with C [: Anyone can create your own C++ with C if someone is that good [: C++ is better because it is object oriented where people can code in a cleaner way compare to C.

    Like my professor always said. If someone wants to create the world's fastest game engine, they won't use C even. The reason people uses new language is because newer language are easier to learn and more user friendly compare to other lower level languages like assembly languages. Same reason for GUI and JASS, blizzard wanted people who don't know coding to actually know how it works. When someone gets more advance, JASS is always welcome.

    On topic, Jass is better than GUI like others said.
     
  17. ap0calypse

    ap0calypse

    Joined:
    Jan 26, 2007
    Messages:
    4,780
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    This is true, but you're forgetting something: although C++ is slower than C, it does contain new functions and is easier to use.
    GUI is slower and lost a few functions and if you are good at JASS, it's also slower than JASS (although it is a lot easier to learn).

    I believe everything's been said...
    To sum it up:

    JASS is a lot better, because GUI is made out of JASS, all GUI triggers are converted to JASS when playing a map.
    GUI isn't even finished yet: it has a lot of flaws, less functions and is slower.
    The problem is that JASS isn't very user-friendly, especially not back in the old days (you've probably seen JASS in the regular world editor, not really the most appealing script... no search function, no database, ...), that's why people tend to use GUI.
    All JASS-related programs (JassCraft, JNGP, vJass) brought a lot of change it that though: all (very) good mappers use, or at least know JASS and they prefer vJass.

    If you're still learning the basics and don't know a lot of other languages: stick to GUI.
    If you already know a few languages (such as C or J-script): try to learn JASS step by step, but it takes more time to learn than GUI.
     
  18. SlayerII

    SlayerII

    Joined:
    Aug 21, 2008
    Messages:
    526
    Resources:
    2
    Maps:
    1
    Tutorials:
    1
    Resources:
    2
    If you are able to learn jass, then use it. If not, well stick to GUI. Its really hard to learn jass if you dont know a other language before. But its not impossible.I learned it and it did not know any other language before.

    Afterwards i think it even may be easier to learn jass before learning GUI. Jass was very confusing for me first, cause i was very confused about to missing events condtiotions and actions.:ugly: After some time i got that i dont need them the way i need them in GUI.And after soem time i was able to make scripts faster with jass than with GUI.

    vJass itself is not better than jass itself. You cant do anything new. Its just even faster to make scripts and some thinkgs(like being able to declare globals or librarys which are good for sharing code) are really handy.
    The OOP is quite hard to use at the beginning, simple its hard to get whats better if you use it. Well nothing is better, its just faster to write:cool:
     
  19. Justify

    Justify

    Joined:
    Mar 16, 2008
    Messages:
    935
    Resources:
    5
    Models:
    1
    Icons:
    1
    Spells:
    3
    Resources:
    5
    Thats not completly true. vJass adds some stuff that is VERY hard to achieve with Jass and even harder to read. One of this thing are code arrays, that feature just doesn't exist in Jass but vJass adds it (via if-conditions in a function, however, this is very... annoying). If you learn Jass, there is realy no reason not to learn vJass, it's just mighty :D
     
  20. xD.Schurke

    xD.Schurke

    Joined:
    Feb 22, 2006
    Messages:
    948
    Resources:
    5
    Maps:
    1
    Spells:
    4
    Resources:
    5
    Jass > GUI
    AND
    vJass = veryJass not VexorianJass.