Super Jumper: A 2D OpenGL ES Game Guide
1. Help Screens
There are a total of five help screens. They operate in a similar way: load the help - screen image, render it along with an arrow button, and wait for the arrow button to be touched to move to the next screen. The screens differ only in the loaded image and the transition destination.
Here is the code for the first help screen ( HelpScreen.java
):
package com.badlogic.androidgames.jumper;
import java.util.List;
import javax.microedition.khronos.opengles.GL10;
import com.badlogic.androidgames.framework.Game;
import com.badlogic.androidgames.framework.Input.TouchEvent;
import com.badlogic.androidgames.framework.gl.Camera2D;
import com.badlogic