This site requires JavaScript, please enable it in your browser!
Greenfoot back
IsabelSchouten
IsabelSchouten wrote ...

2015/11/2

Can someone help us with our game Chain Factor?

IsabelSchouten IsabelSchouten

2015/11/2

#
You know the game Chain Factor? It is also known under the name of Drop 7. It looks a bit like Tetris but is very different. But a nice job to make it in Greenfoot. You can play the game here (basic mode): http://www.agame.com/game/chain-factor You have discs with grades on it, smooth gray discs and gray discs that show cracks. On a playing field of 7 x 7 cells are randomly placed. These can be discs with figures and plain gray discs or discs which are cracked. Then you can drop one by one numbered or gray discs in the column you choose. You should now have created a world in which the playing field is shown and 15 disc's (random at the bottom) position. Create beautiful actors where necessary be transparent so that the background of the cells remains visible at the edges of the actor. A picture can make you partially transparent with a program like Gimp or Paint.net. Provide a visible location where did the score. Name classes Name methods Random add to the world Great actors (transparent) Comment lines Neat code Score visible Let a (random) disc appears at the top of the field, make sure you can control this (left and right with the mouse or the arrow keys), and he goes down, for example, the space bar or a mouse click. Thereby make sure that he does not go beyond the bottom edge or to a place in a disc. Random appearance of the new disc Motion actor Now, the logic of the game must be added. So if the disc is in its new place, see if there is the right number in the row or column so that the disc may disappear. Then see if there is a chain reaction is possible Determination disappearance of the disc Shifting the discs as necessary Determination chain reaction
Super_Hippo Super_Hippo

2015/11/2

#
No one will program the whole game for you. You can ask for help if you need help with a specific issue. Do small steps and you will find out that it won't be as difficult as you may think when seeing the whole game.
You need to login to post a reply.