Actor stuck at tracking area, with unscrollable layer

Hi GameSalade users!

i'm stuck for this the last hours and i can't find anything on google..youtube or this forum.. hope someone can help me. i'm trying to make an simple 2d platform game with 1 actor as my main character. The camera follows this actor.

i made an tracking area so when my actor moves, my camera moves with it. But then... my touch controls stay at it's place, but they need to move with the screen to use the controls. to solve this i made an unscrollable layer with my controls in it, but here come's my problem..

the actor only can move within the tracking area, the screen doesn't move at all right now. if i make the layer scrollable then the screen moves when my actor moves.. but then my button's move to ...

does anyone know how to solve this!? what am i doing wrong :(

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Put the player actor on a different layer than the controls. ONLY the controls should be on the non-scrollable layer.

  • gertjan2805gertjan2805 Member Posts: 3

    Jup done that.. Doesn't work either :(

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Do you have a large enough scene that its needs to actually scroll?

  • gertjan2805gertjan2805 Member Posts: 3

    Yes also that :) its 5000px wide.. The dumb thing is when i make the control layer scrollable the problem isn't there..

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    are you able to share a screen shot of your layers palette with all the layers opened so I can see the actors in them?

  • gertjan2805gertjan2805 Member Posts: 3
    edited August 2014

    Hi again.. first off all .. thanks for your help!!!!!

    down below is my screenshot. I placed a small screen of my actor for the control camera. So the problem is still there that the actor won't move out of the inside of the camera box. Good to know: at the right of the screenshot i have another 3000px for the actor to move. if i turn the control layer on to movable then the actor can move to that place, but my buttons are moving ass wel. I need my buttons to stay at the screen all the time. i tried to move my character to the non movable layer, then the actor can move trough the screen but the camera won't move to the right.

    don't mind the horrible graphics :P i'm new to game salad and just testing what i can do on a platform game.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited August 2014

    @gertjan2805, I don't see anything immediately in the screen shots. :(

    If you'd like I can take a look at the project and see if I can find the issue. You can email it to me if you'd like.

Sign In or Register to comment.