Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DataManager.init
- def updates
- Graphics.update
- Input.update
- $sprite.src_rect.x += 1*32 if Graphics.frame_count % 5 == 0
- $sprite.src_rect.x = 0 if $sprite.src_rect.x >= $sprite.bitmap.width
- end
- $sprite = Sprite.new
- $sprite.bitmap = Cache.character("actor1")
- $sprite.src_rect = Rect.new(0,0,32,32)
- updates while true
Advertisement
Add Comment
Please, Sign In to add comment