Sdl For Native


Harteex

Still Fresh
Joined
Oct 9, 2009
Messages
10
I'm finally finished with my native SDL port.

So what's ported?
* SDL
* SDL_ttf
- freetype
* SDL_image
- libpng
* SDL_mixer
- tremor (ogg)
- libmikmod (xm, mod, it, ...)

Right now the video device only supports 320x240 16bit (as that's what the dingoo is using), but I plan on adding scaling for 640x480 and possibly other resolutions as well.


Check out our google code page at http://code.google.com/p/dingoo-sdk/
 
I forgot to mention I want to thank alekmaul and especially flatmush, who's code I'm using parts of for implementing the different SDL drivers.

Also, I've made a simple Pong sample to show C++ and SDL, it's available in the SVN repository:
http://code.google.com/p/dingoo-sdk/source/browse/#svn/trunk/dingoo_sdk/samples/SDLPong

From the readme:
This sample is more meant to be a sample than to be a game.
It's currently not very exciting to play because it's easy to predict how the ball bounces.

The sample provides the following:
* A makefile for C++ / SDL
* An example game loop (there are many different ways of doing this, probably many better ways also)
* SDL_image usage (png splash screen)
* SDL_mixer usage (sound and music)
* SDL_ttf usage (fonts and text)
* A way to handle keys
 
Hi Harteex,

I downloaded the toolchain, but i couldnt find the sdl lib files anywhere. Do i need to compile it myself, or am i just too dumb? ;)

Also, i will need to include the .so files with my release if i make a native app, right?

/Uni
 
u9i said:
Hi Harteex,

I downloaded the toolchain, but i couldnt find the sdl lib files anywhere. Do i need to compile it myself, or am i just too dumb? ;)

Also, i will need to include the .so files with my release if i make a native app, right?

/Uni

I guess you only downloaded the toolchain and not the SDK itself.
Get the SDK here: http://code.google.com/p/dingoo-sdk/downloads/list
 
Last edited by a moderator:
Anyone interested in following the discussion and some ideas regarding SDL should also have a look at the Dingoonity thread: http://boards.dingoonity.org/dingoo-development/native-now-has-sdl/

But I will post any major / important info here aswell.
 
Back
Top