I created this topic to present you my game idea and ask for help to realize it. I want to create a GB version of a great iOS game, PATHOGEN, but as this is my first game, I have a lot of questions to ask to the skilled programmers around here.
First of all, this is a board game, turn by turn, in which the aim is to take as much space as possible. To do so, you'll have to capture the enemy's pawns while avoiding the contrary. The main mechanic here is the chain reaction. You'll have four types of pawns:
- the basic cell: you can use it at each turn, placing it on another basic cell creates a medium one.
- the medium cell: you'll get one every 4 turns, creating it will place basic cells on every adjacent cell (except in diagonal), and placing one on another will create a upgraded one.
- the upgraded cell: you'll get one every 8 turns, creating it will place medium cells on every adjacent cell (which will create basic cells), and placing one on another will create a wall.
- the wall: cannot be placed (other way than two upgraded cells), taken, destroyed, and will not place upgraded cells everywhere, it will just expand to every upgraded cell adjacent to the first one upgraded.
To take your opponent's pawns, you'll have to place a stronger cell on one of his, or upgrade an adjacent cell, doing so will propagate the upgrades because of the ability of the cells to place weaker ones around.
Finally, your can destroy cells using the virus. (It will only affect same connected cells)
A gif to illustrate, you can see the differents types of cells on the left and right
Sorry for the large and messy explanations, but I needed it for you to understand the questions.
1- I want the screen to be gray, in order to keep black and white for players colors. I don't own a GameBuino, so i can't check, but do you think it's clear to see ? I mean, the pawns are small, will we see them ? I'm worried mostly for the white ones ...
2- The grid is 14x12. I was thinking in creating an object for each of the 168 spots, with data for color, type of cell, and drawing in consequence. Is it a good way of dealing with all those spots?
3- I saw that grey is generated by blinking black, and you guys used the frame rates to make it happen, but my aim is to make the game compute slowly so you can see each step of the upgrades (and not being a mess as the gif is). Can I do like
- Code: Select all
if (gb.update)
//draw Black
if (gb.frameCount%2)
//draw Grey and White
if (gb.frameCount%20)
//compute
4- I was planning to code each spot with its coordinate, but then I need to check adjacent cells, so I was wondering, will the program understand (x+1;y), (x-1;y) (x;y+1) (x;y-1) if spots are defined as (4;4) (2;4) (3;5) and (3;3) ? (where (x;y) is the center point as (3;4))
Thank you for reading, my next posts will not be as long as this one