Comments for Shootorial #4

avatar for Jawburger
Jawburger

May. 25, 2012

Under rating threshold (show) @Oreon Necris I have the same predicament as you had, Any info you can remember will be helpful. For anyone who didn't see, My ship spawns in the top left corner and I get an error saying "Symbol=EnemyShip, layer=Layer 1, frame=1, Line 1 The class or interface 'EnemyShip' could not be loaded." im running CS5.5 on a windows vista. The enemy also does not move. I have codes exactly how it says in here.

+ - !

(0)

avatar for Oreon_Necris
Oreon_Necris

Apr. 26, 2012

Under rating threshold (show) never mind. i don't fully understand how but i fixed it.

+ - !

(0)

avatar for Oreon_Necris
Oreon_Necris

Apr. 26, 2012

Under rating threshold (show) -_-; i dont know why but my enemy ship always spawns top left. and an error "Symbol=EnemyShip, layer=Layer 1, frame=1, Line 1 The class or interface 'EnemyShip' could not be loaded." im running CS5.5 on a windows vista.

+ - !

(0)

avatar for Sketchist
Sketchist

Apr. 15, 2012

Under rating threshold (show) TYPO on page 5 its says he instead of the :) thank you for the tutorial!

+ - !

(0)

avatar for demyx3
demyx3

Mar. 15, 2012

Under rating threshold (show) I modified the Movement code to make the ship slow down slowly, the I put acceleration into it

+ - !

(0)

avatar for garduze
garduze

Jan. 02, 2012

Under rating threshold (show) Hi. I am having a problem. There should be single enemy ships coming out each time, right? But with mine, two enemy ships come out together every time. What should I do? I don't see any part of the codes here that tells how many enemy ships should come out for each instance. Thanks.

+ - !

(0)

avatar for Mattafix
Mattafix

Aug. 25, 2011

Under rating threshold (show) If you had the same problem as me, copying the code exactly from the screenshot only to have it result with no enemy ships and no control over your own ship, add an extra '{' bracket to the bottom of the code.

+ - !

(1)

avatar for Corsyx
Corsyx

Aug. 24, 2011

Under rating threshold (show) @Smo77 It is your names between the movie clip and save file are different... if not...Message mee

+ - !

(2)

avatar for IlILegitIlI
IlILegitIlI

Aug. 21, 2011

Under rating threshold (show) I Cannot Thank Kongregate Enough For These Tuts :D.

+ - !

(8)

avatar for Smo77
Smo77

Jul. 14, 2011

Under rating threshold (show) Does anyone know why I keep getting an error message whewn I try to publish it? It says The class or interface 'EnemyShip' could not be loaded..

+ - !

(1)

avatar for lukeg98
lukeg98

Jul. 14, 2011

Under rating threshold (show) Forget my other comment. Just go to library, click on "EnemyShip" (should already be there) and delete it. Hope it helps

+ - !

(0)

avatar for lukeg98
lukeg98

Jul. 14, 2011

Under rating threshold (show) @Serial Velocity Just pick another name? xD All the places it says EnemyShip change it to your new name..?

+ - !

(0)

avatar for Serial_Velocity
Serial_Velocity

Jul. 13, 2011

Under rating threshold (show) I had this problem when I went to convert the first ship to symbol, but it fixed itself. Now when I try and convert EnemyShip to movie clip it says "The name 'EnemyShip' is already taken. Please choose a different name." Help?

+ - !

(0)

avatar for spinzter
spinzter

Jul. 11, 2011

Under rating threshold (show) when i tested mine, there was about 50 ships on the screen lol

+ - !

(3)

avatar for WindDragonLord
WindDragonLord

Jul. 08, 2011

Under rating threshold (show) I'm doing the hit test like it says, the names are the tut names, but it still ain't workin'! Help?

+ - !

(1)

avatar for Ozonerx
Ozonerx

Jun. 29, 2011

Under rating threshold (show) If you don't name the enemy ships EnemyShip, where it puts _root.attachMovie("EnemyShip",etc change EnemyShip by the name of your current enemy ships. For example if the enemy ship is called AlienShip, you must put _root.attachMovie("AlienShip", etc). Maybe thats the problem that makes the enemies not appearing.

+ - !

(2)

avatar for AMINE1
AMINE1

Jun. 25, 2011

Under rating threshold (show)

+ - !

(-16)

avatar for AMINE1
AMINE1

Jun. 23, 2011

Under rating threshold (show)

+ - !

(-8)

avatar for NadeShot
NadeShot

Jun. 08, 2011

Under rating threshold (show) im playing this and its pretty fun! :)

+ - !

(0)

avatar for Cozythrias
Cozythrias

Jun. 04, 2011

Under rating threshold (show) this is a good time to "what happens if i do this?" hence not following all the exact codes, in order to further understand what we are really doing, really this is a good tutorial... really good! 5/5

+ - !

(4)

avatar for thesonofsam
thesonofsam

Jun. 03, 2011

Under rating threshold (show) *If the Enemy ship disappears after 2 seconds* I had a typo in getNextHighestDepth. So it didn't read that it should assign a new number to each one and was generating the same one over and over again (i.e. deleting it every 60 frames and regenerating it on the left side of the screen).

+ - !

(1)

avatar for hadiclank210
hadiclank210

May. 15, 2011

Under rating threshold (show)

+ - !

(-7)

avatar for connord2k8
connord2k8

May. 07, 2011

Under rating threshold (show) At first I didn't know where to paste the _y = Math.random()*200 + 50; bit so I put it in the Ship.as... big mistake every time an enemy ship spawned it would teleport my ship to random parts of the screen. Thankfully I found it now :P

+ - !

(3)

avatar for AryuLimitless
AryuLimitless

May. 05, 2011

Under rating threshold (show) NOTE: DOn't forget to save your projects FREQUENTLY-- After EVERY change. Otherwise you'll never get the stuff working when you test! LOL O.o

+ - !

(26)

avatar for Nicklausus
Nicklausus

May. 04, 2011

Under rating threshold (show) If the enemyship dissapears after 2 seconds, go to the ship script and change the "if(enemyTimer > 60)" to "if(enemyTimer > 120)"

+ - !

(2)

avatar for mi4c
mi4c

Apr. 25, 2011

Under rating threshold (show) Pro tip: Save all AS after every page of this tut..

+ - !

(17)

avatar for AlphaOmegaTroll
AlphaOmegaTroll

Apr. 23, 2011

Under rating threshold (show) For any developers out there I praise you, because you have to deal with this crap. I've done this only for a couple hours and I want to beat the hell out of whoever came up with the case sensitive idea. 1 hour just to change my "e" to "E". But it's worth it :)

+ - !

(3)

avatar for SUOMALAINEN2
SUOMALAINEN2

Mar. 23, 2011

Under rating threshold (show) yeah... this sucks you have to like download and its not even good when you HAVE DOWLOADED so what do you think? and there comes VIRUSES when you download this game. So this is my favourite game ... ):

+ - !

(0)

avatar for echiuran
echiuran

Mar. 22, 2011

Under rating threshold (show) add comments to your code so you can remember what you learned like this: // comment or /* comments comets comments */

+ - !

(4)

avatar for morrowind3
morrowind3

Mar. 17, 2011

Under rating threshold (show) darn 0_0 My ship stopped flying D: My Ship class looks excactly the same as in the shootorial, help meh pl0x!

+ - !

(0)

avatar for Eddiechen
Eddiechen

Mar. 14, 2011

Under rating threshold (show) I have a question why the ships are only intervall on the top

+ - !

(0)

avatar for gulzaibthegreat1
gulzaibthegreat1

Mar. 04, 2011

Under rating threshold (show) nvm, fixed it but, what if i want to add different enemies, but dnt want them to come out at the same time, i want the enemy timer to add either the enemy ships or the other enemy, how i do that?

+ - !

(0)

avatar for gulzaibthegreat1
gulzaibthegreat1

Mar. 04, 2011

Under rating threshold (show) hey guys im getting this error: This statement is not permitted in a class definition. for this source:if(enemyTimer > 60) and the same error for this source:enemyTimer += 1; plz help, wat should i do? i followed the instructions from the tut exactly, copy and paste... :)

+ - !

(0)

avatar for Pixls
Pixls

Jan. 30, 2011

Under rating threshold (show) Thank you for these tutorials. They have helped me alot.

+ - !

(3)

avatar for 12pwn
12pwn

Jan. 24, 2011

Under rating threshold (show) When you guys are having problems look at the panel that shows bugs and that might help.

+ - !

(2)

avatar for ZauronX
ZauronX

Jan. 18, 2011

Under rating threshold (show) Is there such thing as a "Key.isUP"??

+ - !

(2)

avatar for SuperDan360
SuperDan360

Jan. 03, 2011

Under rating threshold (show) typo on page 2 ?? last sentance "but we dont need ay enemy ships on stage..." hopefully have my own game done in a few months .. i doing a game development course at college too xD

+ - !

(0)

avatar for AkaThaMoney
AkaThaMoney

Dec. 26, 2010

Under rating threshold (show)

+ - !

(-5)

avatar for AkaThaMoney
AkaThaMoney

Dec. 26, 2010

Under rating threshold (show)

+ - !

(-6)

avatar for demyx3
demyx3

Dec. 16, 2010

Under rating threshold (show) check your background.It may ALSO have the instance name"ship" or "Ship" if it does, then remove it.Took me a long time to figure out:P

+ - !

(1)

avatar for slitharg
slitharg

Nov. 23, 2010

Under rating threshold (show) Yesssssssssss I finally got it working

+ - !

(2)

avatar for WIIhatesYOU
WIIhatesYOU

Nov. 21, 2010

Under rating threshold (show) if i wanted to have multiple enemies, types so to speak, would i have to basicly copy these lines with the class names different like enemyship2 or what not

+ - !

(1)

avatar for Duebel
Duebel

Nov. 18, 2010

Under rating threshold (show) For those who seem to have correctly copied the code, but have errors: Perhaps you are missing one of these: ; { } ( ) Or perhaps you have put parts of code in the wrong place. Remember: Computers are the most stupid things you could possibly "talk to". If you don't "speak" their language perfectly flawless, they will not understand you.

+ - !

(2)

avatar for loodwig
loodwig

Nov. 09, 2010

Under rating threshold (show) For those of you who are trying to do this in AS3, I advise you make destructor methods, and even consider making an abstract parent class that handles all of your necessary parameters automatically (speed, registering EnterFrame, a generic destructor method). Also, if you are having trouble with a ship always appearing in the begining, that is because you didn't delete the enemy ship from the first frame. This was tough for me, because I couldn't find it behind my own ship.

+ - !

(1)

avatar for Fultoa
Fultoa

Nov. 03, 2010

Under rating threshold (show) I have all the codes right, as far as I know, but when I test it, the ships just appear in random places for a split second and disappear, it never stops... How do I fix this?

+ - !

(0)

avatar for Darkrille
Darkrille

Oct. 31, 2010

Under rating threshold (show) The class or interface 'EnemyShip' could not be loaded. Message me if you have a solution, please...

+ - !

(2)

avatar for austin000
austin000

Oct. 26, 2010

Under rating threshold (show) just can't get this to work. no matter what x and y coordinates i set the ship at, it appears in the upper left corner and stays put. on on cs5

+ - !

(1)

avatar for mightyone2
mightyone2

Oct. 24, 2010

Under rating threshold (show) enemyTimer += 1; if ( enemyTimer > 60) { enemyTimer = 0; _root.attachMovie("EnemyShip", "EnemyShip"+_root.getNextHighestDepth(), _root.getNextHighestDepth()); } i cant get my ships to come....

+ - !

(1)

avatar for zingzang454
zingzang454

Sep. 29, 2010

Under rating threshold (show) I know a lot of people have said this already but, i cannot get enemy ships to appear. the only way i have gotten it to work is by placing one on the stage. I have checked the code several times, i have deleted and remade the enemy ships movieclip several times, and it still doesn't work please pm me with an answer if you have one.

+ - !

(3)

avatar for rosslyn568
rosslyn568

Sep. 23, 2010

Under rating threshold (show) check out my shooturial inspired game at http://www.kongregate.com/games/rosslyn568/planet-defender

+ - !

(-2)

  • add a comment