Whenever I use a GIF as a title card, it never animates, it always defaults to the first frame.
P.S. Thank you Eizzoux for help on the editor music. You're a legend.
![Smile :)](./images/smilies/icon_smile.gif)
Moderators: Flumminator, Zomis
Code: Select all
gfx.global.anim_1.TITLE_1: sprite.png < Image file
gfx.global.anim_1.TITLE_1.x: 0 ← X position of initial animation frame in the image file
gfx.global.anim_1.TITLE_1.y: 0 ← Y position ~
gfx.global.anim_1.TITLE_1.width: 160 ← Width of the sprite
gfx.global.anim_1.TITLE_1.height: 120 ← Height of the sprite
gfx.global.anim_1.TITLE_1.frames: 8 ← Amount of frames used in animation (starting from initial frame to the right)
gfx.global.anim_1.TITLE_1.delay: 4 ← Delay between frames (50 frames = 1 second)
gfx.global.anim_1.TITLE_1.anim_mode: pingpong ← Animation mode
gfx.global.anim_1.TITLE_1.draw_masked: true ← Mask out the black background/transparent texture
global.anim_1.TITLE_1.x: 46 ← X position in viewport
global.anim_1.TITLE_1.y: 28 ← Y position in viewport
global.anim_1.TITLE_1.draw_order: 6 ← the "Z position" of the animation (The bigger the number - the higher it draws over others)
global.anim_1.TITLE_1.class: window ← Type of viewport you want to draw the animation in (The entire screen, playfield, door_1 or door_2)