Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

How to use gif as background

$
0
0

I loaded the gif but it freezes after the first frame

      PImage fightbg;
        void setup() {
          fullScreen();
          fightbg = loadImage("fightbg.gif");
        }
        void draw(){
          background(fightbg);
        }

Viewing all articles
Browse latest Browse all 2896

Trending Articles