TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dune II ported to the Web with Emscripten

185 pointsby experiment0over 12 years ago

17 comments

PostOnceover 12 years ago
Emscripten is fantastic. <a href="https://github.com/kripken/emscripten" rel="nofollow">https://github.com/kripken/emscripten</a><p>LLVM -&#62; JavaScript. The possibilities are many, wish I had more time to play with this kind of stuff.<p>I believe it's how <a href="http://repl.it" rel="nofollow">http://repl.it</a> and similar sites work.<p>Tangentially, aside from porting games, <a href="http://luatut.com/crash_course.html" rel="nofollow">http://luatut.com/crash_course.html</a> is one of the better uses [of Emscripten] I've seen. Press Escape and a console drops down. Handy way to learn a language.
评论 #4853661 未加载
评论 #4853605 未加载
评论 #4853145 未加载
thristianover 12 years ago
I'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.
评论 #4852842 未加载
评论 #4852777 未加载
评论 #4852793 未加载
评论 #4853179 未加载
cskauover 12 years ago
For 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.<p>[0] <a href="http://sourceforge.net/apps/mediawiki/dunelegacy/index.php?title=Main_Page" rel="nofollow">http://sourceforge.net/apps/mediawiki/dunelegacy/index.php?t...</a>
评论 #4858291 未加载
jweirover 12 years ago
Oh wow, this takes me back.<p>My first job was at Virgin Games as an artist. I got a beta version of Dune II, and played it obsessively.<p>The artwork Westwood Studios created was very inspiring - their artists were very good and developed some wonder palettes.
IgorPartolaover 12 years ago
Funny, 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 <i>character</i> and <i>charm</i>, 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.
评论 #4853880 未加载
评论 #4853860 未加载
busterover 12 years ago
Just awesome. Dune II was a big part of my childhood. :)
评论 #4853002 未加载
评论 #4853823 未加载
评论 #4853112 未加载
评论 #4854515 未加载
SeppoErvialaover 12 years ago
We've come a long way: <a href="https://dl.dropbox.com/u/9414611/dune-II.jpg" rel="nofollow">https://dl.dropbox.com/u/9414611/dune-II.jpg</a>
jasonkesterover 12 years ago
Awesome. I'm not so excited about the tiny 320x200 viewport though. Why not zoom it to fit the browser window?<p>Strangely, they seem to have managed to disable the browser's built-in zooming.<p>So yeah, fun, but squinty.
评论 #4853004 未加载
评论 #4854635 未加载
评论 #4853670 未加载
gus_massaover 12 years ago
I played this game a lot a few years ago :).<p>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.
评论 #4853357 未加载
评论 #4853052 未加载
评论 #4853111 未加载
prawnover 12 years ago
Can you still save and reload until the Death Hand actually hits something useful?
danvideoover 12 years ago
Anyone 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.
评论 #4853154 未加载
timtadhover 12 years ago
The download is pretty massive, it is 6235641 bytes. Which is slow even on the multihomed fiber connection I am on. Still pretty neat.
评论 #4853347 未加载
zemanelover 12 years ago
played 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
myth_drannonover 12 years ago
small bug : you can attack and kill your own units :)
评论 #4853414 未加载
yreadover 12 years ago
it seems to have some bugs. I lost a unit in the first level (I know, I know) and tile graphics went bonkers
SeppoErvialaover 12 years ago
No sound effects :(
评论 #4854010 未加载
Nordvindover 12 years ago
FYI, there is a post from the author, describing some game designs and listing existing bugs (unfortunately, Russian only) - <a href="http://habrahabr.ru/post/159501/" rel="nofollow">http://habrahabr.ru/post/159501/</a><p>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).<p>He also lists hotkeys:<p><i>A</i>ttack, <i>M</i>ove, <i>H</i>arvest, <i>R</i>etreat, <i>G</i>uard, <i>T</i>ab, <i>B</i>uild