PDA

View Full Version : (dc443) My physics asteroids game


CX1329
09-27-2007, 04:51 PM
THIS THREAD WAS ORIGINALLY MADE BY DC443, BUT THERE HAS BEEN A MODERATION ERROR (I CLICKED THE WRONG BUTTON) AND THIS IS BEING POSTED AGAIN. I'll re-post all the replies later, when I come home. I ask for your apologies, it was my mistake.

Not sure why I haven't bothered to post this here earlier...

I worked on this last summer, basically i went to the tokamak game physics engine site, downloaded their SDK, downloaded a sample (the domino's sample demo to be exact), loaded it up in Visual Studio and taught myself openGL, C++ and some physics. Tweaked the hell out of it, made a function to force everything into 2 dimensions... Had a lot of free time then, so this was the result.

Direct link here, game should last you about 20 minutes

some of the instructions pages might have stuff that no longer works. I probably forgot to update that stuff. Basically you have four control schemes, ASWD, Arrows, horizontal mouse rotation, and cursor. Press E to switch between cursor mode and regular control mode... I was doing some playtesting the other day and I realize that the controls can be a bit frustrating, arrows are not good for precise aiming and the mouse just feels off. Maybe someday I'll dig up the source and work on it again.

Oh and press P to pause (displays instructions), Tab for diagnostic views (shows off some of the AI among other things)
Spacebar or left click to shoot, Right click doubles as thrust (A or Up) and middle click for brakes (down, S).
1 - 0 keys choose weapons, available weapons shown along bottom.
V and G to zoom in and out.

Level 2 is the only level in which all 10 weapons are unlocked, each one does something different. I just never got around to making enough levels to allow the player to progress all the way up to the big guns.

have fun...

The link: http://stevenlu.net/Asteroids_v1.0.zip

muffinmonkey
09-27-2007, 05:27 PM
I've said it once, so it is safe to assume I'll say it again

NICE

Relys
09-27-2007, 06:11 PM
There's no link. :downs:

CX1329
09-27-2007, 07:07 PM
The replies:

This should be in the dev feed back zone. But your game is really good. Much better than anything I could do.

Wrong area but wow that game rocks :D

T'would be a FREAKISHLY amazing game with... drumroll, please!

Ship-on-ship battles! That's right, folks, two pilots, one two-dimensional plane, one victor! Step right up for some ship-to-ship, mano-a-mano, eau de fried metal and glass action!

*ahem.*

Anyway, some enemy ships with AI would make it better. I liked it as an asteroids game, but with more ships and a more solid ship construction, it'd be awesome.

WOW this is awesome! Thanks for this game! (Following quote is in response to Xerxes' post)

Well the later levels have that.. kinda basic AI but it works

Theres 15 levels in it. You can skip around using the square-bracket keys.

Feel free to move this thread to whichever forum it belongs in...
Really awesome, you should really work on it again for some bigger mission type levels or something. Great job :D

That is nice

1 problem, everything keeps glitching through walls


Again, I apologise for my mistake, guys.

Xerxes
09-27-2007, 10:10 PM
Wow... for some reason I thought there were only two levels. Sometimes my stupidity is matched only by the liquid Awesome (AW) running through my veins.

dc443
09-28-2007, 03:50 PM
I guess I need to mention that you need a fairly recent computer with a competent graphics chip to run it without it slowing down. Once it slows down past 40 frames per second, the physics is unstable and stuff will glitch through walls.

In my current project I made it slow down the simulation if that happens. But this build is old.

Still, you gotta have at least a Pentium 4 or something. No idea if it runs on integrated video cards (Intel's ones).

digitalmanifestation
10-21-2007, 05:47 PM
this is cool i like it