Hmm... first of all. Do you know how to program in an object oriented way?
It would become something like this:
[pascal]
Type
TDuck = class
public
Procedure MakeSound;
Procedure MoveLeft;
end;
...
implementation
....
Procedure TDuck.MakeSound();
begin
//play the sound here
end;
Procedure TDuck.MoveLeft();
begin
//Make the duck move left
end;
[/pascal]
But most important of all, you need to:
> Know how a game works. I'm talking about the essentials: Making a game loop, reading input etc..
> You have to get some libraries to do stuff for you: Play sound, draw graphics etc
> You need to make all the art
So tell us. What is your level of programming skill? Have you looked into some libraries?
Hope it helps.
P.S: Lazarus is not a compiler. It's an IDE that uses the FreePascal compiler.
Bookmarks