|
Hi all, so here is another tutorial on Flash Game which I did in my class for Computer Game Development subject here in UTeM. In this tutorial, we will learn and develop a game that gets string input from user. String and text type of input will be used in the game called Spell IT. Like any other game world, we also will include the scoring function using ActionScript scripts.
Navigation using keyboard arrow or mouse pointer is not the only input can be used in Flash Games. Using letters and words for games has been used since the mid-20th century. Board games such as Scrabble and paper games such as crosswords and word search used this kind of input approaches.
We will develop a Spell IT game where the player needs to enter words. This game is not only one of the simples word games, it is also easy to program.
1. Start by creating a new Flash file (ActionScript 3.0). Save it as spellIT.
2. Then, create the ActionScript file. Save it as spellIT.
3. Once we create these two files, attach the main file to the actionScript file.
4. Next, we will create a movie clip that contains a character representing the score. The character will be hanging and if the player key in a wrong answer, the character will lose 1 grip. Character will fall down and the game will be over if the player key in more than the wrong answer limits.
5. Draw your character
6. Now I have the character ready. Don’t forget to insert a stop ActionScript in the movieclip.
7. After done with the character setup and drawing. Place the movie clip on stage. Name the Movie Clip Instance name as well.


8. We will write the scripting coding now. Open your spellIT ActionScript file and write the scripts.

9. Save and test your movie after that.
Your game should work just fine. Study the scripting and label each line or function. From there, modifying your game and let the player have a chances to play again and celebrate the winning.
[Top] |