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.

WebGL Sonic the Hedgehog Game Engine

101 pointsby brianshumateabout 14 years ago

8 comments

TheCorehabout 14 years ago
Hey guys. I'm the original author of the engine. (I go by "MarkTheEchidna" on Sonic Retro) I'm really surprised to see this popular here on Hacker News. :-)<p>I'm having problems opening the forum thread on Retro right now. If that's also happening to you, you can grab/fork the source code here:<p><a href="https://github.com/coreh/WebSonic" rel="nofollow">https://github.com/coreh/WebSonic</a><p>It's MIT licensed. The art is under Creative Commons. The code is kinda messy, since this was done just for fun/learning WebGL.<p>As lewispb pointed out, you can play it at:<p><a href="http://achene.co/WebSonic/" rel="nofollow">http://achene.co/WebSonic/</a>
评论 #2476598 未加载
TamDenholmabout 14 years ago
Tried it on both FF4 and Chromium 10 on ubuntu and both got this error:<p><pre><code> Error: Nonexistent or unused uniform in the description of shader shader/sky.jsonshader: u_normalCameraViewError: Nonexistent or unused uniform in the description of shader shader/sky.jsonshader: u_normalCameraView at http://achene.co/WebSonic/js/GraphicsEngine.js:96:11 at Array.forEach (native) at new (http://achene.co/WebSonic/js/GraphicsEngine.js:93:23) at Object.success (http://achene.co/WebSonic/js/ResourceManager.js:80:20) at success (http://achene.co/WebSonic/lib/jquery.js:5267:15) at XMLHttpRequest. (http://achene.co/WebSonic/lib/jquery.js:5207:7)</code></pre>
评论 #2474065 未加载
MatthewPhillipsabout 14 years ago
This is really impressive. I wasn't expecting WebGL to come on this strong, this quickly (game engines using Canvas have taken much longer to reach this level of maturity). I'm not sure I see the advantage of NaCl now. This runs flawlessly in Chrome.
评论 #2474302 未加载
emehrkayabout 14 years ago
Simply amazing. It is so smooth in chrome 10 on win7.<p>Too bad that we have to worry about MS and IE not supporting it. Maybe there will be a plugin, but that defeats the purpose.
评论 #2474039 未加载
评论 #2473987 未加载
评论 #2474052 未加载
lewispbabout 14 years ago
Incredible, playable here:<p><a href="http://achene.co/WebSonic/" rel="nofollow">http://achene.co/WebSonic/</a>
tybrisabout 14 years ago
Damn, I guess we can expect to see some pretty serious games in the browser.
nicetryguyabout 14 years ago
blast this in a background tab <a href="http://www.youtube.com/watch?v=sxImkPH2G40&#38;feature=related&#38;fmt=18" rel="nofollow">http://www.youtube.com/watch?v=sxImkPH2G40&#38;feature=relat...</a>
asadotzlerabout 14 years ago
This works flawlessly (and sooo smooth, even in fullscreen mode at 1920x1200) in my Firefox 4 on Windows XP. And Microsoft said XP couldn't do the modern Web.