  YBoris
join:2001-06-01 Old Bridge, NJ
| Gravity Wars [PC]
 game screenshot |
Hey everyone; I've been on these forums for years, and I thought you may find this little game I wrote enjoyable 
Gravity Wars is not my original concept, there is an old Amiga and Mac versions, along with some very old PC versions that are not pleasing to play. As I have enjoyed playing it on a Mac with my friend I decided to code a PC version.
Please let me know what you think and how to improve it.
»gravitywars.yboris.com
I recommend playing with a friend; playing against yourself is not even half as fun. -- »www.yadus.com
|
|
 Jigglyware Gelatin based computing
join:2006-01-09 | Wat? No AI? If the game concept is as old as you say, there should have been enough time to develop some.  |
|
  YBoris
join:2001-06-01 Old Bridge, NJ
| said by Jigglyware :Wat? No AI? If the game concept is as old as you say, there should have been enough time to develop some. Time alone does not make things happen - you need human imput 
If anyone is a coder - I welcome improvements to my version of the game  -- »www.yadus.com
|
|
 Jigglyware Gelatin based computing
join:2006-01-09 | Ah, you have the code available? Well, I guess I could take a look. If nothing else, I might be able to figure out why the screen goes white all the time. |
|
  sapo Computer Love Premium join:2002-09-16 Sacramento, CA | »gravitywars.yboris.com/code.html |
|
  YBoris
join:2001-06-01 Old Bridge, NJ
| reply to YBoris Wikipedia
If anyone has any contribution to the Wikipedia page - please add something:
»en.wikipedia.org/wiki/Gravity_Wars
If you know anything about the history of this game - share!  -- »www.yadus.com
|
|
  Abu
join:2001-05-17 Miami, FL
| reply to YBoris Re: Gravity Wars [PC]
I briefly checked your game out - pretty neat! A few things about what you're looking to do with code (I didn't look at your source code, but this should still apply):
You don't need threads to have multiple projectiles drawn / paused. Make your projectiles objects and have the shoot function create a new projectile object which belongs to the player/ship. You should use objects for planets/ships as well so you can check for collision. Object-oriented code makes everything you want to do much easier.
Check out XNA if you want to make your game look really snazzy. It's a free game engine that is awesome for individuals. »en.wikipedia.org/wiki/Microsoft_XNA |
|
  YBoris
join:2001-06-01 Old Bridge, NJ
| said by Abu :... Object-oriented code makes everything you want to do much easier. Check out XNA ... Thank you for the suggestion, but after downgrading to Visual C# 2005 (from 2008), installing over 300MB of stuff (Service Pack 1) and finally the XNA thing - I tried to run a blank game (create new -> debug) and here is what I got:
"Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater"
I want my game to be playable on the worst of systems - so it seems like XNA is not for me 
But your suggestion of OOP - I LIKE IT !!! I forgot I could just call it an object and create new ones non-stop. Not my coding skills aren't up to that yet - but in theory I understand how it would work 
THANKS  -- »www.yadus.com
|
|
  YBoris
join:2001-06-01 Old Bridge, NJ
| reply to YBoris Flash Version !!!
I'm proud to announce a super-buggy version of the game in FABULOUS FLASH 
»gravitywars.yboris.com/ »gravitywars.yboris.com/flash.html
w00t 
anyone feeling like fooling around with my code - the .fla file is there  -- »www.yadus.com
|
|
 KCP
join:2008-06-21 Pearl River, LA | reply to YBoris Re: Gravity Wars [PC]
this is a bad ass game for a physics major. i wish i was. very good job :P i enjoyed the 3 hours i played it by myself. 25:16 |
|
 GunnarDanne
join:2002-12-02 Crown City, OH | reply to YBoris One thing I noticed in the flash version (haven't played the exe) is that you can have f > 3 but it can be any negative number. |
|
  YBoris
join:2001-06-01 Old Bridge, NJ
| said by GunnarDanne :... you can have f > 3 but it can be any negative number. OH BOY !!! I completely forgot about the negative numbers!!! great catch 
I should really limit the force at a higher number (and have it tied to the total mass of all the planets ... but I didn't feel like working with it). I'll probably fix the negative number thing though 
said by KCP :...i enjoyed the 3 hours i played it by myself. 25:16 Thanks! I'm glad people are enjoying it  -- »www.yadus.com
|
|
 KCP
join:2008-06-21 Pearl River, LA
| reply to YBoris this was my BEST single shot that i have had yet. it took about...5-10 minutes to finally hit the planet. |
|
  YBoris
join:2001-06-01 Old Bridge, NJ
| reply to YBoris NEW version 0.991
Hey guys - I included "blackout party" mode in the options menu; when enabled it makes all planets invisible until the round is over. It changes the gameplay - as one is expected to guess the location of planets through curvature and end-points of the projectile paths. I hope it's as fun as I think.
RECOMMEND STUFF!!! I will be grateful for any recommendations on how I can add to the game. -- »www.yadus.com
|
|