The Java Game Framework.

Examples, tutorials, documentation and download of the Genuts Framework.
Games made with the Genuts Frameworks.
General articles around games.
Links covering all needs around game dev.
Who are we?
Terms of Service

API >> Tutorials >> Fundamentals

What is The Genuts Framework?

The main goal of this framework is to provide an easier way to write online-games. You will still have to design the game workflow and basic architecture, but will be able to rely on the provided API for animating objects, detecting collisions and more!
This tutorial will teach you how to take the most out of the Genuts API.

How does it work?

The main class of this framework is the PlayField. It displays or performs actions on all other objects.
The playfield consists of Sprite objects for the graphic part and Tickable objects for the animated part.

In this diagram, you can see objects contained in a playfield. You can notice SpriteWrapper objects which performs actions on sprites (animation, user interaction...). We will describe those objects later.

Collisions are not directly handled by the playfied. Instead, they're delegated to a CollisionManager. In most cases, you will not have to worry about this.

Display is delegated to a DisplayManager. In most case, the SpriteDisplayManager will be sufficient.

Let's put this to practice with 3 simple examples:

  1. Displaying simple sprites
  2. Bounced sprites
  3. Collision between sprites

  Next Page >>
API >> Tutorials >> Fundamentals