game engine

Writing a Game Engine

Introduction This is the second post in the series and I suggest you to read the Basics of Game Development first. There are two important things in this game. Drawing the Game Canvas Writing a Game Engine (The Game FSM - Finite State Machine) In this post we will discuss about both. The Game Canvas The Game Canvas is a rectangular area on which we will draw all our game objects. It will have a predefined size (WIDTH and HEIGHT). The best way to make our game canvas is to extend the java.awt.Canvas class. [crayon-5c9991bb312ed385293652/] Now let us create a frame and add...
Read More