Bug or Flaw in My Code? Non-scrollable actors in a large size area.

WeswogWeswog Member Posts: 1,171
edited November -1 in Working with GS (Mac)
I have an actor thats in a large area about 10000x10000, so the actor controls the camera and is in a scrollable layer while the other actors that do actions are in a non-scrollable area so when I try to make them do actions the actors are gone like they vanished so I tried many things but if you have an idea to fix this, that would be awesome

Also the orgin of the camera is at 5000x5000

Cheers, Weswog

Comments

  • AppChogieAppChogie Member Posts: 503
    Hi Weswog please show a screen shot of the code, and the atribuites of one actor that vanashes and I'll try my best to help you. It is very hard to tell as you know it could be a few different things.

    If you would not like to make screenshots public pm me and I'll have a look.

    Keith
  • entersimonentersimon Member, PRO Posts: 273
    Keep in mind that any actors in a non-scrollable layer need to be placed in the bottom left of the stage. In order to keep them on screen, you must keep them in the area the size of the game screen at the bottom left part of the stage regardless of where the camera origin or camera controlling actor is located.
  • micksolomicksolo Member Posts: 264
    It's probably a scene ordering issue. Go into your scene, click the button "scene" and try re-ordering the layers.
  • micksolomicksolo Member Posts: 264
    Also I'm not sure abouty our game but I guess you want your other actors in the scrollable layer?
  • WeswogWeswog Member Posts: 1,171
    entersimon said:
    Keep in mind that any actors in a non-scrollable layer need to be placed in the bottom left of the stage. In order to keep them on screen, you must keep them in the area the size of the game screen at the bottom left part of the stage regardless of where the camera origin or camera controlling actor is located.

    I will try that, that sounds like it will work thanks so much entersimon

    EDIT: That worked! Thanks Again

    Cheers, Weswog
  • entersimonentersimon Member, PRO Posts: 273
    Weswog said:
    I will try that, that sounds like it will work thanks so much entersimon

    EDIT: That worked! Thanks Again

    Cheers, Weswog

    Anytime! :)
Sign In or Register to comment.