Creating a new Screen

Introduction Every Glue project must have at least one screen. To create a new screen: Right-click on the “Screens” item in Glue Select “Add Screen” Enter the name for the new screen Click OK Tutorial For information on how to create a new screen, see this page in the Beefball tutorial.

Tutorials:Platformer:Adding Collision

Introduction So far we have a basic skeleton set up with what appears to be a working character – at least, we have a character with gravity. This tutorial will cover adding collision to a Screen for the character to collide against and navigate. Creating a ShapeCollection Our collision will be in the form of[…]

Tutorials:Platformer:Introduction and Setup

Introduction Welcome to the first part of the Platformer tutorial. This kicks off a set of tutorials which will show you how to use Glue to create a platformer. Platformer games are games in which a player typically controls a character in a side-view. This character can usually move horizontally, jump, and fall, although many[…]

AnimationEditor Plugin

Introduction The AnimationEditor is a standalone tool, but a plugin also exists which will embed the tool into Glue. The AnimationEditor is a tool which simplifies the creation of AnimationChainList files (.achx files). The AnimationEditor is automatically installed by the FlatRedBall installer. The plugin can be found here. For revision history, click here. AnimationEditor Plugin[…]

Advanced Interpolation Plugin

Introduction The Advanced Interpolation Plugin is a plugin which is designed to simplify advanced interpolation between States. This plugin provides numerous interpolation methods which are applied using the standard InterpolateBetween method provided by Glue. The logic generated by this plugin is available through an overload to the InterpolateToState method. Just like the regular InterpolateToState method,[…]

05. Main Ship Behavior

Introduction At this point we have a ship which is visible on Screen, but it doesn’t do anything. This tutorial will add behavior to our MainShip Entity so that it can move, turn, and shoot. Adding Variables The MainShip movement will be to continually move forward at a constant speed, and to give the user[…]

01. Introduction

Introduction Welcome to the Rock Blaster tutorials. Rock Blaster is a simple top-down game similar to the old Asteroids game. This set of tutorials will cover a variety of Glue topics. If you’ve been through the Beefball tutorials, this set of tutorials will build on that information and show more Glue functionality. If you haven’t[…]

Tutorials

Before you get started… Asking questions – Learning to ask questions is the most important requirement in learning how to make games. Read this first. Tutorials using Glue Pong in 15 minutes – This video shows how to create Pong in 15 minutes using Glue. Watch this to learn what Glue is all about. Beefball[…]

CollideAgainst

Introduction Sprite collision methods are obsolete! The Sprite collision methods were written long before Entities and Glue. During that time the Sprite was intended to contain its own collision; however, now the Entity pattern has replaced this approach. The collision methods in the Sprite class have been left in but instead we recommend using the[…]

10. Scoring HUD

Introduction This tutorial covers creating a HUD object which will display the scores of each player. Creating a ScoreHud Entity First we’ll create an Entity to store all of our scoring information. We could place all of our HUD objects directly in the Screen, but this approach can result in a large number of objects[…]