: I am really new to programming, and would really appreciate if
: someone would take a look at the entire tutorial at
: And explain the last part of page 4 to me. It says:
: "And that's it! You've got the code, now you just need the graphics.
: To make the graphics, create a new bitmap of a size TILESIZE*9
: width, and TILESIZE*2 height. Now, divide this into 16x16 squares,
: or whatever TILESIZE you have, and you'll have two rows of 9
: columns. Make the bottom row totally black (0 r,0 g,0 b). Make each
: column of the top row a different color. In order, make the columns
: Black, Grey, Blue, Red, Green, Yellow, White, Steel, and Purple.
: Black and Grey should be totally 1 color, with maybe a little
: shading for a better look."
: I do not know how create a bitmap, and also I do not where to
: implement it.
: I know I sound really stupid but i just got into this (i have basic
: level C knowledge), but I want to make this Tetris thing work.
: Please Help!
lol--I seen that tutorials first post on gamedev.net!
To create a bitmap, just open up paint and draw the tiles in it.
Then save it as a 24bit bitmap file.
His tutorial has a bitmap you can use. In the 4th tutorial,
on the bottom of the page (displayed "Example bitmap"). Just
copy that and save the bitmap.
Following his tutorial, GameInit() loads the file (Displyed in red
//set the client area size
//160x480 client area
//adjust the window size based on desired client area
WS_BORDER | WS_SYSMENU | WS_CAPTION| WS_VISIBLE,FALSE);
//set the window width and height
//create map image
It will load whatever filename you give it and treat it as the tileset.
[.:EvolutionEngine][.:MicroOS Operating System][Website]