Author | Message | Time |
---|---|---|
JoeTheOdd | Yeah, I got bored and got some good progress on a Warcraft thingy. I'm making the focus on it being nice and clean. Each unit type will be a class, each with its own statistics class. The stats class tracks its hitpoints, mana, etc. I don't know if I really intend to make this playable, but if I do, it will be nowhere near remotely pretty. Right now, I plan to make the units be little squares running arround the form. Right now, I've pretty much finished the peon unit. Once his class is laid down, the rest is copy + paste heaven from then on until I hit the UI. Thats when the project dies. If anybody wants to contribute any ideas to the project, or request further information, I'm on AIM, Yahoo, MSN, and you can always PM me here. | May 25, 2005, 3:16 AM |
Newby | Why are you going to waste time on a project if you aren't going to complete it .. ? And why are you writing a game in Visual Basic .. ? | May 25, 2005, 1:31 PM |
Networks | Perhaps a good learning experience but find it to be a waste of time to create a game that is already made and WILL definetly be better then what he may create =\. | May 25, 2005, 1:49 PM |
Tontow | Or perhaps he could make it open source when hes tired of it? | May 25, 2005, 4:25 PM |
Myndfyr | Something that stands out to me is that you're making a stats class that is independent from the unit itself. Every unit has certain features -- HP (and some MP) for example. Instead of having an independent class that tracks a unit's stats, try a tree like this: class Unit |--property HP (integer) |--property Region (some type of region information for pathing/collision tests) |-->class CasterUnit | --property MP (integer) |------>class HeroUnit --property Agility (integer) --property Strength (integer) --property Intellect (integer) --property Name (string) | May 25, 2005, 10:25 PM |
JoeTheOdd | This is WarCraft 1 for now. I'm doing more of a.. Unit Class { Constants (Max Health, Max Mana, Build Cost (Wood/Gold) Functions (GetName, GetRace, etc.) Statistics Sub-Class { Current HP Current MP Kills etc } } EDIT - I suppose I didn't mention that I will have a single statistics class. The class will be created by each unit upon its creation on the field. The class itself, at design time, will be a single file. | May 27, 2005, 10:23 PM |