News | Forum | People | FAQ | Links | Search | Register | Log in
Quake Ported To Flash, Play In Your Browser
Someone named Michael Rennie has ported Winquake to Flash. It has been bundled up with the shareware episode, so you can play all of episode 1 in your browser using mostly tolerable mouselook controls (click and hold to mouselook.) Read more at Quaddicted.

Play Here: http://www.quaddicted.com/engines/files/quake-flash.swf
Source Code: http://github.com/mkr3142/QuakeFlash
Compile Info: http://github.com/mkr3142/QuakeFlash/blob/master/readme_QuakeFlash.txt

Thanks to Spirit for the original story and Baker for finding the source code.
First | Previous | Next | Last
 
Anyway... this thing is fairly useless imho.
Just a little rant against flash. I installed flash block for firefox, and it's great to block out the hoards of obnoxious ads.
https://addons.mozilla.org/en-US/firefox/addon/433 
 
It's useless because you don't like flash? Doesn't sound logical. 
Its Not Very Good IMO Because 
there seems to be input and sound delay.
Which kinda sucks! Apart from that I love it, and when I finally get round to making my "Uber Quake Maps" website for my portfolio I would love to embed a playable version of a couple of them into the site :)

But the input delay on my sys is a bit of a bummer :( And the sound delay :(( 
 
Flash is great really. I bought machinarium the other day (bloody bloody tricky thing&^%$), first linux game i've paid for in years.

It's the constant ads everywhere i don't like. And when it's slowing down your almost-light-speed hardware because it's such a resource hog. 
 
instead of flash-block, try ad-block. I have the same problem with multiple flash ads slowing down my computer, and the blame is squarely on the people making the ads. There's no incentive to optimize your ad when it's going to go on someone elses's website alongside 3 other flash ads from other companies. 
@Ricky: Sound Delay = Gone 
Michael Rennie made a change a couple of days ago to either reduce or eliminate the sound delay:

http://cloud.github.com/downloads/mkr3142/QuakeFlash/QuakeFlash.swf

He also added volume control (volume cvar, in other words the volume slider works).

Can't tell you about the input delay, but I'm trying to think of ways that the mouse input can be improved.

Furthermore, although there isn't a Flash 3D API version of this, I may end up trying to port Spike's 24-bit color software renderer in FTEQW to Flash. This would mean that, among other things, a Half-Life type of map could be utilized. (FTEQW's software render is neat, it can even do decals, heh). 
That Seems A Lot Better, But 
I have to hold mouse 1 down all of the time to get the mouselook to work. So I cant fire with the mouse. And when I press Ctrl+one of the w,s,a or d keys, it closes my browser!
Not sure the exact combo that does that.
If I could get past the mouse problem it would be perfect! The sound + input delay has gone :D 
Mouse 
Quake has 2 methods of handling the mouse:

1. Normal: It actually captures the mouse pointer and re-centers it in the middle of the Quake window constantly.

2. DirectInput (Windows): Direct mouse input capture; no need to recenter mouse.

I don't know a ton about Flash but I imagine that Flash has no mechanism to "capture" or relocate the mouse pointer (nor would someone want Flash to be able to do this! Imagine annoying Flash ads using that.)

So the traditional ways that Quake handles the mouse aren't available.

I'm wondering if there isn't another way to handle the mouse input ... but no time to play around with that at the moment. 
Ya 
when the mouse pointer reaches the ends of the computer screen it makes you stop turning

a mouse capture dealio would be great 
 
Mouse capture is impossible. Flash doesn't support this since it is a security risk.

And it appears capturing mouse movement when the mouse isn't over the Flash window is impossible.

But I just tried something that makes things a lot better.

Apparently capturing MOUSE2 is a non-starter, Flash doesn't support that since some platforms don't have a mouse 2.

Mouse wheel capture is possible, doesn't seem to be implemented in Flash Quake.

And Ricky's CTRL + W etc are browser shortcut keys like CTRL + Q = quit. 
Less Annoying Mouse Aiming Version ... 
Interesting 
Getting warmer methinks. Problem is that if you turn say left, then left, then left, and left again for example the mouse goes off the end of the screen.
Also I was getting a very jerky mouse movement.
A bit like input lag but more just jerky.

I read what was said about it being impossible to lock the mouse into a flash object for security reasons, and I thik that is a shame. But I can see why it is like that also.

In an ideal world the solution would be that the mouse pointer re-appears when the player accesses the menu or the console. So when you press escape, you are free to close the window. 
Platforms +1 
Google Android Quake (Motorola Droid)

http://code.google.com/p/glesquake/

Developed by Jack Palevich, ironically who is the developer of the original Direct3DQuake, haha. 
Molehill 
Flash is getting a hardware-accelerated 3D in an upcoming version. Code name is "Molehill", and it's basically a new API that is backed by OpenGL or D3D depending on the platform.

http://www.adobe.com/newsletters/edge/january2011/articles/article1/index.html

This means that anything you wanted to do with Quake in flash could now be done with hardware-accelerated graphics. Picture Fitzquake or DirectQ quality graphics and framerate in flash.

Porting could begin now with the beta code available. I haven't touched it yet because it already takes like 10 different package installs just to compile the current flash quake (cygwin, flashdevelop, alchemy, flex, java, etc...) and I haven't had much time to bother with it. 
Does That 
mean that sites that use flash willy nilly will also load up faster? 
I Wouldn't Count On A Good Implementation 
the new flash with d3d support crashes if you switch on "break on error" in the debug panel ;-) 
 
nitin: it would only speed up rendering, not loading. And it will only benefit flash applets that are (re-)written to use the new API. 
Thanks 
not much to expect on that front then. 
Nitin: 
adblock plus takes care of most of those issues for me. 
Will Look Into That 
thanks! 
Metl 
you just made my day mate, cheers! Works great. 
For Flash 
Blitting is the new hotness. 
Someone Used Molehill On Q3 Already, Apparently: 
http://q3fl.impulse12.com/

Also includes a lengthy discussion of the issues using Molehill for GLQuake and Quake 3. 
I'm Sure Flash Will Eventually ... 
... be a decent alternative to 3D single player games but they are still ironing out the problems.

They need to do something reasonable with mouse capture for starters (still not available really) and it is tough to deal with the long download times (although the game data for Quake based games isn't internet optimized.)

Games like Runescape do a pretty good job, but have to have some sort of Java backend layer to do the networking.

I'm sure Flash will eventually be an FPS capable platform. They clearly want to go there. 
I Hope Not 
 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.