Sometimes you might want to check what’s next to an object. You might want to check if a duck is sneaking up behind you, or you might want to create blocks that can only be pushed horizontally, but not vertically. We can do this without too much difficulty.
For some reason you might want to create custom movement in your game. Ducks that can only walk left, crates that can only be pushed horizontally, that sort of thing. There’s a very simple way to do that, and I will show you how.
There might be times when you want to check for something only in a certain direction. You might, for example, want to create blocks that can only be pushed horizontally. Or you might want to create a duck that can only walk left. Whatever your reasons, you specify things to occur only in specific directions.
I have created a series of intermediate tutorials for PuzzleScript. These tutorials are aimed at someone with no prior knowledge about programming, except that you have read my beginner tutorials for PuzzleScript.
Typically PuzzleScript is used to make top down games, but you can in fact emulate some of the elements of side-scrollers, albeit with the limited rules of puzzle script, in that it is still turn based. This tutorial will cover how to make gravity. Sample Project Open the sample project. I’ve given a basic level…
PuzzleScript is great fun, but wouldn’t it be nice to know how to animate with it? Well, now you can with this tutorial. I also introduce the ‘again’ keyword, which is crucial for PuzzleScript success.
So you have this idea for a great Puzzle Script game, but it involves checkpoints. You want the player to be able to reset to the checkpoint if they press reset or if they die. How do you do that? This tutorial will cover it, and it’s very simple.
Ever wished you could check for more than one condition at a time in Puzzle Script, like is there a bomb anywhere on the stage AND a destructible block? This tutorial teaches how to check multiple conditions. It builds on knowledge from the previous beginner tutorials, which I recommend if you’re new to Puzzle Script.
I have created a series of beginner tutorials for Puzzle Script. These tutorials are aimed at someone with no prior knowledge about programming or Puzzle Script, covering everything in step by step detail. Tutorial links below. Make Your First Puzzle Script Game Start Programming in Puzzle Script Creating Objects Setting Win Conditions Using The Late Command Using…
This tutorial isn’t about being fashionably late. Sometimes you want code to run last, after everything else has been checked. The late command is how you do that. This tutorial will teach you how to use the late command in Puzzle Script as well as showing how your code is read by the machine. It assumes no prior programming knowledge except the Puzzle Script tutorials listed here.