Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > MacNN Lounge > 3D FPS game in your browser, really cool.

3D FPS game in your browser, really cool.
Thread Tools
Clinically Insane
Join Date: Dec 1999
Status: Offline
Reply With Quote
Nov 27, 2005, 02:31 PM
 
http://www.abrahamjoffe.com.au/ben/canvascape/

Now THAT'S cool. I've been waiting to say this: Requires FireFox, Safari, or Opera; does not work with Internet Explorer.
"…I contend that we are both atheists. I just believe in one fewer god than
you do. When you understand why you dismiss all the other possible gods,
you will understand why I dismiss yours." - Stephen F. Roberts
     
Addicted to MacNN
Join Date: Nov 2005
Location: President Skroob's Office
Status: Offline
Reply With Quote
Nov 27, 2005, 02:51 PM
 
What's the big deal? I don't get it.

"She's gone from suck to blow!"
     
Professional Poster
Join Date: Jul 2003
Location: Canada
Status: Offline
Reply With Quote
Nov 27, 2005, 03:02 PM
 
and how do I shoot my name into the wall?
(I like where this project is going tho.)
     
Mac Elite
Join Date: Apr 2005
Location: Las Vegas, NV
Status: Offline
Reply With Quote
Nov 27, 2005, 03:33 PM
 
Well I'm with Dark Helmet on this one... its not a huge deal.

Haven't we been able to do 3D within browsers for a while now?

At any rate, the incompatability with IE kicks ass! They should get one of those "TOO COOL for IE" badges!

"In a world without walls or fences, what need have we for windows or gates?"
     
Posting Junkie
Join Date: May 2001
Location: Brisbane, Australia
Status: Offline
Reply With Quote
Nov 27, 2005, 06:57 PM
 
Yes we have. I played 3D racing games in the browser in 2000.

[ fb ] [ flickr ] [] [scl] [ last ] [ plaxo ]
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Nov 27, 2005, 08:11 PM
 
As far as I can tell, it's pure JavaScript, and THAT is cool! Years ago, browsers wouldn't have been running on computers with enough CPU performance to do that in JS.

It would also explain the incompatibility, since IE doesn't actually support JavaScript (it supports only an MS bastardization of JavaScript called JScript).

tooki
     
Addicted to MacNN
Join Date: Nov 2005
Location: President Skroob's Office
Status: Offline
Reply With Quote
Nov 27, 2005, 08:20 PM
 
Remember Quickdraw 3d? That was impressive on 75MHz. Not this.

"She's gone from suck to blow!"
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Nov 27, 2005, 10:07 PM
 
Yep, but it was written as a 3D API. JavaScript is a slow interpreted general purpose scripting language. Performance will be vastly lower on a given piece of hardware than a purpose-specific API.

tooki
     
Posting Junkie
Join Date: Jun 2003
Location: Dangling something in the water… of the Arabian Sea
Status: Offline
Reply With Quote
Nov 27, 2005, 10:24 PM
 
OMG it makes me want to rip my hair out it's so slow... at least on my iBook 1.33.
     
Professional Poster
Join Date: Jul 2003
Location: Canada
Status: Offline
Reply With Quote
Nov 28, 2005, 12:43 AM
 
uh...it's pretty qick on my PB 1ghz
     
Addicted to MacNN
Join Date: Nov 2005
Location: President Skroob's Office
Status: Offline
Reply With Quote
Nov 28, 2005, 12:46 AM
 
Originally Posted by brapper
uh...it's pretty qick on my PB 1ghz
Pretty damn slow on my Dual G5.

"She's gone from suck to blow!"
     
Mac Elite
Join Date: Jan 2003
Location: NYC
Status: Offline
Reply With Quote
Nov 28, 2005, 01:36 AM
 
Safari runs it horribly slow, but it runs quite nicely in Firefox on my iMac G5 2.0. an impressive use of javascript, certainly, but i don't know how practical it is

"I start fires!"
     
Baninated
Join Date: Apr 2001
Location: Dead whale
Status: Offline
Reply With Quote
Nov 28, 2005, 02:27 AM
 
why a gun? why not a fork? :/
     
Clinically Insane
Join Date: Dec 1999
Status: Offline
Reply With Quote
Nov 28, 2005, 10:48 AM
 
Here's Quake 2 written in Java:

http://www.bytonic.de/html/jake2.html

You could embed the applet in a webpage and play it there. It even supports multiplayer and everything.
"…I contend that we are both atheists. I just believe in one fewer god than
you do. When you understand why you dismiss all the other possible gods,
you will understand why I dismiss yours." - Stephen F. Roberts
     
Mac Elite
Join Date: Jan 2004
Location: Berkeley, CA
Status: Offline
Reply With Quote
Nov 28, 2005, 12:50 PM
 
So, a replacement PowerBook that I got a few months ago has felt very slow the entire time I've had it, considering that it is 1.67GHz/512MB. With essentially nothing else open, I get 1fps on this game in Safari. Does that confirm the speed issue?

Edit: Nevermind. Looks like it's only fast on Firefox according to the above posts.
"Give me a lever long enough and a fulcrum on which to place it, and I shall move the world." -Archimedes
     
Dedicated MacNNer
Join Date: May 2001
Location: Ze goggles, zey do nothing
Status: Offline
Reply With Quote
Nov 28, 2005, 01:48 PM
 
It isnt supposed to compete with the likes of the Java Quake or other games. Rather, it is an example of some of the cool vector stuff you can do with the <canvas> tag.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 28, 2005, 01:53 PM
 
Yeah, the point is that this is not developed as a full-fledged program, it doesn't require any plugins — it's a Web page that you can play.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Clinically Insane
Join Date: Dec 1999
Status: Offline
Reply With Quote
Nov 28, 2005, 02:59 PM
 
I have no problems running that webpage just like a normal game on my 1.67GHz PowerBook with Safari. Is yer OS X fully updated?
"…I contend that we are both atheists. I just believe in one fewer god than
you do. When you understand why you dismiss all the other possible gods,
you will understand why I dismiss yours." - Stephen F. Roberts
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 28, 2005, 03:04 PM
 
Originally Posted by tavilach
So, a replacement PowerBook that I got a few months ago has felt very slow the entire time I've had it, considering that it is 1.67GHz/512MB. With essentially nothing else open, I get 1fps on this game in Safari. Does that confirm the speed issue?

Edit: Nevermind. Looks like it's only fast on Firefox according to the above posts.
It's slow on my last-gen 1.5 GHz PowerBook, but not 1 fps slow. It's more like 5 fps.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Nov 28, 2005, 03:18 PM
 
Originally Posted by olePigeon
Here's Quake 2 written in Java:

http://www.bytonic.de/html/jake2.html

You could embed the applet in a webpage and play it there. It even supports multiplayer and everything.
Java ≠ JavaScript. (The only thing they share is the name, and even that is wrong: JavaScript's real name is ECMAscript.)

The point, as MaxPower said, is that this is done purely in the browser, with no plugins needed.

tooki
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Nov 28, 2005, 03:32 PM
 
It doesn't work on Firefox for Windows...and that's all I have where I am right now.
Glenn -----
OTR/L, MOT, Tx
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Nov 28, 2005, 03:42 PM
 
It should work fine on version 1.5. You are probably running some variant of 1.0.

tooki
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 28, 2005, 03:42 PM
 
Originally Posted by ghporter
It doesn't work on Firefox for Windows...and that's all I have where I am right now.
Are you using the 1.5 Release Candidate? It doesn't work on 1.0.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Nov 28, 2005, 04:03 PM
 
I'm using version 1.0.7. I wasn't aware that there was a new release candidate, let alone one in the 1.5 range. If 1.5RC3 is running well, I may have to give it a try.
Glenn -----
OTR/L, MOT, Tx
     
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Nov 28, 2005, 04:51 PM
 
That's pretty ****ing amazing... I didn't know javascript could do that. Why is it that all this **** with javascript is only happening now??? It's been around for years (including AJAX).
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 28, 2005, 04:57 PM
 
Originally Posted by itistoday
That's pretty ****ing amazing... I didn't know javascript could do that. Why is it that all this **** with javascript is only happening now??? It's been around for years (including AJAX).
Browsers are just now starting to become sufficiently compatible that people actually feel it worthwhile to experiment with JavaScript. Until recently, it had been considered kind of an unreliable toy.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Addicted to MacNN
Join Date: Nov 1999
Location: Madison, WI
Status: Offline
Reply With Quote
Nov 28, 2005, 09:45 PM
 
This is cool because it is not Java/Flash.

The math involved must be crazy
     
Professional Poster
Join Date: Jun 2005
Location: Yamanashi, Japan
Status: Offline
Reply With Quote
Nov 29, 2005, 03:26 AM
 
Hey cool. Did you guys know you could like view videos in webpages! Holy wow! Next thing you know you'll be able to listen to music over the web. How crazy.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 29, 2005, 12:22 PM
 
Originally Posted by JoshuaZ
Hey cool. Did you guys know you could like view videos in webpages! Holy wow! Next thing you know you'll be able to listen to music over the web. How crazy.
Did you know that writing a little bit of code that passes a movie URL to a QuickTime plugin is way less impressive than this? Now, if somebody actually wrote a movie player in HTML + JavaScript, then you would be onto something cool.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Nov 29, 2005, 12:29 PM
 
Originally Posted by JoshuaZ
Hey cool. Did you guys know you could like view videos in webpages! Holy wow! Next thing you know you'll be able to listen to music over the web. How crazy.
You don't get it. This is the browser running the game 100%. It's not the browser calling another program (like Java, Flash, etc) and passing the game off to it.

tooki
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2