1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

GM:S 1.4 Loading GIF as Sprite from Filename

Discussion in 'Programming' started by Posho, May 23, 2019.

  1. Posho

    Posho Member

    Joined:
    Jul 23, 2016
    Posts:
    235
    Hello,

    I'm trying to load multiple animated GIF files from a directory. According to the manual, the function sprite_add only loads the first frame of the GIF.

    Is there any workaround method for this?
     
  2. woods

    woods Member

    Joined:
    Jun 21, 2016
    Posts:
    223
    Posho likes this.
  3. Posho

    Posho Member

    Joined:
    Jul 23, 2016
    Posts:
    235
    Yeah, great site. I've used it before. But it's not gonna be very effective considering I'd need to manually convert thousands of GIFs.

    Eventually I stumbled upon a tool called the GMS Sprite Loader, which did the job, but I am wondering if there's a way to do this using file functions.
     

Share This Page