Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User asjadazeem's Avatar
    Join Date
    Feb 2013
    Posts
    6
    I have developed an application for Asha Full touch devices, I have extended the game Canvas for this purpose.. the problem is, when I come back to this canvas, I faced the problem connection already open, I fixed that by eliminating that processSensor code. Now I want to start A new game so I am making another call to the init() function so the functions are working that run() including processSensor() and updateWorld() etc but the game is not running. Please help me what to do If I want to use the gameCanvas again and again on New game appeal.

    Thanks

  2. #2
    Nokia Developer Champion jeffrey.halimsetiawan's Avatar
    Join Date
    Mar 2012
    Location
    Taipei, Taiwan
    Posts
    65
    Hi,

    I suggest you to implement Game State Management.
    So, you only use 1 Canvas but you will have StateManager class that will control several State classed which you have.
    Maybe you can take a look at this link: http://gamedevgeek.com/tutorials/man...e-states-in-c/
    Jeffrey Hermanto Halimsetiawan
    Game Developer | Mobile Apps Developer
    LinkedIn

Similar Threads

  1. Gaming apps for S40 full touch
    By Raj Vardhan in forum Games Development
    Replies: 3
    Last Post: 2013-05-15, 21:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved