Home | Forums | What's new | Resources | |
What's the correct method to port a game? |
slinga - Oct 3, 2006 |
RockinB | Oct 9, 2006 | |||
(I assume you wouldn't want to port the SDL or other libraries used in the game to port) Before looking in the code, it's a good idea to play the game. There you can have a first impression and see if there are some things you couldn't do on Saturn (too high resolution...). Then you need to view through the code and look for SDL specific stuff. I made two approaches: a) both, an SDL and SGL version of the graphic engine and (see http://www.rockin-b.de/wintersportseins.html...) b) C macros which wrap SDL calls to SGL stuff (see http://www.rockin-b.de/saturn-tictactoe.html...). The latter one needs only few or even no modifications of the original code, but might only be applicable, when very few SDL functions are used. In either case, you'd need to convert the graphic and sound files to saturn formats. |