http://talk.maemo.org/showthread.php?t=87896&highlight=developer.nokia.com

tuohirv 2d5a257cc5 About to build. 13 роки тому
epong_experimental 2d5a257cc5 About to build. 13 роки тому
epong_game_logic 750c2f2a95 corrected a fatal error (infinite loop) with the old "queryTextInput" - solution 13 роки тому
epong_graphics 2a4ef617c4 vkb finally works! 13 роки тому
epong_iap_impl f13f3ce0f9 added copyright notices, removed voice when screen updates are disabled 13 роки тому
epong_qt_build 2d5a257cc5 About to build. 13 роки тому
epong_s3_build 5f7dae39a5 Now the IAP version is not compiled by default 13 роки тому
epong_sounds 0ab7ab4655 qt audio latency test 13 роки тому
game_engine d610c722e6 merging changes from temporary svn db created during projects downtime 13 роки тому
goomapi 5a87c8e8cf initial import 13 роки тому
releases 8d1f143545 New builds with openUrl-implemented with Qt-version 13 роки тому
licence.txt 5a87c8e8cf initial import 13 роки тому
readme.txt d610c722e6 merging changes from temporary svn db created during projects downtime 13 роки тому

readme.txt



EPONG
--------------------------------------------------------------------------------

Nokia Developer 2011


Introduction
--------------------------------------------------------------------------------
This a Symbian Pong game, which is made as an easy to understand game example
for Symbian^3 platform. It builds on the Symbian platform, but attempts to
separate platform dependant code from the actual game code. The actual game
code is thus portable and should be familiar to developers with experience
on other mobile platforms, e.g. iPhone, Android and Meego.



Compatibility
--------------------------------------------------------------------------------
This example is targeted towards Symbian^3 devices, e.g. Nokia N8 and Nokia E7.
Emulator build is not supported, the game relies on OpenGL ES 2.0, which is
not supported in WINSCW emulator.


Highlights
--------------------------------------------------------------------------------
This example demonstrates on the following aspects:

- Entering Symbian game programming without previous Symbian experience.
- Writing platform independent game engine
- Writing C++ game with multiple platforms in mind
- Using existing bitmap asset as application icon
- Handling Symbian multitasking (game pausing, releasing graphics resources)
- How to incorporate sound engine (public domain OGG decoder)
- How to mix sounds on top of sound engine
- Loading PNG graphics to OpenGL texture (stb_image.c, public domain)
- Handling keyboard events
- Handling touch events (multitouch on E7)
- Implementing hardware volume keys
- Honouring silent profile (warning tones on/off)
- Reading accellerometer sensor
- Using floating point math hardware
- Using haptic feedback
- Launching browser (using no Symbian capabilities)
- Implementing HDMI output with check for cable connection


Required software
--------------------------------------------------------------------------------
Carbide C++ 3.2 OR Nokia Qt SDK 1.3
Nokia Symbian^3 SDK v1.0
* NOTE! The Symbian^1 target is NOT supported.

Building
--------------------------------------------------------------------------------
Note about GOOM monitor API: This API is not supplied with SDK 1.0. You can
enable it by copying goomapi directory contents to your SDK's epoc32 directory.
Enabling USE_GOOM_MONITOR flag from inc/epong.hrh then set project to use GOOM
to signal memory allocation.

Import project folder into Carbide by selecting File/Import... and selecting
"Symbian OS bld.inf file". Browse to this example's EpocPong\group directory.
Enable GCCE phone configuration and SBSv1 project builder.

To create a SIS package when building, selct Project/Properties, select Carbide
C++ and Build Settings. Add sis/epong.pkg file to SIS builder. Use self-signed
for trial version.

For Ovi Store, you need to use trusted range UID (starts with 0x2), these need to
be signed with developer certificate. This package also contains full Ovi Store
game, which can be compiled by commenting out TRIAL_VERSION macro in
group/epong.mmp file


Directories
--------------------------------------------------------------------------------
This example is structured as follows

game_engine
Header definitions for platform independent game engine

epong_game_logic
Platform independent game code

epong_graphics
Graphics assets

epong_sounds
Sound assets

epong_s3_build
group
Symbian specific project files
src
Symbian source code, which implements game engine using Symbian
application framework
inc
Symbian source headers
gfx
Symbian icon
data
Symbian resource files and includes
sis
Symbian packaging files
tools
Simple tool for extracting 32bit png into two separate bmp files

epong_qt_build
Qt source code, project file and assets.


Known Issues
--------------------------------------------------------------------------------
There are problems in multitouch with Nokia N8. This causes the axis to get
mixed from time to time. This makes multiplayer-mode problematic with N8 device.

HDMI output displays game only using HDMI, not on the internal display.