kcnhgames.com header

Category Archives: Tutorials

Tutorials and how-to’s.

Pseudo 3d scrolling example in Actionscript 3

A while ago I found this great resource for pseudo 3d racing games by Louis Gorenfeld. Unfortunately, the page is more of a general guide than a complete tutorial. I created the example above, the *.swf is locked at 6 fps so you can see the scrolling very clearly. You can expand it further if […]

| Tagged , , , , | Leave a comment

Animated tiles in Flixel

I managed to get animated tiles working for a game I am developing in Flixel. The method I have used is not very efficient: the program loops through all the tiles in the tilemap and changes the tile if it is an animated tile. In the future I might improve this method if it creates […]

Also posted in Game development | | Tagged , , , , , , | Leave a comment

How to use Mochi API with Flixel and actionscript 3 Flash

Edit 2017-04-28: Please note that Mochimedia has been offline for a couple of years now, so the example below cannot be used anymore. I’ve left this blog post intact for historic purposes. As a supplement to my Flixel Adventure Game Tutorial, I have written this post to explain how to add Mochi ads to your […]

Also posted in Game development | | Tagged , , , , , , , , , | 1 Comment

Korean pancake recipe

A while ago I have bought some Korean stuff, which included a package of Korean pancake mix. Because I can’t read Korean, finding out what the instructions were was difficult. I did some ‘research’, e.g. using Google to look at pancake pictures, to see what ingredients people commonly use for this type of pancake. Basically, […]

Also posted in Cooking | | Tagged , , , | Leave a comment

Flixel Adventure Game Tutorial – Part 12: Tips

Index Previous part: Sound This post concludes the Flixel Adventure Game Tutorial, a mini-series for making an awesome Flash game. I hope you have learned some valuable skills and have had a lot of fun in the progress. Although the tutorial is far from perfect, and you still have a long way to go before […]

Also posted in Game development | | Tagged , , , , , | 4 Comments

Flixel Adventure Game Tutorial – Part 11: Sound

Index Previous part: Winning In the previous part we have made a menu and a credits screen, this was all done in complete silence. It’s time to change things for the better by adding some sounds to the mix. There are two types of audio that we will be looking at, sound effects and music. […]

Also posted in Game development | | Tagged , , , , , , | 4 Comments

Flixel Adventure Game Tutorial – Part 10: Winning

Index Previous part: Item Trading In the previous part we have created dialogue for trading items between the player and a non-playable-character. In this part we will be looking into creating an end (credits screen) and a beginning (menu) to the game. For this tutorial we will just create an easy win-condition, delivering the letter […]

Also posted in Game development | | Tagged , , , , | 3 Comments

Flixel Adventure Game Tutorial – Part 9: Item Trading

Index Previous part: Picking up items In the previous part we have programmed how to pick up items from the world and delete items from our inventory. Now we will take a look at item trading, which will incorporate things we have learned in earlier in this tutorial. Let’s start out by writing a function […]

Also posted in Game development | | Tagged , , , , | 1 Comment

Flixel Adventure Game Tutorial – Part 8: Picking up items

Index Previous part: The Inventory Previous part of the tutorial we have created an inventory system. Now, we will create an item in the world for the player to interact with and pickup. For the pencil we want to have a world-representation in the form of a character. The way Flixel handles sprite-sheets allows us […]

Also posted in Game development | | Tagged , , , , , | 2 Comments

Flixel Adventure Game Tutorial – Part 7: The Inventory

Index Previous part: Creating layers with FlxGroup In the previous part we have used the FlxGroup class to group objects and manipulate them. In this part we will make an on-screen inventory. We want to display items on-screen like we do with the dialog. Let’s start by creating an item class, we want it to […]

Also posted in Game development | | Tagged , , , , | Leave a comment