Portable Game Console
PoGa-4DGL Reference Manual
4. Add Images/Animations/Videos in your game
Up to 256 images/movies/animations can be stored within each PoGa file space and referenced with a
special index list. For each PoGa file, storage of up to 3960 sectors (2,027,520 bytes) is available and can be
accessed using the
SelectGCIimage
function. The position of each image entry is also saved, allowing you to
build an entire screen of objects using the Graphics Composer as a WYSIWYG format. The information here
is a description of how this can be achieved by taking you through the steps that were taken to create the
GCI file for the
GCI_Demo
.
4.1
Building GCI DEMO
Note:
The
GCI_Demo.4DG
example demonstrates the use of the
media_SelectGCIimage
function.
From the Workshop toolbar, select the Graphics composer tool.
When the graphics Composer opens, select New from the File menu. Now, navigate to the project folder
and add the required bitmaps and animations to the project by holding the left shift key down while clicking
on each of the file names so we select them all.
© 2011 4D Systems
www.4dsystems.com.au
Page 20 of 87