Old Style Game Framework How To..

Creating a Game with Old Style Game Framework.

This walk through create a side scroller game, where the player runs across the screen and jumps over obstacles. The walk through uses the Old Style Game Framework (1.0.2), Game Doc (1.2.3) and Game Designer (1.2.2).

Updated versions: Old Style Framework (1.1), Game Doc (1.3) and Game Designer (1.3)

06 package org.deken.sidescroller;
07  
08 import org.deken.game.GameFrame;
09  
10 /**
11  *
12  @author Gary Deken <gary@abberkeep.us>
13  */
14 public class SideScroller {
15  
16    /**
17     @param args the command line arguments
18     */
19    public static void main(String[] args) {
20       int width = 800;
21       int height = 600;
22  
23       SideScrollerCanvas canvas = new SideScrollerCanvas(width, height);
24       GameFrame gameFrame = new GameFrame(width, height, canvas);
25    }
26  
27 }
Back