How do I make this rendering thread run together with the main one?
- by funk
I'm developing an Android game and need to show an animation of an exploding bomb. It's a spritesheet with 1 row and 13 different images. Each image should be displayed in sequence, 200 ms apart.
There is one Thread running for the entire game:
package com.android.testgame;
import android.graphics.Canvas;
public class GameLoopThread extends…