GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to make a constrained actor follow your main actor immediately

I've made 4 actors constrained to the main actors self.position.x it follow properly & works. But when I move it the 4 actors it drags behind just a little. I want it to move immediately with no lag time. Is this possible Thank you :)

Comments

  • SocksSocks London, UK.Posts: 12,822Member

    Make sure the 4 actors are above the main actor in the layer order.

  • http_gamesaladhttp_gamesalad Posts: 1,340Member

    @socks thank you ! :) worked like a charm

  • http_gamesaladhttp_gamesalad Posts: 1,340Member
    edited June 2015

    @socks I was wondering , is it possible to make an actor to small that gamesalad has a hard time keeping track of it? I have a game set up on layers basically. Those 4 actors I talked about are set up like this. Any: When actor collides with Line & Gap fill change attribute game.gameover to 0 otherwise change attributes game.gameover to 1. I notice when I move the main actor to fast which those 4 actors are constrained it changes it game.gameover to 1. Those 4 actors are 10 by 5 pixles. So I was wondering if the actors are to small

Sign In or Register to comment.