Posts Tagged ‘PlatyGame’
LD14 Basecode
With PlatyGame in hand, I’ve got some simplified basecode ready.
#include <PlatyGame.h>
using namespace PlatyGame;int main (int argc, char* argv[]) {
if (!initialize())
return 1;
atexit(shutdown);
if (!initText())
return 2;
atexit(shutdownText);
if (!initSound())
return 3;
atexit(shutdownSound);bool fullscreen = false;
if(argc > 1) {
if(strcmp(argv[1], “fullscreen”) == 0) {
fullscreen = true;
}
}Screen screen(800, 600, “Game”, fullscreen);
if (!screen.good())
return 4;Sound snd(“snd/platymuus.wav”);
BitmapSprite splash(“gfx/platymuus.png”);
splash_run(screen, splash, snd, 4);return 0;
}
LD14 – My tools
Well, I’m ready and roaring for a great LD14 weekend. I’m going to break my programming-vacation for 48 hours and have myself at some code.
I’ll be using:
IDE: Code::Blocks
Language: C++
Libraries: SDL, SDL_image, SDL_ttf, and SDL_mixer, all rolled into one big PlatyGame (which I wrote myself), and possibly libcurl if internet is needed.
Art: GIMP and a little Paint.
Audio (if I do any): Musagi, SFXR, and Sound Recorder.
PlatyGame source and object files can be downloaded here:
http://www.platymuus.com/goods/PlatyGame.zip
Also, does anyone have any idea how to cut down on the number of DLLs I need to include with my application?
Mini-LD #6 – Balloon!
I have chosen the theme Balloon!. I think my color is going to be yellow. I’m itching to start coding even though I’m not supposed to yet. Normally I use C++ and SDL, but I’m considering using Flash as its capabilites might be better suitied to my project, though I’m not sure how to go about it.
If I do use C++ and SDL I’ll use my special library, which I am releasing right now here, if it’s not too late to be official. Please respond if you know for a fact this is valid or invalid! This is my own library, PlatyGame version something or other.
EDIT: I just realized this, apparently the compo already started.

