A simple tetris game for Linux, Windows, nds, and the PSP coded in C
For Multipile systems -- Linux,PSP and Windows
============= Compiling: ==================
Extract the folders and files.
Linux (compiled on Ubuntu)
-
You must have OpenGL, SDL, SDL_TIFF and SDL_mix (you can do an apt-get if you have unbuntu)
-
Open the folder you extract thats named blockheadU
-
Open the folder named linux
-
Click on gcc_compile to compile it in C or g++_compile to compile it in C+++
-
if #ifdef _SDL is comment out, uncomment it and if #ifdef _psp is not commented out then comment it out
-
in main.c if #ifdef _SDL is comment out, uncomment it and if #ifdef _psp is not commented out then comment it out
Windows (compile on XP with Dev C++)
-
You must have Dev C++, SDL (with SDL Font and SDL_mixer)
-
Open up dev C++ and open up the project in the folder /blockheadU/windows
-
Add the ../mysdl/timer.h ../mysdl/timer.cpp ../mysdl/sdls.h ../mysdl/sdls.cpp -lmingw32 -lSDLmain -lSDL -lSDL_ttf (goto
project, then project option, then go to parameter)
if you see main.o with main.c, delete it
-
in main.c if #ifdef _SDL is comment out, uncomment it and if #ifdef _psp is not commented out then comment it out (You might be able to compile it in cywin also) PSP
-
You must have the pspsdk and png installed.
-
In main.c, look for #ifdef _PSP and if its commented out uncomment it and if #ifdef _SDL is not commented out then commented it out.
-
Go to the prompt go to the psp folder /blockheadU/PSP and type make.
======================= Things to do: ===========================
-
Fix normal -> wide in game option (psp)
-
Fix Text position (psp)
-
Add music and sound (psp)
-
Add Top scoreboard