Skip to main content

Starcraft 2 Map Editor will use Galaxy (Blizzard's nerfed version of C)



I recently stumbled upon this video showing the power of Starcraft 2's new map editor. Blizzard intends to have a "map store" much like the Apple iTunes app store for people to buy and download maps to play. Based on a little bit of research, it turns out SC2's map editor will be using Blizzard's version of C called Galaxy. This is actually pretty awesome compared to their older games.

Warcraft III Map Editor JASS is terribad


Warcraft III's map editor uses JASS which terribly fails in all angles. Firstly, its context free, allowing developers to run rampant with their spaghetti code. Secondly, it's infested with memory leaks. Thirdly, it has the shittiest, dumb down syntax that you'll ever see.

Let's check this out:
function Trig_JASS_test_Actions takes player p returns nothing
 local integer i=0
 loop
   exitwhen i==90
   call DisplayTextToPlayer(p, 0,0, "Hello, world! "+I2S(i))
   set i=i+1
 endloop
endfunction

"takes player p returns nothing". Terribad. Go away.

Wishlist for Starcraft 2 Map Editor


Easy to use API for Data Stores

Even if Blizzard just sell hosting for a database on Battle.net, this would allow map editors to essentially create persistent stats for players. For example, in the 3rd person shooter, what if the map editor expanded towards providing rankings for each player? I ran into this problem while building a World of Warcraft addon. All the persistent data would be saved to a SavedVariables.lua file, which is absolute shit because clients that use the addon won't be able to synchronize their data unless they redownload the file from some shady website.

Verbose usage statistics for Maps (much like Omniture, but for maps)

As many of you know, starting out with a Map may be fun but to really achieve success you have to keep constantly measuring its performance. If you find that certain players like one aspect of your map, perhaps you could invest more time into that particular feature so that you can keep your customers happy. If you're a sole developer trying to make money off the Battle.net Map Store, you would definitely agree with for this reporting software.

Not so shitty debugging tools

The xcode tools provided for iphone app development allows developers to constantly monitor their application's performance in real time. Subsequently, you can easily fuzz out memory leaks with these kinds of tools.

Each update to the Map should not charge the user

If a user on Battle.net decides to purchase your map for $5 USD, they shouldn't have to repurchase it when you roll out hotfixes.

Fast approval process for deploying new maps

We all know about Apple's retarded approval process for applications. As a developer, we need to be able to deploy hotfixes or major patches without having to wait 6 months for some asshole to approve it.

Open source MIT Maps if they are freely downloadable

All maps that are free should have their source released to the public. I believe this won't happen because of their digital download business model; could you imagine if Apple iTunes Apps had their source released? :) It's all good though--that's what de-compilers are for.

Can't wait for the SC2 Map Editor.

Cheers,
Jaime
Post a Comment

Popular posts from this blog

TextMate Tutorial: How to add a Strikethrough keybind to your Markdown bundle

Markdown is awesome for quickly generating Readme's on Github. After looking at other projects using the strike tag, I've decided to create a custom keybind for it in my TextMate Markdown bundle. Here's how:

1) Click the + sign on the bottom left and click New Command.
2) Paste this into the editbox and make sure you name your command "Strikethrough".

For the input field, select WORD in the drop down.
For the output field, select "insert as snippet".
As for the keybind, you can totally map it to whatever you're comfortable with but I chose Command-D as it is the same thing in Microsoft Word.

Cheers,
Jaime

Using Git Hooks: Prepare Commit Message to automatically prepend branch names on commit messages

When you're practicing branch by feature with distributed version control, typically you'll get assigned a ticket or issue and that ends up being your feature branch. Instead of always typing in the branch name in every commit, you can edit your Git hooks (specifically prepare-commit-msg).

Assuming that this is a brand new git repository:

mv .git/hooks/prepare-commit-msg.sample .git/hooks/prepare-commit-msg
vi .git/hooks/prepare-commit-msg

Edit the file by commenting out what was originally in the file and then add this:



Now, whenever you make a commit, it should show up like this in the log:



Since GitHub and Bitbucket both support Emojis inside commit messages, you can do something cute like this



Want more emojis? check out the Emoji Mardown Cheatsheet!

NodeJS Hack Session: MMO Pokemon with NodeJS/WebSockets

The primary focus of this proof of concept is to determine how easy it is to build real-time web applications for all iPad, iPhone, droids, Safari, Chrome users on top of NodeJS (non-blocking event driven server side Javascript platform). The proof of concept was built within 6-8 hours including the following:

Uses Express framework for server side Javascript development (inspired by Rails / Sinatra / Django)Uses EJS for templating language (much like Django templates and symfony) -- allows partials and passing parameters into partials like symfony PHPReal-time chat using WebSocketsArena Queueing System for real-time competitive matchplay using WebSocketsHTML5 AudioCSS3 transitions for all hand cards, tappable cards, transparent panels, rounded corners, drop shadowsFallbacks for Firefox, IEFirefox/IE will fall back to Flash socketIE will fall back to XHR long poll if the user doesn't have Flash installedNoSQL CouchDB for fetching users and soon cards, achievements, friend associat…