Rotate a camera, nothing else.

  • Herro!

    I've been searching for a solution to my answer for quite a while now; but no answer has been exactly what I want. I have asked Google if there's a way to rotate the camera, and the only thing I have found is to change the layout angle; but this isn't what I want.

    So I've come here to ask anyone who knows, how do you do such a thing? Is there any other behaviour out there on the web like ScrollTo that also can change the way the angle appears without literally changing any object's angle property?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The camera angle cannot be changed, otherwise you can change the camera's position

  • Herro!

    I've been searching for a solution to my answer for quite a while now; but no answer has been exactly what I want. I have asked Google if there's a way to rotate the camera, and the only thing I have found is to change the layout angle; but this isn't what I want.

    So I've come here to ask anyone who knows, how do you do such a thing? Is there any other behaviour out there on the web like ScrollTo that also can change the way the angle appears without literally changing any object's angle property?

    Could you explain what you mean exactly?

    What is it you want to rotate?

    Just asking, because there is no such thing as an actual camera..

  • LittleStain By camera I mean an object with the 'ScrollTo' behaviour. This is the object I want it's angle to change, but changing the angle of the camera has no affect on the scrolling behaviour.

    What do you mean by camera position?

  • LittleStain By camera I mean an object with the 'ScrollTo' behaviour. This is the object I want it's angle to change, but changing the angle of the camera has no affect on the scrolling behaviour.

    What effect would you expect it to have?

    Scrollto just takes an x and a y coordinate..

  • I'm looking for some kind of way for ScrollTo to take angle as well as positions - 'rotating' the screen.

  • You can set the layout angle with events.

  • I'm looking for some kind of way for ScrollTo to take angle as well as positions - 'rotating' the screen.

    ok, so you only want to manipulate the "camera" angle..

    Would something like:

    System every tick

    set layout angle : camera angle

    Work for you?

    If you manipulate the camera now the layout will follow..

    Or maybe you'd just want certain layers?

    Then you should use set layer angle..

  • Yeah changing layout angle will work but I'm concerned about using that within a multiplayer game because I'm thinking that that might change the layout angle for all players, especially if your host. That is, if you know how multiplayer works...

  • Forget what I said about multiplayer. Does anyone know of a 3rd party ScrollTo behaviour from anywhere on the net that scrolls with angle?

  • There isn't one, but if there was it would do the same thing as setting the layout angle and scroll position.

    I guess you could look at the magicam plugin but that's mainly for camera transitions.

  • I'll look into that plugin, and if there's still anything I need help with I'll just ask here.

  • I'll look into that plugin, and if there's still anything I need help with I'll just ask here.

    Just rotate the layers you want to rotate then what the user sees is basically the layout/layers rotating rather than "a camera" of some sorts.

  • I mean you can change it by a system event, Let me check it for you..

  • If I changed angle, objects with their origin in the centre will rotate away from objects with their position at the end of one another. That's why I'm trying to avoid that.

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