This post is part of a series in learning how to make games with PuzzleScript. If you haven’t read my previous tutorials, I recommend you do so here, as that is assumed knowledge for this post. The Action Command By now we know how to walk around, push blocks and pull blocks, but what if we…
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.
I’m always on the lookout for good sources of materials on Game Design. One such source is Mark Brown’s Youtube Channel. He does a really amazing job at looking at different games or topics and breaking them down in really understandable and interesting ways.
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.
I’ve got quite a few browser games out right now that you can play. Below is a list of them all – and I’ll update this list as I add more. The games are also down the side of the blog.
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.