[FP] asteroids
Do you like my game? (No ending time set) |
Very much |
|
30% |
[ 3 ] |
Somewhat |
|
40% |
[ 4 ] |
So - so |
|
20% |
[ 2 ] |
Not really |
|
10% |
[ 1 ] |
It sucks |
|
0% |
[ 0 ] |
|
Total Votes : 10 |
|
Author |
Message |
zylum
![](http://compsci.ca/v3/uploads/user_avatars/1689129126468091c334ee0.gif)
|
Posted: Sat May 29, 2004 8:54 pm Post subject: [FP] asteroids |
|
|
well here's my FP... i would have made something better but since my partner is lazy he wanted me to program something with a low line count... i decided to redo my asteroids engine. the program ended up being cut in half and is MUCH more efficient so im happy with the result and hes happy cuz he only needs to comment 400 lines as well as make the users guide and programmers guide tell me if you find any bugs
-zylum
edit:
ok i just read the FP rules post so here's the info i need to add:
My program is an emulation of the good old asteroids game. It has 5 different asteroid graphics and a highscore file. I originally made this game 6 months ago with only 1 year of programming experience and it was even better than this one in some ways ie multiplayer. no i am 17 with 2 years of experience.. i decided to ommit the multiplayer aspect to ease the load of work that my partner needs to do. Improvements include a 50% cut in line count, runs MUCH faster (sorry no numbers) you can use an unlimited number of bullets. There is only one thing buggy with the game, at the start of each level it tends to run somewhat slowly because I picMerge the asteroids and since there is a lot of white area, turing has more calculations to make before drawing the asteroid so if you are running on a slow machine i suggest you destroy the big one early on... It even runs much faster with all 27 little asteroids and many bullets on the screen than just 3 asteroids large and no bullets on the screen. another good feature of the game is the collision detection: it is very accurate. there are 16 points around the ship and when an asteroid is near enough the ship then it is checked whether it collides with any of these points, this is a major improvement from my old game which checked every loop all the asteroids with all the points.
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
AsianSensation
|
Posted: Sat May 29, 2004 9:00 pm Post subject: (No subject) |
|
|
very cool, best game FP I have seen so far.
It's getting interesting, the FP contest, The end of year is approaching fast, and more people might submit their game, so watch out zylum, you might have competition soon.
btw, add a poll for people to vote on.
|
|
|
|
|
![](images/spacer.gif) |
zylum
![](http://compsci.ca/v3/uploads/user_avatars/1689129126468091c334ee0.gif)
|
Posted: Sat May 29, 2004 9:19 pm Post subject: (No subject) |
|
|
thanks
and poll is added
|
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Sat May 29, 2004 9:53 pm Post subject: (No subject) |
|
|
not bad, but controls should be finetuned. I think the turns and acceleration are way to slow right now. The ship should be more mobile.
and maybe put a little more effort into the graphics. Have some animations for the ship engines and asteroys breaking up.
Right now the game looks kinda plane
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
zylum
![](http://compsci.ca/v3/uploads/user_avatars/1689129126468091c334ee0.gif)
|
Posted: Sat May 29, 2004 10:00 pm Post subject: (No subject) |
|
|
yeah i admit it really is quite plain especially for my abilities... its due on moday so my friend needed it by today and i procrastinated(wrote the whole thing today) big time so this is all i came up with. i agree with you about the controls and udated the file
|
|
|
|
|
![](images/spacer.gif) |
Paul
![](http://i12.photobucket.com/albums/a207/paulbian/DDRDuck.png)
|
Posted: Sat May 29, 2004 10:30 pm Post subject: (No subject) |
|
|
Very nice Zylum.
I don't think its plain, other than the lack of an exaust trail, otherwise I think its great, good graphics too.
|
|
|
|
|
![](images/spacer.gif) |
rhomer
![](http://csatweb.csatolna.hu/tagok/csa/magvasart/homer_3d.jpg)
|
Posted: Sun May 30, 2004 1:24 pm Post subject: (No subject) |
|
|
Really Coll...I really like the interface and i like the physics
|
|
|
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: Thu Jun 03, 2004 7:23 pm Post subject: (No subject) |
|
|
uh oh.
I had some problems with your program
1.) I was invincible - well, almost. almost all of the asteroids passed right through me, I only died after about 10 asteroids passing through me. is this a feature or a bug? (do I have a shield? )
after looking more closely at it, it appears as though only one of the original three asteroids actually kills me, the other two just stop me from moving. I think that only the asteroids produced from the original asteroid that could kill me, can kill me.
2.) Rotation and movement are really fast. I can go at warp speed and can't tapping the right or left arrow turns me really far (I can't turn less than 15 degrees at a time).
physics is good though
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Paul
![](http://i12.photobucket.com/albums/a207/paulbian/DDRDuck.png)
|
Posted: Thu Jun 03, 2004 7:41 pm Post subject: (No subject) |
|
|
Well, it works fine for me, I think its because on ur PC it's too fast, if you'll look to the top left corner, you can see ur lives reducing, you start with 3 lives lol, that might explain why u die on the third asteroid.
|
|
|
|
|
![](images/spacer.gif) |
zylum
![](http://compsci.ca/v3/uploads/user_avatars/1689129126468091c334ee0.gif)
|
Posted: Thu Jun 03, 2004 8:17 pm Post subject: (No subject) |
|
|
yeah, i forgot to add a delay for faster computers
anyways, as PaulBian said, when an asteroid hits you, the screen flashes red and then you cant move until the area is clear aswell you lose a life...
here's the update source, if it's still too fast then change the constants to suit your fancy and/or change the delay in the main loop...
-zylum
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
asteroids_02.t |
Filesize: |
12.35 KB |
Downloaded: |
634 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
|
|