Blog Archives

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.

Advertisements

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

SpriteFont Plugin Tutorial

Another quick tutorial.  This time for Lucid’s wonderful, but often miss-understood SpriteFont plugin.  The tutorial covers most of the plugins features and is aimed at anyone who hasn’t used or has had problems with SpriteFont in the past.

You’ll need Lucid’s SpriteFont plugin – DOWNLOAD

Here is the forum post on the Construct Forums – VIEW

And last but not least the tutorial itself – DOWNLOAD

Basic INI File Example

Another new tutorial for you guys.

This example shows how you can use an INI file to store your games information.  If you are not familiar with INI files there is a quick explanation in the comments in the cap.  The example covers the following:

  1. INI Object – Writing & Reading values (also INI file structure)
  2. Global Variables
  3. Changing a Sprites colour
  4. Edit Boxes
  5. Button Objects
  6. Dragging Sprites
  7. Rotating Sprites

The example is aimed at a beginner in construct and was made in Construct 0.99.97.

DOWNLOAD

“Auto-tiling” Level Editor

Hey everyone!  Another new tutorial for you all.

This example is a simple level editor (no saving yet) that uses “Bitwise” numbers to automatically tile the level for you.  That means you just concentrate on placing  basic  blocks in the level editor and the editor will tile it correctly.

The example is based on this brilliant forum post on TigSource by Salt.  There is also an expanded version on Salt’s blog too that can be found here.  Before opening the example I suggest reading through the post as Salt explains how this works 1000 times better than I ever could.  This method is the same as how I was automatically tiling  the Cellular Automata levels in Conway.

This example is suitable for beginners and more advanced users and covers the following:

  1. “For Each” Loops
  2. Keyboard Controls
  3. Layer Visibility
  4. Snapping a “sprite cursor” to a grid
  5. Placing Objects
  6. Checking for collisions at offsets
  7. Private Variable
  8. Trigger Once

More information and the download link can be found in the full post. Read the rest of this entry

Basic Cave/Dungeon Generator

New tutorial for everyone.  This time we’re going to make a simple cave/dungeon generator. It is based on this example by subliminal on the TigSource forums.  Basically the generator picks a random direction either left/right/up/down every tick and creates a “floor” at the current position.  The example covers the following:

  1. Loops
  2. Random Numbers
  3. “For Each” loop
  4. Placing tiles
  5. Checking overlapping objects
  6. Zooming the Layout
  7. Sub Events
  8. Keyboard Controls

The tutorial is aimed at beginners and more advanced Construct users and was made with the current stable version of Construct 0.99.97.  The download link and some screenshots can be found in the full post. Read the rest of this entry

Using the Image Manipulator for level loading

This example shows how you can use images and the Image Manipulator to load a level in an Arkanoid clone.  The example covers the following:

  1. Loops
  2. Using the Image Manipulator
  3. Private Variables
  4. Ball Behaviour
  5. 8 Directional Behaviour
  6. “For Each” Event

The example is suitable for beginners and more experienced users.  It is also only half a game.  There is no lives system, scoring system or a way to load a new level.  For practice you can add all this to the game and feel free to send me the results.  More information, screenshots and the download link can be found in the full post. Read the rest of this entry

SkullKoBan – Construct Tutorial Game

I thought I’d cross-post this from my games blog.

It’s a 1 level Sokoban clone called SkullKoBan.  I’ve commented all the events in as plain English as I can manage, which is some mean feat when I come from the North West of the UK :) .

A small note – I’m no Construct expert or programming deity so there may be things in the events that can be done easier, better or more efficient.  I just evented it to the best of my ability.

Oh and you’ll need to have Lucid’s wonderful SpriteFont plugin installed for it to work correctly, there is a link in GMG’s reply in the thread on the Construct forums.

It covers everything you’ll need to make a full game of your own.  Screen shots, YouTube video and the download link can be found in the full post. Read the rest of this entry

%d bloggers like this: