Skip to content

Commit bb36241

Browse files
author
Thomas Preston
committed
Added scroll sprite example
1 parent 1ee9352 commit bb36241

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/example.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ You can use the sprites library to quickly draw things on CodeBug's display.
6969
>>> codebug.draw_sprite(0, 0, message)
7070
>>> # move it along
7171
>>> codebug.draw_sprite(-2, 0, message)
72+
>>> # scroll a sprite
73+
>>> codebug.scroll_sprite(message)
7274

7375
You can do some more interesting things with Sprites::
7476

0 commit comments

Comments
 (0)