Description: This C++ code example demonstrates an application with custom 2D graphics. The application is designed to support various S60 devices with different amounts of colors and various screen resolutions and orientations. The application implements a simple 2D game with some basic game features (audio on/off, on-screen menu). The code example is based on an earlier published Symbian OS: 2D Game Engine Example, which supports, for example, S60 2nd Edition and Series 80 2nd Edition. Main classes: CFbsBitmap, RBackedupWindow.
File list (Check if you may need any files):
Example2D\aif\context_pane_icon.bmp
.........\...\context_pane_icon_mask.bmp
.........\...\Example2Daif.rss
.........\...\list_icon.bmp
.........\...\list_icon_mask.bmp
.........\aif
.........\data\diamond.mbm
.........\....\diamondbox.mbm
.........\....\font.mbm
.........\....\level0.mbm
.........\....\monster.mbm
.........\....\noname-8b.raw
.........\....\noname2-8b.raw
.........\....\player.mbm
.........\....\sprites.mbm
.........\....\title.mbm
.........\....\titleFP3.mbm
.........\....\titleS60.mbm
.........\data
.........\group7710\bld.inf
.........\.........\Example2D.mmp
.........\group7710
.........\.....S60\bld.inf
.........\........\example2d.mmp
.........\........\example2d_aif.mk
.........\........\example2d_loc.rss
.........\........\example2d_reg.rss
.........\........\example2d_s60_3rd_ed.mmp
.........\groupS60
.........\......80\bld.inf
.........\........\Example2D.mmp
.........\groupS80
.........\inc\CAudio.h
.........\...\CBitmap.h
.........\...\CChrDiamond.h
.........\...\CChrDiamondBox.h
.........\...\CChrMonster.h
.........\...\CChrPlayer.h
.........\...\CFont.h
.........\...\CModelGame.h
.........\...\CModelHelp.h
.........\...\CModelTitle.h
.........\...\CSprite.h
.........\...\CTileMap.h
.........\...\CTiming.h
.........\...\Example2DApp.h
.........\...\Example2DAppui.h
.........\...\Example2DContainer.h
.........\...\Example2DDocument.h
.........\...\Global.h
.........\...\level0.h
.........\...\MAudioSource.h
.........\...\MCharacter.h
.........\...\MModel.h
.........\...\MSystem.h
.........\...\MTimingCall.h
.........\inc
.........\Licence.txt
.........\Release_Notes.htm
.........\Release_Notes.txt
.........\sis\Example2D7710.pkg
.........\...\Example2D7710.SIS
.........\...\Example2DS60.pkg
.........\...\Example2DS60.SIS
.........\...\example2ds60_3rd_armv5.pkg
.........\...\example2ds60_3rd_gcce.pkg
.........\...\Example2DS80.pkg
.........\...\Example2DS80.SIS
.........\sis
.........\.rc\CAudio.cpp
.........\...\CBitmap.cpp
.........\...\CChrDiamond.cpp
.........\...\CChrDiamondBox.cpp
.........\...\CChrMonster.cpp
.........\...\CChrPlayer.cpp
.........\...\CFont.cpp
.........\...\CModelGame.cpp
.........\...\CModelHelp.cpp
.........\...\CModelTitle.cpp
.........\...\CSprite.cpp
.........\...\CTileMap.cpp
.........\...\CTiming.cpp
.........\...\Example2DApp.cpp
.........\...\Example2DAppui.cpp
.........\...\Example2DContainer.cpp
.........\...\Example2DDocument.cpp
.........\src
Example2D