This page will include all of the small hacking/coding projects I've worked on throughout the years but the main focus is the Tank! game a project born a lot of years ago to learn Allegro 3.5. I'd like to continue working on many of those projects, but I simply don't have enough time.
▄▄▄█████▓ ▄▄▄ ███▄ █ ██ ▄█▀ ▐██▌
▓ ██▒ ▓▒▒████▄ ██ ▀█ █ ██▄█▒ ▐██▌
▒ ▓██░ ▒░▒██ ▀█▄ ▓██ ▀█ ██▒▓███▄░ ▐██▌
░ ▓██▓ ░ ░██▄▄▄▄██ ▓██▒ ▐▌██▒▓██ █▄ ▓██▒
▒██▒ ░ ▓█ ▓██▒▒██░ ▓██░▒██▒ █▄ ▒▄▄
▒ ░░ ▒▒ ▓▒█░░ ▒░ ▒ ▒ ▒ ▒▒ ▓▒ ░▀▀▒
tank! a human vs human tank game written in
allegro 5 api just for fun :-)
I'm looking this beauty, could be a great excuse to develop some code for SEGA Genesis. Check the hello world example:
main.c:
#include <genesis.h>
#include "engine.h"
int main(){
draw_screen();
while(1){
SYS_doVBlankProcess();
}
return 0;
}
engine.c:
#include <genesis.h>
#include "engine.h"
void draw_screen(){
VDP_drawText("Hello GENESIS!", 8, 12);
}
engine.h:
#ifndef _ENGINE_H
#define _ENGINE_H
void draw_screen();
#endif
I was compile the project under Allegro 5.2.9.1 (latest at this moment). Great news, it works like a charm.
Hell yeah! Tank! is a recreational programming 16 bits-like game created on C Programming Language and Allegro 5 API. The objective is to get highly portable and optimized code. In further entries, I will post about technical decisions, blockers, improvements, and of course, a lot of code. C code.