Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #****************************************************
- # Author:
- # Ivo van der Marel
- #
- # Works through obj_text.
- #****************************************************
- sprite_sheet = sprite_new('spr_font', 4, 3)
- chars = []
- chars[0] = animation_new(sprite_sheet, 0, 0, 1)
- chars[1] = animation_new(sprite_sheet, 0, 1, 2)
- chars[2] = animation_new(sprite_sheet, 0, 2, 3)
- chars[3] = animation_new(sprite_sheet, 0, 3, 4)
- chars[4] = animation_new(sprite_sheet, 0, 4, 5)
- chars[5] = animation_new(sprite_sheet, 0, 5, 6)
- chars[6] = animation_new(sprite_sheet, 0, 6, 7)
- chars[7] = animation_new(sprite_sheet, 0, 7, 8)
- chars[8] = animation_new(sprite_sheet, 0, 8, 9)
- chars[9] = animation_new(sprite_sheet, 0, 9, 10)
- chars[10] = animation_new(sprite_sheet, 0, 10, 11)# '-' symbol
- chars[11] = animation_new(sprite_sheet, 0, 11, 12)# empty
- char = 11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement