![]() |
#41 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: ,
Posts: 250
|
![]() well this took off in a few hours - this forum could also double up as a programmers Q and A area where you guys can exchange tips, code etc on programming of GPL games etc.
You can organise in small groups or a larger project - it is a natural fit on teh side for abandonia - anyone got a small game that could be used as a base start any game type i guess would be welcomed and people could add stuff to it. This is exciting = any frustrations well jus agree to hit it from another angle i guess. So lets get started. |
||
![]() ![]() |
|
![]() |
#42 | ||
![]() ![]() ![]() Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
|
![]() Alright. Let's see what we need for the very basic of the strategy game...
1) A gamefield 2) Two players 3) One unit-type for each player 4) One building-type for each player 5) A way to either place a building or move a unit 6) Winning condition As for an explanation of each part... 1) Gamefield Easiest to start off, would be to make it in squares. Tile-based, but without the isometric view. Each tile has two sets of values, one representing which player occupies that square and one which unit type of it is there. If nothing's on it, playertype is 0, so there's no need to check for the unit type. I suggest using a double array for this. If the tile's occupied, it'll check the first part of the double array (which player occupies it). When this value's different than the current player, the unit'll attack. Otherwise, it won't do anything. 2) Two players Standard two players, switching turns whenever a player has either built something or moved a unit. 3) The unit-type The unit-type exists out of four values (for now):
4) One building-type The building-type exists out of three values (for now):
Building time is the amount of time left before a new unit is made by this building. If it is higher than 0, you can't make a new unit yet. There'll have to be a function which'll run through all buildings of the player whose turn it is next and checks for the building time variable, then substracts 1 from it if it's bigger than 0. 5) Movement Highlighting a square with the cursors, then selecting it and pressing either B to build, M to move or R to recruit would work. C would be used for Cancel. When moving, pressing M again will move that unit to that spot, if it can (or attack that spot if needed). We can change this afterwards to one button, which brings a menu up, or to work with the mouse. 6) Winning At the end of each turn, it'll check if the player whose turn it's about to be has any units or buildings on the playfield. If not, the player that ended its turn, wins. Is this a good start for it, or did you have anything else in mind? |
||
![]() ![]() |
|
![]() |
#43 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() awww a Turn based Stratagy? Why not RTS? Thoes requier more skill! Also what is the setting? Is it a modern war? a ancient empire? Progression through history (Civ and EE)?
|
||
![]() ![]() |
|
![]() |
#44 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: ,
Posts: 250
|
![]() ive got an idea someone give us a basic game that runs. give it to abandonia to upload + source files. Keep it basic then see who works on it LOL - its all very open ended and why not a turn based and a RTS to get us rolling.
|
||
![]() ![]() |
|
![]() |
#45 | ||
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: ,
Posts: 60
|
![]() No way on an RTS, those are for the click happy, it takes more wits for a turn based, i'm with Tiki on that.
Man, i take off for school for a few hours and this whole thing exploded, so are we gonna do it in C++ or Java? Quote:
EDIT: Re to goblin, i could probally put something descent together with C# using the GDI, but i don't know how many people here are keen on the idea of .Net. Any Votes? |
||
![]() ![]() |
|
![]() |
#46 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: ,
Posts: 250
|
![]() .net dunno about that c++ though could be a goer - lets see if anyone is able to come up with something first to get the ball rolling so to speak.
|
||
![]() ![]() |
|
![]() |
#47 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: ,
Posts: 50
|
![]() Feh, Java is annoying. I vote for C++.
|
||
![]() ![]() |
|
![]() |
#48 | ||
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: ,
Posts: 60
|
![]() I'll vote that way, Anyone know some good tuts on how to draw to the screen in C++?
EDIT: Doh! i could use "Visual" C++ LOL. Given that everyone is cool having this run on windows computers |
||
![]() ![]() |
|
![]() |
#49 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: ,
Posts: 250
|
![]() something could be started in C++ and see how far it runs and evolves. As for others if anyone has any solid code to contribute put it up and let others tinker lots of smart brains around here could come up with a decent effort.
|
||
![]() ![]() |
|
![]() |
#50 | ||
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: ,
Posts: 60
|
![]() I'll start making up some simple classes in C++, i'll post em' here when i'm done. For the sake of simplicity "And modifyability" i'll leave them as uncompiled .H files. My knowledge of C++ is limited so if i do something stupid, let me know in a loud, fanatical way.
|
||
![]() ![]() |
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Starting a petition "microsoft release DOS 6.22 source code"? Maybe on abandonia.com? | dipo | Blah, blah, blah... | 38 | 23-09-2010 12:13 PM |
3d Realms releases several old games as freeware / open source | The Fifth Horseman | Blah, blah, blah... | 9 | 27-03-2009 01:22 PM |
Abandonia Cs Source Team? | Evad | Mêlée Island | 18 | 08-07-2007 02:42 PM |
Retro Remake.... Releasing Classics As Open-source... | dhruba.bandopadhyay | Blah, blah, blah... | 6 | 04-10-2006 03:58 PM |
|
|
||
  |