×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    6

    S40 Asha full Touch Gaming App GameCanvas Issue

    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
    Regular Contributor
    Join Date
    Mar 2012
    Location
    Surabaya, Indonesia
    Posts
    72

    Re: S40 Asha full Touch Gaming App GameCanvas Issue

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×