micronero.blogg.se

Falling blocks 2
Falling blocks 2











  1. #Falling blocks 2 update
  2. #Falling blocks 2 code
  3. #Falling blocks 2 plus

Creates a shape from the build in shapes at random.

falling blocks 2

M_pStockShapes array holds the shape definitions.

#Falling blocks 2 update

All you have to do is add the shape to the array and update the array information. It is easy to add your own shapes in this game. If you set the game to crazy mode, you will get weird shapes. Under the level menu, you can select the game speed. Game is over when a shape hits the bottom and some of the blocks are above the grey line. When a shape hits the bottom, it is added to the Floored Block list and a new Next shape is created.įor each line of blocks removed, 10* NumberOfLinesRemoved* NumberOfLinesRemoved * GameSpeed points are given. One is the shape currently falling and the other is the next shape. The game creates two shapes when the game starts. You will have to adjust the project setting to reflect your DirectX SDK paths. To run the game, DirectX 7 is all that is required.

falling blocks 2

It should work fine with DirectX 7 but I have not tried it. I developed this game using DirectX 8 SDK. The classes CDisplay and CSurface are created by Microsoft and are shipped along with the DirectX SDK. The project consists of the following classes:

#Falling blocks 2 code

I have sprinkled comments all over the code so it should help you with understanding the code. This code should help you create small games using DirectX.

  • DirectX 8.0 SDK (DirectX 7.0 SDK should also work but I have not tried it).
  • A row filled with blocks are removed and points are given. The objective is to get continuous blocks in a row. Down arrow to move the block down faster and the center key (5) to drop the block. Use the Left arrow and the Right arrow to move the block left or right. If you want to see yourself at the top of the rankings, then you'll have to play a lot and become better than everyone else!īrick Classic Falling Blocks is, in fact, a very addictive and fun game that is sure to entertain you for hours and hours.The controls for the game are simple. And you won't only be in a competition with yourself in this game, you can also compete on a global level, either by rows eliminated or points. The more games you play, the better you'll understand the game and the more points you'll be able to get. In Brick Classic Falling Blocks, you'll be in an on-going competition with yourself. You'll have to stay focused and follow your strategy to get as many points as possible. The hard part comes once you start playing and you have to deal with the randomness of the figures, the increasing speed at which they fall, and the general chaos that will fill up your screen.

    #Falling blocks 2 plus

    Once you fill a row, it will disappear and you'll get points, plus more free space to place more shapes and eliminate more rows. To do so, there are controls on the screen that you can use to move and rotate the shapes. All you have to do is place the shapes that fall from the sky, trying to fill up rows so the blocks disappear. Playing Brick Classic Falling Blocks is very simple since the gameplay isn't really that complicated.

    falling blocks 2

    If you like this type of game and you want to play it whenever and wherever you want, then this is the ideal application for you. Brick Classic Falling Blocks is an application that you can use to enjoy the fun of Tetris on your smartphone.













    Falling blocks 2