Guyfawkes
Certified Idiot :)
I released a little program with source code that I originally wrote to test out some of the SDL functions and extra Libraries such as SDL_TTF, SDL_Image, SDL_Mixer to see if they are working correctly with my dev setup.
No idea if it will be of any use to people but it makes a nice little first program to compile and test your dev setup and also to maybe learn how to setup a program to run on the GP2X and PC. I will add this to my GP2X User Guide on the next update.
So far it does a little test for the following:
SDL_TTF - True Type Font text
SDL_Mixer - WAV, MOD and OGG playback. OGG playback has volume and pause controls. MOD Playback seems to be slow at the moment, possible bug when compiling for GP2X?
SDL_Image - PNG, BMP and JPEG display with and without transparency
Input - GP2X and PC simulated buttons, useful when testing on PC
SDL Timer - Small example to make a timer
If you do want to test a certain function just comment out the functions code and it should run fine. Dont forget to copy the /sdltest folder to your SD Card otherwise it wont run correctly, I also added a GPE if you just want to check it out without compiling. Thanks to Rlyeh for his GPE Compressor.
Hopefully someone will find this useful in one way or another, you can download it from GP2X Archive here.
NOTE: I made a mistake in the source and uploaded a new version (just waiting for it to be verified by the GP2X Archive admin), if the download is named sdltest.rar there is a missing line of text in the source, add the following to line 399:
If the filename is sdltest-v10.rar then you wont need to do this.
[UPDATE] Nearly forgot, I have nearly finished porting Bunny Traps to the GP2X, should be released later today or tomorrow.
No idea if it will be of any use to people but it makes a nice little first program to compile and test your dev setup and also to maybe learn how to setup a program to run on the GP2X and PC. I will add this to my GP2X User Guide on the next update.
So far it does a little test for the following:
SDL_TTF - True Type Font text
SDL_Mixer - WAV, MOD and OGG playback. OGG playback has volume and pause controls. MOD Playback seems to be slow at the moment, possible bug when compiling for GP2X?
SDL_Image - PNG, BMP and JPEG display with and without transparency
Input - GP2X and PC simulated buttons, useful when testing on PC
SDL Timer - Small example to make a timer
If you do want to test a certain function just comment out the functions code and it should run fine. Dont forget to copy the /sdltest folder to your SD Card otherwise it wont run correctly, I also added a GPE if you just want to check it out without compiling. Thanks to Rlyeh for his GPE Compressor.
Hopefully someone will find this useful in one way or another, you can download it from GP2X Archive here.
NOTE: I made a mistake in the source and uploaded a new version (just waiting for it to be verified by the GP2X Archive admin), if the download is named sdltest.rar there is a missing line of text in the source, add the following to line 399:
Code:
if(option==6){TestSDLMixerMOD();}
If the filename is sdltest-v10.rar then you wont need to do this.
[UPDATE] Nearly forgot, I have nearly finished porting Bunny Traps to the GP2X, should be released later today or tomorrow.