How do I screen shake at the edge of the layout?

  • I'm working on a fighting game and whenever a character dies, the screen shakes when they hit the floor. When a character dies at the edge of the screen, there's no shake. What would be a good solution?

  • there really are only two options - either set up your layout so the player can never get close enough to the edge to prevent a screen shake (if there is no more layout available to bring on the screen, then it can't shake).

    or turn on unbounded scrolling, but then you have to make sure your character can't leave the area where your graphics are, and that there is enough background beyond the edge so that when it shakes the screen you don't see the white edges with nothing on it.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • there really are only two options - either set up your layout so the player can never get close enough to the edge to prevent a screen shake (if there is no more layout available to bring on the screen, then it can't shake).

    or turn on unbounded scrolling, but then you have to make sure your character can't leave the area where your graphics are, and that there is enough background beyond the edge so that when it shakes the screen you don't see the white edges with nothing on it.

    Damn, that really sucks.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)