Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 783 Bytes

sprite_move_scrolling.rst

File metadata and controls

25 lines (18 loc) · 783 Bytes
orphan

Move with a Scrolling Screen - Centered

Using a arcade.Camera, a program can easily scroll around a larger "world" while only showing part of it on the screen.

If you are displaying a GUI or some other items that should NOT scroll, you'll need two cameras. One that shows the unscrolled GUI, and one that shows the scrolled sprites.

See also sprite_move_scrolling_box.

Screen shot of using a scrolling window

../../arcade/examples/sprite_move_scrolling.py