Can I add_sprite to make a animated sprite out a image with an vertical strip or just horizontal?
Add_sprite animation
Started by Stickman1, Jul 29 2012 07:12 PM
3 replies to this topic
#1
Posted 29 July 2012 - 07:12 PM
#2
Posted 12 August 2012 - 10:22 PM
It is easiest to use horizontal sprite sheets.
You can convert vertical sprite sheets to horizontal ones within Game Maker, unless, of course, your game uses custom sprites imported from the user:
Create a new sprite, click Edit Sprite, then select File>Create From Strip. From there, import your sprite sheet. Set the Images Per Row to 1. Change the values to fit the sprite sheet. Then, press OK and save it as a PNG file, making it a horizontal sprite sheet.
You can convert vertical sprite sheets to horizontal ones within Game Maker, unless, of course, your game uses custom sprites imported from the user:
Create a new sprite, click Edit Sprite, then select File>Create From Strip. From there, import your sprite sheet. Set the Images Per Row to 1. Change the values to fit the sprite sheet. Then, press OK and save it as a PNG file, making it a horizontal sprite sheet.
#3
Posted 12 August 2012 - 11:30 PM
Alternately, import the strip (as a still image) and use draw_sprite_part to draw a given subimage.
Edited by Gamer3D, 12 August 2012 - 11:31 PM.
#4
Posted 28 November 2012 - 02:41 PM
Thanks :DAlternately, import the strip (as a still image) and use draw_sprite_part to draw a given subimage.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











