×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    11

    Cool Orientation switch does not re-scale scrollable tile layer? N85

    I have a 2D scrolling game I am developing, if I leave the option to switch orientation on the phone (in the settings menu) it happily switches my games layout from Portrait to Landscape etc. However it does not appear to scale the LayerManager viewport correctly and even when I update the viewport it does not display correctly. (setViewWindow() function)

    An example:

    I launch the game in Portrait mode and am playing (game screen viewable is 240x320), I then spin the phone on it's side and the view changes accordingly However the visible area of the LayerManager is now 240x240. It thinks it is still displaying 240x320, evidenced by the "centre" of my main sprite.

    Of course it could be a bug in my game, but I am not able to find it right now and was hoping someone could comment on a way to force my tiledlayer's viewable area to change or if they have seen such a bug before (either on an n85 or just a step I am not taking)

    edit: clarified I am changing the LayerManager viewport
    Last edited by danielburke; 2009-06-02 at 04:01.

Similar Threads

  1. error PRJ0019 error while creating sis file
    By mrshine in forum Symbian
    Replies: 3
    Last Post: 2008-10-17, 17:16
  2. Navigation pane text & orientation switch
    By dracula78 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2008-05-30, 14:42
  3. N93 screen orientation switch
    By pgianf in forum Mobile Java General
    Replies: 1
    Last Post: 2006-10-24, 23:42

Posting Permissions

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