Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

878462 Posts in 32924 Topics- by 24335 Members - Latest Member: Pix3M

May 22, 2013, 12:02:09 AM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)I ported an XBox Live Indie Game to HTML5
Pages: [1] 2
Print
Author Topic: I ported an XBox Live Indie Game to HTML5  (Read 1352 times)
Kaelan
Level 1
*


Malcontent

janus@luminance.org
View Profile WWW Email
« 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-scenes

And 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
Level 1
*



View Profile WWW Email
« 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
Level 10
*****


Fear the CircleCat


View Profile WWW
« 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
Level 10
*****


Notorious posts editor


View Profile WWW Email
« Reply #3 on: April 17, 2012, 06:00:14 AM »

Quote
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
Level 1
*


Malcontent

janus@luminance.org
View Profile WWW Email
« 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
Level 10
*****


here i am to save the day... or wreck it


View Profile WWW Email
« 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
Level 10
*****



View Profile WWW
« 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

http://www.klaimsden.net | Game : NetRush | Digital Story-Telling Technologies : Art Of Sequence
John Sandoval
Level 10
*****


too kawaii to live


View Profile WWW
« Reply #7 on: April 17, 2012, 10:03:37 PM »

<30 fps on a pc with 12 gigs of ram
Logged

Raptor85
Level 2
**

126746725
View Profile WWW Email
« 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

cross-platform rapid development game engine
Currently running a kickstarter to fund development of Aether
ekun
Level 0
**


nop


View Profile WWW
« 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
Level 1
*


...


View Profile Email
« 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
Level 0
**


hi


View Profile
« 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
Level 0
***



View Profile WWW Email
« 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 :)


View Profile WWW
« 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 Sad
Logged

J-Snake
Level 10
*****



View Profile WWW Email
« 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
Pages: [1] 2
Print
Jump to:  

Theme orange-lt created by panic