8 ms·
Dune II ported to the Web with Emscripten
- gus_massa 14y agoI played this game a lot a few years ago :). It amazing/annoying how different the UI is from the modern games. For example to move a unit you must click the "move" button and the click the place where you want to go. There are a million of details that make modern games easier to play.
- SeppoErviala 14y agoIn the DOS version you could also use 'm' on the keyboard
- hiddenfeatures 14y agoAlso possible in the online version
- hiddenfeatures 14y agoOh man... yeah. Seems like I am going to waste a few hours this weekend on this game :-)
- lnanek2 14y agoHaha, yeah, I noticed that immediately because I tried to "micro" like in Starcraft. Cycling units being attacked out of battles and units attacking in, etc.. Not sure if I had the same concepts back when I played it as a kid, heh.
- thristian 14y agoI'm sure this site will be taken offline for copyright infringement almost immediately, but it really is a decent recreation of the original. It's also historically significant: Dune II is to the real-time strategy genre what Wolfenstein 3D is to the first-person-shooter: not necessary the very first example ever, but the first to achieve notable popularity, and the progenitor of most of the following examples.
- iconfinder 14y agoAnd thank god for the original C&C. I still think the soundtrack was brilliant: http://www.youtube.com/watch?v=kZAaq5JIhW0 http://www.youtube.com/watch?v=kZAaq5JIhW0
- pschorf 14y agoI was always partial to Red Alert: http://www.youtube.com/watch?v=Tb-gI_pFog0 http://www.youtube.com/watch?v=Tb-gI_pFog0
- shabble 14y agoRapidly heading off on a tangent, but there was an AMA by the creator of the RA soundtrack on Reddit[1] quite recently. I had no idea Hell March was that well-known (and I finally found out what the correct lyric[s] was!) [1] http://www.reddit.com/comments/11n1xk/c6o41e1/ http://www.reddit.com/comments/11n1xk/c6o41e1/
- tropin 14y agoExcept they're not the real lyrics. For some reason, even the composer believe is German, when is an Spanish commander guiding his troops in a march.
- silon3 14y agoFor me, it's also the predecessor to tower defense games.
- ygra 14y agoThis took a moment to sink in but that's quite exactly how I played it (and Dune 2000) back in the day. Way before I even knew Tower Defense games :-)
- lusr 14y agoAh, I miss those long windy trails of concrete and rocket turrets built right at their base :) Also the first game I learned to 'hack', and it's what set me on the path to learning programming: I discovered a hex file editor on a floppy and had a hunch about how things might fit together. So I saved a game, waited a second until some money was spent in the game and then saved again into a different slot. Thereafter I went through the two save game files, visually figured out which parts were different between the files, changed the magical numbers I saw, reloaded the game and slowly figured out how to make myself rich :) (This worked much better than my earlier attempt with the disk editor I found where I thought I was really clever compressing files by changing their size to 0.)
- PostOnce 14y agoEmscripten is fantastic. https://github.com/kripken/emscripten https://github.com/kripken/emscripten LLVM -> JavaScript. The possibilities are many, wish I had more time to play with this kind of stuff. I believe it's how http://repl.it http://repl.it and similar sites work. Tangentially, aside from porting games, http://luatut.com/crash_course.html http://luatut.com/crash_course.html is one of the better uses [of Emscripten] I've seen. Press Escape and a console drops down. Handy way to learn a language.
- zodiac 14y agorepl.it uses biwascheme, a scheme interpreter written in javascript
- dbaupp 14y agoThey also use Empythoned (CPython compiled with Emscripten, https://github.com/replit/empythoned https://github.com/replit/empythoned) and Emscripted-Ruby (Ruby compiled with Emscripten, https://github.com/replit/emscripted-ruby https://github.com/replit/emscripted-ruby) and a version of Lua compiled with Emscripted (https://github.com/replit/jsrepl/tree/master/extern/lua https://github.com/replit/jsrepl/tree/master/extern/lua), among others.
- ambrop7 14y agoSee my port of my little scripting language (NCD) to Emscripten: http://badvpn.googlecode.com/svn/wiki/emncd.html http://badvpn.googlecode.com/svn/wiki/emncd.html
- ambrop7 14y agoOpenTTD in Emscripten is particularly impressive: http://play-ttd.com/ http://play-ttd.com/
- yread 14y agoit seems to have some bugs. I lost a unit in the first level (I know, I know) and tile graphics went bonkers
- buster 14y agoJust awesome. Dune II was a big part of my childhood. :)
- Tharkun 14y agoSame here. I spent countless hours playing this in 1992, back when I was tiny and my English skillz were severely lacking. Words like "siege tank" were beyond me, so the siege tank was nicknamed after my fat aunt, the MVC after my handy uncle etc. Brings back memories.
- spiritplumber 14y agoHaha, us too. It got to where me and my friends who played it would call someone a harvester if they kept getting lost IRL due to their stupidity
- verdverm 14y agoi recall it took 8 floppies to install or something like that, i remember coming across the base plans my older neighbor had made. totallychanged they way i played
- shabble 14y agoThese being my introduction to the Dune universe, I was quite surprised when I finally read the books to not come across a single mention of the House Ordos :)
- janlukacs 14y ago+1 i spent many nights with this. Sonic Tank FTW!
- jasonkester 14y agoAwesome. I'm not so excited about the tiny 320x200 viewport though. Why not zoom it to fit the browser window? Strangely, they seem to have managed to disable the browser's built-in zooming. So yeah, fun, but squinty.
- ghshephard 14y agoIf you are on an OS X system, just use Ctrl+touchpad two-finger scroll to zoom in/out (presuming you've enabled that)
- jQueryIsAwesome 14y agoSometimes browser zooming breaks pixel calculations... yeah, one more edge case to the already long list of edge cases.
- azakai 14y ago> Strangely, they seem to have managed to disable the browser's built-in zooming. I believe it captures all keyboard input. But if you click the URL bar, you should then be able to zoom in and out (since then the page doesn't get key events).
- danvideo 14y agoAnyone else having trouble getting it running? I'm on a very fast internet connection and it's been 2-3 minutes of black screen already.
- SeppoErviala 14y agoNo sound effects :(
- axusgrad 14y agoThe music brings back memories, though :)
- SeppoErviala 14y agoWe've come a long way: https://dl.dropbox.com/u/9414611/dune-II.jpg https://dl.dropbox.com/u/9414611/dune-II.jpg
- timtadh 14y agoThe download is pretty massive, it is 6235641 bytes. Which is slow even on the multihomed fiber connection I am on. Still pretty neat.
- hatu 14y agoThat's only 6MB, I think the server is just getting hit pretty bad from all the traffic
- myth_drannon 14y agosmall bug : you can attack and kill your own units :)
- debacle 14y agoThat's not a bug.
- cskau 14y agoFor anyone interested in playing Dune II natively I highly recommend Dune Legacy[0] - an open source implementation which I personally found much better than OpenDUNE, which the link is based on. [0] http://sourceforge.net/apps/mediawiki/dunelegacy/index.php?title=Main_Page http://sourceforge.net/apps/mediawiki/dunelegacy/index.php?t...
- buddycasino 14y agoNice! It fixes most annoyances of the original Dune II, e.g. you can use your right mouse button to order units to move somewhere, and there is finally a production queue.
- IgorPartola 14y agoFunny, I've been replaying Dune 2 over the past week and a half. Despite the controls being somewhat clunky (no selecting multiple units, your units won't defend themselves in a lot of cases, etc.) this game has character and charm, not to mention hours and hours of gameplay. I have been hoping that games like this, King's Bounty, Settlers, XCom, and others from that era would show up for mobile platforms. A lot of them would work really well on a touchscreen device.
- jweir 14y agoOh wow, this takes me back. My first job was at Virgin Games as an artist. I got a beta version of Dune II, and played it obsessively. The artwork Westwood Studios created was very inspiring - their artists were very good and developed some wonder palettes.
- Nordvind 14y agoFYI, there is a post from the author, describing some game designs and listing existing bugs (unfortunately, Russian only) - http://habrahabr.ru/post/159501/ http://habrahabr.ru/post/159501/ In short, he says that sync model used in OpenDune ran very badly in JS, so he had to replace it with async model (thus introducing some bugs). He also lists hotkeys: Attack, Move, Harvest, Retreat, Guard, Tab, Build
- zemanel 14y agoplayed a lot of Dune II in programming class back in the days. Also got caught a couple of times. Learned two thing you can't teach in a class room, culture and how to slack like a pro
- deleted 14y ago[deleted]
- prawn 14y agoCan you still save and reload until the Death Hand actually hits something useful?