Page 1 - Jump to:
Galaxy Editor Code Examples | Mar 13th, 12:36 | |
|
So I have been browsing the Starcraft 2 MPQ files lately and found some examples of how the new editor programming code will look like. The new language is called "Galaxy" and all the files end in .galaxy. Below are some excerpts from the files I found.
From what I can tell, its syntax is very similar to C/Java/PHP. Furthermore, it looks to be a procedural language instead of object oriented (oh well!). I know this will excite some of you modders out there
|
|
| Mar 13th, 13:22 | |
|
Which reminds me. When are you going to add syntax highlighting to code segments?
I thought what I'd do was, I'd pretend I was one of those deaf-mutes. Or should I?
|
|
| Mar 13th, 13:33 | |
Never. Galaxy isn't a real programming language, and I don't have time to build one. |
|
| Mar 13th, 13:51 | |
|
lol ... i'm sure there will be a trigger thingie gui for starters out ther
![]() Moderator |
|
| Mar 13th, 16:52 | |
|
Reminds me of JASS, though I'm sure there are tons of other programming languages it is also similar to. Chances are I'll stick to the GUI.
No way! |
|
| Mar 13th, 19:36 | |
|
Yeah, I'll probably end up using the GUI as well. A lot of this stuff is somewhat familiar to C++.
Challenge me whenever I'm online. Gold player.
Note: If I don't respond to you immediately, I'm probably alt-tabbed out, doing single player, or talking to somebody. I'll get to you soon as I'm able. |
|
| Mar 13th, 19:42 | |
| Mar 13th, 19:51 | |
I sure hope so, Blizzard mods have always been expansive, but very learn able if your willing. I'll be disappointed if you actually have to learn to write in code for this.
"You’re an idiot, babe
It’s a wonder that you still know how to breathe" -Robert Zimmerman |
|
| Mar 13th, 19:55 | |
Honestly, I doubt it will come to that. At least for people who like to create simple campaigns and all that.
Challenge me whenever I'm online. Gold player.
Note: If I don't respond to you immediately, I'm probably alt-tabbed out, doing single player, or talking to somebody. I'll get to you soon as I'm able. |
|
| Mar 13th, 20:04 | |
|
Yeah, I'm pretty sure they'll have a very intuitive GUI for putting together at least moderately well custom games.
Mayor of Awesometown
|
|
| Mar 13th, 20:09 | |
|
So gears, did you just create us a custom map? ;p
![]() |
|
| Mar 13th, 20:11 | |
| Mar 13th, 21:25 | |
|
Oh man, i don't know a thing about coding. I never even learned it, but i really want to make my own maps. Is it hard to learn by yourself?
All comics by Zerg-Meat!
Older Comics: http://img576.imageshack.us/gal.php?g=angryarchon.jpg Newer comics: http://img192.imageshack.us/gal.php?g=3racescomparison.jpg |
|
| Mar 13th, 21:55 | |
|
Oh, great, pretty much like you are writing the code in Java or C/C++. Guess no need to use OOP in galaxy... We just need the API reference or some code snippets and I think we ready to go.
![]() "I bring tidings of doom..." SC2 ID: GLeeary.386 |
|
| Mar 14th, 05:33 | |
|
From the above bit of code you can't really tell anything about the language itself, except that its syntactically closest to C. And while you guys may be hoping for some well developed GUI for the editor, anybody who's ever done any real WC3 map making (for example) will be hoping that there isn't any GUI at all.
![]() But as long as they give us the ability to somehow do whatever we want/need, it won't really matter what the language is like. |
0
Of 3 Topics created12 Topics read
0
Of 10 Posts created





. I wonder if learning programming will allow me to make awesome maps, then use that as my homework lol












