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.

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[…]

11. Scoring HUD Logic

Introduction Now that we have a visible HUD, we need to add logic to have it update when players score. This tutorial will add code to the ScoreHud to update the displayed text according to public properties which will be set by GameScreen whenever a goal is scored. Adding Team Score Properties First we’ll be[…]

12. Adding Dashing

Introduction At this point Beefball is a fully-playable game, but we’ll be adding one final feature: dashing. This provides deeper gameplay that rewards skill and adds an element of anticipation and excitement. Adding Dashing A dash will give the player a burst of speed in the current direction that the player is pointing. The dash[…]