Welcome Guest [Log In] [Register]
Welcome to Central Pennsylvania Airsoft. This forum serves the Central Pennsylvania Airsoft community, helping to unite players and further promote the growth of airsoft in the area.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
"Nova Combat"
Topic Started: Apr 26 2013, 02:26 PM (244 Views)
Nova
Member Avatar
Polar98 CO
[ *  *  *  *  *  *  *  *  *  *  *  * ]
A month ago, I dusted off Air Combat 3, a game I wrote in Java in 2010 in AP CS. It was the third version of the game (AC2 came out in 2009 and AC1 came out in 2008) and the second written in Java (AC1 was done in VB). The name will be changed for the 4th version. It will be something like Nova Combat or something suitably corny but not horrible. If I pick a name too generic there is already a game out there with that name.

So I am starting with housekeeping. Air Combat 3 was really bad in terms of understanding my own code. Variables named xyz. I think to myself, "I wonder what that could be?" It makes it very hard to follow so I need t reform my naming and commenting, spacing, etc so I can actually read my own work 3 years later. I also need to do something about the repetitiveness and the copy/pasting all over. I need to make a method that will allow all of this to be compacted. Efficiency will definitely help.

Afterward, there's a few bugs from AC3 that need to be figured out. Some new levels should be added. I might even add a death count and a kill count and thus a KDR to compare between accounts. A new interface will be needed to display this. There is already a high scores system but it only shows the #1 player. Getting the game into an applet and hosted online would be excellent. That would take this to the next level for sure. There is lots to do and many new ideas to be come up with. Hopefully I'll find the time to make some more progress.

EDIT: I just found a variable named 'shrub'. It represents an integer value for a loop. It is such a baseless name that I have decided to keep it.
Code:
 
for(int shrub = 0; shrub < enmiss.size(); shrub++) {...}
Edited by Nova, Apr 26 2013, 02:58 PM.
Online Profile Quote Post Goto Top
 
surfer
5000+ posts
[ *  *  *  *  *  *  *  *  *  *  *  * ]
The last game was impressive for a one man job. Make sure you post up a copy when you got something good going.
Offline Profile Quote Post Goto Top
 
Nova
Member Avatar
Polar98 CO
[ *  *  *  *  *  *  *  *  *  *  *  * ]
I will definitely post it up if I'm onto something good. Just reforming the syntax is going to take hours. Lesson learned.
Online Profile Quote Post Goto Top
 
vegas
Member Avatar
"The German"
[ *  *  *  *  *  *  *  *  *  *  *  * ]
Are there any links to the 1st two?
Airsoft Drifter
S.T.A.L.K.E.R. Airsoft Association Content Creator

Regional Events attended:
SOG-MD- Op Sunset
Local Events:
Polar98 events
Op: Snowfall
Offline Profile Quote Post Goto Top
 
Nova
Member Avatar
Polar98 CO
[ *  *  *  *  *  *  *  *  *  *  *  * ]
Not at this time but I might be able to send you a copy.
Online Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Free Forums with no limits on posts or members.
« Previous Topic · Off-Topic · Next Topic »
Add Reply

Current weather conditions in our community

Latest Pequea, Pennsylvania, weather Latest Potter County, Pennsylvania, weather Latest Hagerstown, Maryland, weather

Latest Bellefonte, Pennsylvania, weather Latest York, Pennsylvania, weather Latest Elkins, West Virginia, weather

Latest Gettysburg, Pennsylvania, weather Latest Bedford, Pennsylvania, weather Latest Altoona, Pennsylvania, weather