You do not have permission to view this game
Shootorial #1

Shootorial #1

by Kongregate
Report a bug
Flag Game
โญ Top
Fleeing the Complex
โญ Top
Epic Battle Fantasy 4
๐Ÿ”ฅ Hot
NGU IDLE
โญ Top
Swords and Souls
โญ Top
Kingdom Rush
โญ Top
Mutilate-a-Doll 2
โญ Top
The King's League: Odyssey
โญ Top
The Enchanted Cave 2
โญ Top
Kingdom Rush Frontiers
โญ Top
Bloons TD 5
โญ Top
UnpuzzleX
โญ Top
Incremancer
โญ Top
SAS: Zombie Assault 4
โญ Top
Epic Battle Fantasy 5
โญ Top
Learn to Fly 3
โญ Top
Bit Heroes
โญ Top
Escape Game - Computer Office Escape
โญ Top
Bloons Monkey City
โญ Top
Learn to Fly 2
โญ Top
Retro Bowl
Loading ad...

Shootorial #1

Rating:
4.0
Released: October 14, 2008
Last updated: October 16, 2008
Developer: Kongregate

Tags for Shootorial #1

Description

This beginning level flash game making tutorial covers basic sprite movement via keyboard input.

How to Play

Complete the Shootorials and learn to make your own Flash games.

Comments

0/1000
Altwing avatar

Altwing

Sep. 01, 2010

203
11

Okay! Today I decided, after playing on Kongregate, that I wanted to learn how to create my own game in Flash. So I just downloaded CS3. I have a 30 day free trial. Which is good, as I know nothing.

Attempted to do the โ€œShootorialโ€ series. It took me about 4 hours to get through a 5 minute tutorial, because I did not realize that โ€˜velocity=10โ€™ is different from โ€˜velocity= 10โ€™. Apparently Flash is both case-sensitive and spacing-sensitive. Good to know.

Anyway, I drew my own little spaceship and got it to move around the screen! I feel very accomplished now, and figure that another 36 years at this rate and I'll be cranking out "Cursed Treasure" and "Epic War" and games like that.

NinjaNo1 avatar

NinjaNo1

Jul. 14, 2010

230
15

Ok, i was stuck on page 9 fora a long time, and couldn't find any answer as to why my ship stood still, but then i realized that my class was named Ship, but my code was saved as ship.as. So yeah, you need to match the casing as well. Hope this helps someone.

DragonSpire avatar

DragonSpire

Jun. 07, 2010

91
11

For whom the ship doesn't move, make sure you're: using ActionScript 2.0 not 3.0, saving both files into the same folder, watching for case when naming files and properties.

12sea21 avatar

12sea21

Aug. 22, 2010

34
3

All right, i got this code:
class Ship extends MovieClip
{
var velocity;

function onLoad()
{
velocity = 10;
}

function onEnterFrame()
{
_x += velocity;
}
}

Note that the _x is += (adding) velocity, and not becoming itself + velocity,
Try this. then try to make the ship as an instance name (SHIP).
If nothing works. pm me.

3nd0fw0r1d avatar

3nd0fw0r1d

Jun. 20, 2010

103
13

When doing the tutorial, make sure you save the file the same name as the "class" name. Sample Line 1: "class Ship extends MovieClip {" you would save the file as "Ship".
Note: You cannot "test movie" unless your script files have been saved already.
Also Note: make sure the name of the actual MovieClip is the same as the class name.
2nd Note: Make sure when you start, you use "Flash File (ActionScript 2.0)"
Last Note: Read the tutorial carefully and click on the pictures to make them larger. If you get any errors, make sure your script looks like the tutorial's and that all script files have been saved.
P.S.: Make sure all Brackets "{" pair up with an end Bracket "}" somewhere in the script. The number of brackets and end brackets should be the same.

โญ Top
Shootorial #8
โญ Top
Shootorial #7
โญ Top
Anime Character Generator (female version)
โญ Top
Paintorial2
Flash RPG Tutorial Part 1:How to make turn-based battle
โญ Top
Kongregate Tour v2
โญ Top
Kongregate Level Up Guide
โญ Top
Effect Compilation
โญ Top
Kongregate Tour
โญ Top
Kongregate Stats API Tutorial: ActionScript 2