|
Kaelan
|
 |
« on: April 14, 2012, 01:35:58 AM » |
|
It's called Bytown Lumberjack, and Owen Deery and Gabriel Verdon made it. It's about a lumberjack who's very angry and chops things with his axe.  I wrote a blog post about how I ported it: http://www.luminance.org/blog/code/2012/04/14/bytown-lumberjack-html5-behind-the-scenesAnd you can play it: http://hildr.luminance.org/Lumberjack/Lumberjack.html(Chrome runs best, Firefox and IE9 both should work okay if your PC is amazing) Anyway, I figured this might be interesting to some of the coders here. In particular, if you're building a game in XNA and you'd like to try out my compiler for your own browser port, you can drop me an email or send me a forum PM here (or just grab it from github and try it out yourself). And of course if you have any questions you can ask them here!
|
|
|
|
|
Logged
|
|
|
|
|
gnat
|
 |
« Reply #1 on: April 16, 2012, 10:12:27 PM » |
|
Cool example of the state of HTML5 for games. Thanks.
|
|
|
|
|
Logged
|
nc-cms - Open source, lightweight, and fast website content management for indies. Woot Events - Gamer event listing site. LAN Parties, Game Jams, etc.
|
|
|
|
Fallsburg
|
 |
« Reply #2 on: April 17, 2012, 05:20:03 AM » |
|
Gotta say, that thing runs hellishly slowly. I have a pretty decent computer, was running it in Chrome, and I was struggling along at sub 30 fps.
Which as gnat said (meaning something different) seems about the state of HTML5 for game.s
|
|
|
|
|
Logged
|
|
|
|
|
kamac
|
 |
« Reply #3 on: April 17, 2012, 06:00:14 AM » |
|
Gotta say, that thing runs hellishly slowly. I have a pretty decent computer, was running it in Chrome, and I was struggling along at sub 30 fps. This. It lags. Much.
|
|
|
|
|
Logged
|
|
|
|
|
Kaelan
|
 |
« Reply #4 on: April 17, 2012, 12:13:45 PM » |
|
Yeah, there's probably like a 30x speed penalty for HTML5 right now, maybe more. It's unfortunate.
|
|
|
|
|
Logged
|
|
|
|
|
ANtY
|
 |
« Reply #5 on: April 17, 2012, 01:47:44 PM » |
|
Strange, my PC is pretty old and I didn't feel any lags, I ran it on Google Chrome.
|
|
|
|
|
Logged
|
|
|
|
|
Klaim
|
 |
« Reply #6 on: April 17, 2012, 09:33:10 PM » |
|
No lag here, just a strange stall sometimes maybe with 5 seconds of interval.
|
|
|
|
|
Logged
|
|
|
|
|
John Sandoval
|
 |
« Reply #7 on: April 17, 2012, 10:03:37 PM » |
|
<30 fps on a pc with 12 gigs of ram
|
|
|
|
|
Logged
|
|
|
|
|
Raptor85
|
 |
« Reply #8 on: April 18, 2012, 04:19:40 AM » |
|
no lag whatsoever on my computer, it runs great and this computer is getting older now (origional line core2 duo 2.4 ghz w/ 4 gigs ram). I don't have chrome either so this was in firefox 6 (and I wouldnt exactly call this computer amazing)
No idea what could be causing slowdown for some people, possibly video driver issues or browser setup issues?
|
|
|
|
|
Logged
|
|
|
|
|
ekun
|
 |
« Reply #9 on: April 18, 2012, 08:32:49 AM » |
|
Everyone should keep in mind that the bottleneck is likely to be your graphics card here, rather than your CPU or RAM.
Nice work! I hadn't realized that tools were available that allow you to port an XNA game to HTML5. Cool.
|
|
|
|
|
Logged
|
|
|
|
|
Hedgehodg
|
 |
« Reply #10 on: May 04, 2012, 02:30:38 AM » |
|
Wow! Very nice to see that cool things are being done with HTML5! It was running > 60FPS for me on Chrome, my PC is no powerhouse - it's mediocre at best.
|
|
|
|
« Last Edit: May 04, 2012, 03:38:55 PM by Darestium »
|
Logged
|
Previously known as "darestium"...
|
|
|
|
Hoope
|
 |
« Reply #11 on: May 04, 2012, 02:47:15 AM » |
|
Runs super smooth on my computer (bought 6 months ago) in Chrome, but I got stuck in the bushes on the upper part and couldn't get out… Fourth level I think. I grabbed a screenshot if you want it.
Also I noticed a few glitches - there's some kind of a very light blob flashing under the main character on certain occasions and here and there I could see gaps between pieces of graphics (for example the ground). Other than that no problems whatsoever.
|
|
|
|
|
Logged
|
|
|
|
|
garlandobloom
|
 |
« Reply #12 on: May 04, 2012, 08:46:20 PM » |
|
Props to Kaelan.
Facepalm on HTML5 though. Why web should be any slower than anything else is mind boggling.
It almost booted the game all the way on an iPad, so if you were wondering about that.
|
|
|
|
|
Logged
|
|
|
|
bluescrn
Level 1
Unemployed Coder / Full-time Indie :)
|
 |
« Reply #13 on: May 05, 2012, 01:39:06 PM » |
|
<10fps in Firefox on a 2008 13" Macbook (Core 2 Duo 2.4Ghz, 4Gb RAM), with frequent long pauses locking up the browser It's Canvas though, which would be a main factor towards the abysmal performance. Would be interested to see how much better it'd be using WebGL? HTML5 is interesting - especially with tools like Emscripten (C++ -> JS). But it just doesn't seem very practical yet for games, especially with MS determined to not support WebGL in IE 
|
|
|
|
|
Logged
|
|
|
|
|
J-Snake
|
 |
« Reply #14 on: May 05, 2012, 08:06:15 PM » |
|
I get around 20-30 fps with firefox. Yeah runs pretty choppy. Music kicks ass, btw.
|
|
|
|
|
Logged
|
Independent game developer with an elaborate focus on interesting gameplay, rewarding depth of play and technical quality. TrapThem
|
|
|
|