Blog Archives

RPG Style Health Bar

Quick and simple example of a RPG style health bar.  You know the type – max health goes up but the health bar always stays the same length.  For this example the health bar will follow a box that has the platform behaviour.

See the example in action HERE

Download the Construct 2 CAPX HERE

If you like the example please leave a comment or rating it only takes a few seconds.

**EDIT – Seems the textboxes that allow you to change the values in the example are broken, they do work when previewing from Construct 2 though.

Advertisements

Platform Water Example

I’m back!  Well at least I think I am.  Anyway here is something of a first.  A Construct 2 tutorial.

So here’s an example of water in a platform game.  Water is handled differently in most platformers this example is just one way you could add water into your game.  Example is commented so should be easy to understand to any new to Construct/Construct 2.

This being a Construct 2 tutorial you can play the example in your HTML5 browser HERE

CONTROLS:

SHIFT – Jump (when on platform and watertop)

LEFT ARROW – Move Left

RIGHT ARROW – Move Right

UP ARROW – Move Up (only in water)

You can download the Construct 2 CAPX HERE.

That’s it for now hopefully I can get back into the swing of making some new tutorials.  I think I’m going to focus on Construct 2 tutorials from now on.

Snippet – Health Bar Using Tiled Background

Just a quick example of how to create a Zelda like heart health bar using a Tiled Background.  The example is un-commented but is really self explanatory.  Just use Left Mouse Button to subtract from health and the Right Mouse Button to add to health.

 

DOWNLOAD

Beginner Example – Counter

A new tutorial, a little late, but better late than never.  This time it’s a simple counter that counts up or down in milliseconds, “so what” I hear you say, but one that actually displays in hours/minutes/seconds.  This example is un-commented as I think it’s mostly self explanatory.  The example covers the following:

  1. Global Variables
  2. Math Functions
  3. Appending Strings
  4. Edit Box
  5. Buttons

The example is aimed at a  beginner in construct as was created in Construct 0.99.97.

DOWNLOAD

Beginner Example – Basic Scoring

Here is a quick example of basic scoring in Construct.  It covers the following areas.

  1. Basics of Global Variables
  2. Objects being clicked with the mouse
  3. Displaying the score
  4. Zeropadding a score e.g – 500 would be displayed as 00000500
  5. Making a score count upwards to the current score
  6. Checking the value of a global variable

DOWNLOAD

The example is aimed at a beginner in Construct and was created using 0.99.97.

%d bloggers like this: