Scrolling Effect

HoragallesHoragalles Posts: 6Member

If I built a scene using Tilemaps, what is the best way to get a scrolling effect? That is what my scene looks like currently. Eventually I will replace the godot logo with an animated sprite. Im thinking about just making the sprite walk in place and scroll the background so that it looks like it is walking but im not sure if this is the best way to go about it.

Thanks :)

Answers

  • Shin-NiLShin-NiL Posts: 84Moderator
    edited January 11

    If you just want that the camera follows your player what you can do is:

    1. add a Camera2D as child of your player Node;
    2. set "On" the Camera2D's "Current" property to activate this camera;
    3. play around with others Camera2D properties.
Sign In or Register to comment.