In this new version of Titan IDE, we had the special participation of Ian Micheal, who gave us his library of reading images in PVR format. But what does it mean?
Dreamcast is equipped with the PowerVR graphics chip, which means that now our engine is ready to read images in the Dreamcast native format. This will mainly help with reducing memory usage.
As everything in life has a negative side, the new library only accepts images with resolutions that are power of 2, example: 8×8, 16×16, 32×32, 64×64, 128×128, etc …
So, I recommend using this format, for images that are large, such as background images, menu backgrounds, etc. For spritesheets, it is better to continue using BMP.
Converting images to PVR
In the folder C:\cygwin\PVRTool run the file WinPVR
Follow these steps to convert an image to PVR:
With the new Titan IDE installed, open the game.cpp file of the desired template, place the path to the new image and then set the “pvr” parameter in the extension:
Done, just compile and generate the CDI 🙂
To learn how to install and use the tool, follow this tutorial.
To learn how to make a game for the Nintendo Wii, follow this tutorial.
Este trabalho está licenciado com uma Licença Creative Commons – Atribuição 4.0 Internacional.