Mar 8, 2016

Posted in Technology | 0 Comments

[Tutorial] Create Basic Flash Games Using Linux

[Tutorial] Create Basic Flash Games Using Linux

With the growing popularity of Facebook and game sites like miniclip.com, Flash games have acquired a huge fan base.

But here, we’ll look at the other side of the coin. Have you ever thought about creating your own Flash games?

Now, that’s what we are going to tell you about…

It doesn’t matter if you have any prior work experience on the Flash platform, or whether you can write a chunk of code or not, because the most exciting part of creating Flash games is that you don’t need to write a single line of code.

The tool StencylWorks, which we will be using, provides a nice drag-and-drop interface to create games. So get ready for the fun world of game creation.

You can download StencylWorks from its official site’s download link. At the bottom of this Web page, you can choose your platform (Windows, Linux or Mac). So simply select Linux and your .tar.gz download will start automatically.

To run StencylWorks, you’ll need at least Java 1.6 installed on your system. I’m using RHEL 5, which provides Java 1.6 in its package library; so a simple yum install java-1.6* command did it for me. The same command will work on Fedora too.

If your Linux distribution doesn’t include Java 1.6, you will have to download it and install it. I have Ubuntu 9.10 running on VMware, so I downloaded the linux-i586.bin package from the page (you can choose an appropriate package for your system’s OS and configuration).

StencylWorks-welcome

Now launch the downloaded bin package as the root user to install Java. It will extract the contents of the bin package into a folder named jdk1.6.0_13 in your home directory; copy or move this folder to /usr/local, which is the standard folder for manually installed programs on most distributions. That’s it.

Next, let us unpack the StencylWorks tar.gz with a tarxz ./StencylWorks-1.3.4.tar.gz command in the folder where you downloaded the package. Unpacking the tar.gz gives you a directory StencylWorks-1.3.4.tar.gz_FILES; change the working directory (cd) into that and run ./StencylWorks to launch StencylWorks.

When it starts, you’ll be asked to accept the licence agreement. Accept it and you’ll land up at the welcome screen.

Now that you have StencylWorks running, you will want to start creating your first game, but you don’t know how to begin. From the official site, you can get a number of tutorials on every aspect of this tool. If you want an interactive tutorial that takes a step-by-step approach to creating games, visit the guide to check Abigayl’s interactive tutorial.

This five-part series is ideal for newbies and within a few hours you will learn a lot about this tool – and at the same time, you’ll have your first game running. The tool also comes with a few game kits and a crash-course kit that assists you in learning the game creation process.

StencylWorks provides a nice drag-and-drop interface for creating the logic behind your game, so you don’t need to write code if you don’t want to. It provides blocks under different categories, which you can use to add interactivity to your games.

All game-related tasks, including character movements, saving and reloading your game can be done using these blocks. You simply create actors, scenes and sounds for your game, and import them to the StencylWorks workspace.

To add functionality to your game, just drag-drop the appropriate blocks, and the corresponding ActionScript code is automatically generated.

working-hard-computer

You can also convert your games into mobile games and deploy them to various app stores in order to earn some bucks for your efforts. On the official site, you can read some success stories that’ll inspire you, and you’ll realise how a properly planned and executed idea can achieve success.

Having read this article, I am quite sure you must be itching to get your hands on StencylWorks.

So what are you waiting for? Go get it, and enjoy making up some cool games!

You May Also Like:

Leave a Reply