Mail Archives: djgpp/1999/01/12/15:06:37
On Thu, 07 Jan 1999 04:47:44 -0500, "Bruce Ferguson Jr."
<bferguson AT hcsmail DOT com> wrote:
>Could somebody please help me out here? I am wanting to just create a 2d
>horizontally scrolling game using allegro could you please give me some tips?
Well... those kind of games are strait foward.. start coding.. part by
part... read some docs.. and in the way, you'll find the anwsers to
all those questions.
Sonner or later, you'll have to restart the game engine if you like it
to be good... so, make it well documented, organized and modular, it
will help you a lote.
By, for starting... imagine a matriz with x by y fields, in that
matriz, you'll have something indicating the tile (maybe a 32 by 32
square with a image corresponding to one part of the drawing).
Then, create a buffer with the size of the screen... after that, read
the matriz and see what tile you have to draw to that (i,j) location,
remember that the buffer position it's (i,j) mul by the size of the
tile...
Then.. read and learn...
-----------------------------
Ricardo Cunha (a.k.a. Myke)
Myke AT cyberdude DOT com
ICQ: 5623081
-----------------------------
- Raw text -