I am working on a game kind of like chess but with only 1 piece per a player.
In the beginning they pick there stats(movement, HP, damage, and range of weapons). 10 pts to put where ever they like ranging from 1-6 per a stat
When hit hp is reduced by damage done. So i supose a for loop would be good for that as well
Weapons is how much +damage the weapons do
it is a 10 x 10 grid that i will use ascii. Yet I dont really get how you draw with ascii. Porbably an array i believe.
My game system im using will be based off of x, y. 0,0 top left 10,10 bottom right.
The M.I.M.E's (mechines in main engagement) as i call them can only shoot or move in the direction they are facing. So i was doing to use:
Q- rotate counter-clockwise
W- move forward
E- rotate clockwise
I was thinking maybe using a switch statement like
cout << "Enter a movemement. You have " << move << "moves left." <<endl;
cin >> choice;
switch(choice)
{
case 1://rotate counter-clockwise
case 2:// move forward
case 3: //rotate clockwise
default: // loop back around
}
Any action counts as a move. So i will use a for loop to acount of that part. for( int i= 0; i > move; i++)
What i do not understand is how do you move the MIME's across the field =/
as for weapons i was going to find a way to check the x,y cord of the other robot.
However i wanted to use two different weapons, a laser and a grenade.
Laser shoots straight based off of range 3-4 damage
and grenade is range -1 and does a 3x3 kill grid dealing 1-2 damage
At first the robot moves randomly around until he is "Within range" i was going to make his range based off his firing range of range+1 x range.
Extras!!!!:
These are things i really would kill to do but is not something i need.
LANDMINES!: place a mine at x,y when player is in the 4x4 box of the mine it goes boom dealing 1 damage
Saving the game file: Not a clue how to do this
Pillars/Block on the ground: i would guess a random Num generator 2 place the blocks maybe 2-4 then randoms 0-10,0-10.
Any help or a direction to a website about basic 2D game design would be much love. This is huge jump in what we have been doing in class which is basic user input so i am completely lost :(
In the beginning they pick there stats(movement, HP, damage, and range of weapons). 10 pts to put where ever they like ranging from 1-6 per a stat
When hit hp is reduced by damage done. So i supose a for loop would be good for that as well
Weapons is how much +damage the weapons do
it is a 10 x 10 grid that i will use ascii. Yet I dont really get how you draw with ascii. Porbably an array i believe.
My game system im using will be based off of x, y. 0,0 top left 10,10 bottom right.
The M.I.M.E's (mechines in main engagement) as i call them can only shoot or move in the direction they are facing. So i was doing to use:
Q- rotate counter-clockwise
W- move forward
E- rotate clockwise
I was thinking maybe using a switch statement like
cout << "Enter a movemement. You have " << move << "moves left." <<endl;
cin >> choice;
switch(choice)
{
case 1://rotate counter-clockwise
case 2:// move forward
case 3: //rotate clockwise
default: // loop back around
}
Any action counts as a move. So i will use a for loop to acount of that part. for( int i= 0; i > move; i++)
What i do not understand is how do you move the MIME's across the field =/
as for weapons i was going to find a way to check the x,y cord of the other robot.
However i wanted to use two different weapons, a laser and a grenade.
Laser shoots straight based off of range 3-4 damage
and grenade is range -1 and does a 3x3 kill grid dealing 1-2 damage
At first the robot moves randomly around until he is "Within range" i was going to make his range based off his firing range of range+1 x range.
Extras!!!!:
These are things i really would kill to do but is not something i need.
LANDMINES!: place a mine at x,y when player is in the 4x4 box of the mine it goes boom dealing 1 damage
Saving the game file: Not a clue how to do this
Pillars/Block on the ground: i would guess a random Num generator 2 place the blocks maybe 2-4 then randoms 0-10,0-10.
Any help or a direction to a website about basic 2D game design would be much love. This is huge jump in what we have been doing in class which is basic user input so i am completely lost :(
Comment