I’ll do what I can (LD#02)
So, I will do what I can to create something playable, but I have a physics test on Monday which I need to study for, so we will see how far I get. This being an “I’m in” post, I should probably present my tools. Mostly they are the same as last time.
- Lazarus IDE.
- SDL 1.2
- Gimp (Graphics).
- Maybe: Blender to create 3D graphics and convert to images.
- LMMS music (If any).
- Audacity (Further sound).
- Zim wiki – Digital notes.
- Pen and paper – Moar notes.
- And whatever else I may need.
So it is the time of the year again where I will throw together crappy “art”, “code” and “sound” and call it a game. Good luck to everybody.
Edit/PS: My only codebase is the following to have creation of a blank screen and basic event handling already in place.
program project1;
{$mode objfpc}{$H+}
uses
SDL;
const
cScreen_Width = 620;
cScreen_Height = 480;
cScreen_BPP = 32;
cScreen_Flags = SDL_SWSURFACE;
var
Screen: pSDL_SURFACE;
Quit: boolean;
Event: pSDL_EVENT;
begin
// Initialization of SDL.
SDL_INIT(SDL_INIT_VIDEO);
Screen:= SDL.SDL_SETVIDEOMODE(cScreen_Width, cScreen_Height, cScreen_BPP, cScreen_Flags);
New(Event);
While NOT Quit Do
begin
// Event handling.
If SDL_POLLEVENT(Event) = 1 Then
begin
Case Event^.type_ Of
SDL_QUITEV: begin
Quit:= True;
end;
end;
end;
// Rendering.
SDL_FILLRECT(Screen, NIL, $000000);
SDL_Flip(Screen);
end;
Dispose(Event);
SDL_FREESURFACE(Screen);
SDL_QUIT;
end.