Solution to camera reset image "blip." causes constrain issue...

chaleychaley Member, PRO Posts: 226
edited February 2012 in Working with GS (Mac)
I tried the solution offered up by gamesmold in the "Spooky Hoofs" announcement thread. I moved the actor that resets the camera to the lowest point in the layer stack and that totally solved the image blip issue, but now the main hero jitters around the x axis.

It's the same old constrain issue where the "constrained" actor needs to be above "constrained to" actor in the layer stack.

My camera is constrained to the hero, so when the actor controlling the camera moves below the hero, things go all squirrely.

It's like I have to "choose my poison" here. Anyone know how to get a camera to reset AND a hero that doesn't jitter?

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    2 Camera Actors?

    so when cam collides or overlaps with Hero … you switch to cam in top layer?
    of course that would Rule would only trigger a game attribute
    and each camera would have the same rules but enclosed in
    Rule: when
    game.cam# = my#
    --changeAttribute self.Y To:
    Otherwise:
    --changeAttribute: self.Y To: off-screen

    @};- MH
  • chaleychaley Member, PRO Posts: 226
    You can have 2 cameras?
  • UtopianGamesUtopianGames Member Posts: 5,692
    I remember having a problem with the hero in my JetPack template that jittered, i will try and look through it to see how i fixed it but don't worry it can be fixed cause i did it with JetPack.

    Darren.

    GS Templates
    GS Tools
    Art Packs
    Music Packs
  • MotherHooseMotherHoose Member Posts: 2,456
    you can have as many cameraActors as you desire …
    they are not actually the camera but an actor who controls the camera (is that a Camera Man ?)
    but remember that only one can be active at a time

    @};- MH
  • chaleychaley Member, PRO Posts: 226
    Yea... This is one of those issues where the solution will probably be something so simple, yet just un-intuitive enough to burn countless hours trying to correct it.
Sign In or Register to comment.