I've just started my C++ attempts on the S60. I've downloaded the SDK and checked out the examples, which is working and cool.
I want to write a game, that needs all the screen size those devices have. Anyone care to help me get started?
The game is similar to the minesweeper - it has a grid, and the user should be able to choose a square, and then click on it (it's not exactly minesweeper, it's actually based on the japanese game of Nonogram).
I would like to know -
1. How to make an app take up the entire screen, without the status pane, and soft buttons.
2. How to output pixels to the screen.
3. How to capture the joystick commands
4. How to write fonts to the screen.
I know it's a lot, but any help will be appriciated!
To remove the menubar just don't define a menu for the view
in the resource file.
To remove the status pane simply call
StatusPane()->MakeVisible(EFalse); when your view is activated
or somewhere in AppUi.
To capture the joystick you must implement OfferKeyEventL() in
your container class and check the iCode member of TKeyEvent.
The joystick events are EKeyUpArrow, EKeyDownArrow,
EKeyLeftArrow, EKeyRightArrow and EKeyDevice3 (the Ok button
if I remeber correctly).
Drawing pixels and fonts to the screen you do in the Draw
function of your container (use DrawText for text etc).