I Wanna Community

Autoscrolling Camera

0 Members and 1 Guest are viewing this topic.

Offline stageman21

  • 2
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 58.0.3029.110 Chrome 58.0.3029.110
  • Playstyle: Keyboard
Autoscrolling Camera
« on: February 16, 2018, 09:49:29 AM »
Can someone help me with making an auto scrolling camera? You know, a camera that moves on it's own?

Offline pieceofcheese87

  • 346
  • Personal Text
  • OS:
  • Windows 8.1/Server 2012 Windows 8.1/Server 2012
  • Browser:
  • Chrome 63.0.3239.132 Chrome 63.0.3239.132
    • Twitch Tv Channel
  • Playstyle: Keyboard
Re: Autoscrolling Camera
« Reply #1 on: February 16, 2018, 09:20:46 PM »
you could either have a moving invisible object that the view follows or do something like view_xview+=2 in an object's step event
Signature

Offline stageman21

  • 2
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 58.0.3029.110 Chrome 58.0.3029.110
  • Playstyle: Keyboard
Re: Autoscrolling Camera
« Reply #2 on: February 17, 2018, 04:55:03 AM »
Ok it works. Thanks.