Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def updates
- Graphics.update
- Input.update
- $sprite.src_rect.x = Pattern[$index % 4] * 32
- $count += 1
- $index += 1 if $count % 8 == 0
- end
- Pattern = [0,1,2,1]
- $count = 0
- $index = 0
- $sprite = Sprite.new
- $sprite.bitmap = Cache.character("$Actor-MythrillBender_1")
- $sprite.x = 100
- $sprite.y = 100
- $sprite.src_rect.set(0,0,32,32)
- updates while true
Advertisement
Add Comment
Please, Sign In to add comment