Shootorial #1

Shootorial #1

by Kongregate
버그 신고
게임 신고
Loading ad...

Shootorial #1

평점:
4.0
출시일: October 14, 2008
최종 업데이트: October 16, 2008
개발자: Kongregate

Shootorial #1의 태그

설명

이 초급 플래시 게임 제작 튜토리얼에서는 키보드 입력을 통한 기본 스프라이트 움직임을 다룹니다.

플레이 방법

Shootorials를 완료하고 직접 플래시 게임을 만드는 방법을 배워보세요.

FAQ

Shootorial #1이란 무엇인가요?
Shootorial #1은 Kongregate에서 Flash 게임 개발의 기초를 가르치기 위해 제작한 고전 우주 슈팅 튜토리얼 게임입니다.

Shootorial #1의 개발사는 어디인가요?
Shootorial #1은 Kongregate에서 Shootorial 시리즈의 일부로 개발 및 배포했습니다.

Shootorial #1은 어떤 종류의 게임인가요?
Shootorial #1은 기본적인 슈팅 메커니즘과 프로그래밍 개념에 중점을 둔 싱글 플레이어 2D 우주 슈팅 게임입니다.

Shootorial #1은 어떻게 플레이하나요?
Shootorial #1에서는 키보드로 우주선을 조종해 적을 쏘고, 장애물을 피하며 목표를 파괴합니다.

Shootorial #1만의 특징은 무엇인가요?
Shootorial #1은 우주 슈팅 게임을 처음부터 직접 만들어보는 실습 경험을 제공하는 개발 튜토리얼 시리즈의 첫 단계로 설계되었습니다.

댓글

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.