Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: OMG! Civilization in HTML5!  (Read 6738 times)

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
OMG! Civilization in HTML5!
« on: May 30, 2010, 01:15:19 am »

http://www.freeciv.net

Haven't tried playing it myself yet, but it's a port of the open-source freeciv. A port to HTML5. So it runs, entirely in your browser, without Flash.

Spoiler: about freeciv (click to show/hide)

Spoiler: about HTML5 (click to show/hide)

I, for one, admire it as quite a technical achievement... Civ is by no means a simple game, and porting it from C to HTML5 was surely no easy task.

What's next? Half-Life in HTML5?

EDIT: apparently, you need an account to play...
« Last Edit: May 30, 2010, 01:44:05 am by SolarShado »
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

Blacken

  • Bay Watcher
  • Orange Polar Bear
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #1 on: May 30, 2010, 01:21:09 am »

A 3D game to the tune of half-life would require a sane HTML5 3D rendering API that actually worked effectively and consistently across multiple platforms. And a decent method for playing sounds through it. (Even Google's Pac-Man game required Flash to play sound.)

Neat trick though, for a 2D game like Freeciv.
Logged
"There's vermin fish, which fisherdwarves catch, and animal fish, which catch fisherdwarves." - Flame11235

Phmcw

  • Bay Watcher
  • Damn max 500 characters
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #2 on: May 30, 2010, 04:54:48 am »

3D engine work in Html5 the demo I saw looked like the old doom though. Nothing fancy but still neat.
It looks like flash is dieing.
Good thing.
Logged
Quote from: toady

In bug news, the zombies in a necromancer's tower became suspicious after the necromancer failed to age and he fled into the hills.

Googolplexed

  • Bay Watcher
  • My avatar is of whitespace, Not the firefox logo
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #3 on: May 30, 2010, 05:44:10 am »

Theres nothing to stop you from doing 3d with just canvas and a bit of javascript.

What it is lacking is 3d acceleration, which would bring half-life to slower then a crawl
Logged

smigenboger

  • Bay Watcher
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #4 on: May 30, 2010, 10:15:44 am »

Yeah I was wondering if flash is holding us back from further development, especially for the amatuer flash makers.
Logged
While talking to AJ:
Quote
In college I studied the teachings of Socrates and Aeropostale

atomicwinter

  • Bay Watcher
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #5 on: May 30, 2010, 10:58:08 am »

I'm confused does this mean they are programming it in HTML5? Or are they just utilizing HTML5 technology with say Javascript?
Logged

Blacken

  • Bay Watcher
  • Orange Polar Bear
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #6 on: May 30, 2010, 11:08:39 am »

Yeah I was wondering if flash is holding us back from further development
It's not. Common mistake, but it's not. Flash provides something extremely powerful that HTML5 will not have: consistency. There are multiple, legal ways to actually implement large chunks of HTML5 that are utterly incompatible as per the standard. It is JavaScript hell all over again.

Flash, for all its warts--and believe me, it has many, I've developed for it enough to hate it--gives the developer, and thus the user, something of a contract. Flash says, "if you make something with our tools, it will work on all our supported platforms in essentially the same way." And for the most part, it does. HTML5, while an admirable attempt, does not. It doesn't help that the entire HTML model is a fucking joke and limits what the web can actually do; a system designed for static documents is being bent into applications it's simply not intended for and the failures of it show quite well.

3D engine work in Html5 the demo I saw looked like the old doom though. Nothing fancy but still neat.
It looks like flash is dieing.
Good thing.
Yes, I'm sure such a staunch open-source advocate would rather not have a single reference platform that actually works more or less the same in all environments.

You can draw your own conclusions as to why.



Theres nothing to stop you from doing 3d with just canvas and a bit of javascript.

What it is lacking is 3d acceleration, which would bring half-life to slower then a crawl
And all of the WebGL-type APIs out there just scream "come on, hack me." Such a security nightmare.
Logged
"There's vermin fish, which fisherdwarves catch, and animal fish, which catch fisherdwarves." - Flame11235

Servant Corps

  • Bay Watcher
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #7 on: May 30, 2010, 02:52:16 pm »

The problem is that I have to download Flash's stupid upgrades all the time, and I can't even use Flash on the IPad (thanks Apple!). At least you can easily use HTML without downloading anything other than a web browser.
Logged
I have left Bay12Games to pursue a life of non-Bay12Games. If you need to talk to me, please email at me at igorhorst at gmail dot com.

kuro_suna

  • Bay Watcher
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #8 on: May 30, 2010, 05:41:18 pm »

Flash, for all its warts--and believe me, it has many, I've developed for it enough to hate it--gives the developer, and thus the user, something of a contract. Flash says, "if you make something with our tools, it will work on all our supported platforms in essentially the same way." And for the most part, it does. HTML5, while an admirable attempt, does not. It doesn't help that the entire HTML model is a fucking joke and limits what the web can actually do; a system designed for static documents is being bent into applications it's simply not intended for and the failures of it show quite well.

Personally I'm still pinning my hopes on silverlight.
Logged

MrWiggles

  • Bay Watcher
  • Doubt Everything
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #9 on: May 31, 2010, 02:31:17 am »

Flash is being outmoded. Adobe is the only big guy pushing for Flash, and that suspect. Flash isn't growing where smart phones, and computing it heading towards.

Steve Jobs letter of explanation for his middle finger to Flash are legitimate. If they weren't Adobe would be suing Apple right now. Microsoft is also siding with Apple on its use of Flash as is Google.

Flash is awesome. Or was awesome, or is becoming was awesome? Anyway. Flash could be whats needed by computing.

HTLM5 is still in its infancy, and its getting there. With Apple, and Google openingly supporting it, it will be the next top dog, probably.

Anybody else notice that FreeCiv.net is CPU intensive as all fuck?
Logged
Doesn't like running from bears = clearly isn't an Eastern European
I'm Making a Mush! Navitas: City Limits ~ Inspired by Dresden Files and SCP.
http://www.bay12forums.com/smf/index.php?topic=113699.msg3470055#msg3470055
http://www.tf2items.com/id/MisterWigggles666#

MetalSlimeHunt

  • Bay Watcher
  • Gerrymander Commander
    • View Profile
Re: OMG! Civilization in HTML5!
« Reply #10 on: May 31, 2010, 10:23:24 pm »

Ah yes, HTML5. The very same HTML5 that was originaly predicted to be not viable for civilian computers untill 2025. Oh how the mighty have fallen.
Logged
Quote from: Thomas Paine
To argue with a man who has renounced the use and authority of reason, and whose philosophy consists in holding humanity in contempt, is like administering medicine to the dead, or endeavoring to convert an atheist by scripture.
Quote
No Gods, No Masters.