×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    91

    Game need external input in order to display

    Hello,
    I am porting a J2ME game named "Need for Speed SHIFT" on "blackberry 9800" where I am facing one problem with display.
    When I launch the game it’s just show me white screen until I tap the screen/press any key.

    Device is having Dual mode, where we have been blocked LANDSCAPE mode with relevant image.
    When I launch the Game in LANDSCAPE mode it just show me that blocking image unlike in PORTTRAIT mode need some external input in order to display the game.

    So far I have been tried possible workarounds,
    - Used Double Buffering and
    - Finally I copied all stuff from MIDlet constructor to startApp()

    Game is having Singleton instance of Canvas.
    I know when we do setCurrent() then AMS subsequently called showNotify() and paint()


    In simple words; Game need any external input like Tap the screen/Key Press/LANDSCAPE to PORTRAIT / or even charger interrupt
    Can we have any workaround to get rid of this problem or
    Can we make any workaround to get required external input programmatically?

    Hope, this will make clear my problem to you otherwise I’ll try to elaborate more on it.



    Amit.

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: Game need external input in order to display

    Are you repainting the Canvas inside the keypressed() or you are doing this on the thread?

    Would like to ask that how your flow of the game is?

    Also discussing this issue on the Blackberry Forum will be better,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Replies: 2
    Last Post: 2008-11-10, 12:55
  2. N93 - using external display and keys
    By gotzinger in forum Symbian
    Replies: 4
    Last Post: 2008-05-07, 18:15
  3. Replies: 3
    Last Post: 2008-04-07, 14:28
  4. Font Colors in External Display
    By madrascafe in forum General Development Questions
    Replies: 0
    Last Post: 2005-06-06, 19:25
  5. Replies: 2
    Last Post: 2005-02-01, 22:33

Posting Permissions

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