GigaCrank's Forum Posts

  • 2 posts
  • Something like this works

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I'm using the first camera system showcased in the "Foggy Outbreak" example game.

    Code being used:

    So I'm having trouble with the camera rotation not fully resetting upon entering a new layout:

    The character is facing left before opening the door, going through the door brings the player to a new layout

    When the player enters the next room the camera rotation should be (0,90) and the way the camera is shown it looks like it is, but instead its the exact same as when it was in the previous room. The player also controls as if it were facing left

    Upon moving the mouse the camera snaps to the previous rotation it was in, than the player can move the camera as normal.

    I've also noticed that this same problem occurs in the "Foggy Outbreak" example game when the character starts off not facing right so assume its nothing wrong with my game itself.

    Does anyone know anything I could add to fix this issue or if there's an alternative way for a first person camera I could use? Thanks!

  • 2 posts