Under rating threshold (hideshow)
ok, not what i looked for, but i hope i can use the code to experiment and play around. Right now im mixing frameactons and movie clips. i hope this works
Under rating threshold (hideshow)
**Error** Symbol=msl1, layer=red line, frame=1:Line 1: The class or interface 'msl1' could not be loaded.
help!!
(I used msl1 instead of missile)
Under rating threshold (hideshow)
@jbob182: and
@dracado:
Had the same problem with background on the last shootorial. was only fixed when i checked to make sure it was a .PNG file to start with before converting to symbol. and also i had to change all the names (including that of the class and .as file) to bg1. try something similar to that for missile (i.e. msl1 ect.)
hope this helps...
Under rating threshold (hideshow)
@Alexandar_1998 now i dont use actionsricpt(goign to try to learn it tho) i use turing but you have to save the x and y values of the missile to an array when its shot and have an array that saves a boolean (true =shot false=not shot). if a missile is shot add to its x value till it collides , at which point it is not shot. This is very rough and untested in a program so twaek it a lot
Under rating threshold (hideshow)
I says that there is no such term as shootlimiter so im not limiting my missiles (no offence kongregate i like your shootorials)
Under rating threshold (hideshow)
I'm on page 7 where it says to test our script. I get 2 errors:
This statement is not permitted in a class definition.
if( Key.isDown(Key.SPACE) )
A class's instance variables may only be initialized to compile-time constant expressions.
var missile = _root.attachMovie( "Missile" , "Missile" + _root.getNextHighestDepth() , _root.getNextHighestDepth() );
Please help!!!! I'm using Flash MX. Please send me a shout if you think you know what to do.
Under rating threshold (hideshow)
really great tutorials only they should change the name when i hear shootorial i think of a shooter tutorial not a game design tutorial but the tutorial is really great
Under rating threshold (hideshow)
HELP PLEASE
My ship has a rectangular white border so that is appears above the background image and makes it look bad
Under rating threshold (hideshow)
another problem: my game does only support 2 buttons pressed at a time. for example if i press space, up and right at the same time the ship only moves upwards and is firing :-/
Under rating threshold (hideshow)
my missiles start somewhere behind the ship. i can correct that if i change the line in the ship.as to missile._x = _x + 470;. then they start at the nose of the ship. but that's not according to the tutorial? oO
Under rating threshold (hideshow)
when i followed this kinda i made some errors, but when i went back and followed it perfectly! there were not mistakes and it worked fine
Under rating threshold (hideshow)
for some reason i can't get the missiles to appear. everything else works and if i put a missile in it will move but i cannot make one be shot. i'm not even getting any errors it just doesn't shoot when i push space. any ideas?
Under rating threshold (hideshow)
**Error** C:\Users\HP_Administrator\Desktop\Flash\Shoot\Ship.as: Line 21: ActionScript 2.0 class scripts may only define class or interface constructs.
if( Key.isDown(Key.SPACE) )
Total ActionScript Errors: 1 Reported Errors: 1
How do I fix?
Under rating threshold (hideshow)
Ok hang on, he made a mistake, on
page 2 it tells you to make a var for speed, but then on page nine it tells you to overwrite it as var velocity, and at that moment when you do that and try to play, the bullets don't move, but if you keep it as speed and then add the shootlimiter, the bullets move again..
Under rating threshold (hideshow)
On page 9 when it tells me to c/p the new stuff over the space control thing, my game runs but the controls become locked for some reason, can't move or shoot..
Under rating threshold (hideshow)
Alright lol, that's also been solved, but i think this problem is unsolvable.
Line 34: ActionScript 2.0 class scripts may only define class or interface constructs.
}
Total ActionScript Errors: 1 Reported Errors: 1
Under rating threshold (hideshow)
Actually , i think ive solved that, however im experiencing a different problem now ¬_¬
\Documents\Flash games\Ship.as: Line 30: This statement is not permitted in a class definition.
Any help? thanks.
Under rating threshold (hideshow)
My missiles disappears only after 3/4 of the screen... i tryed to put a higher value on the if(_x > 600) but itnot working. i can put it lover.
Under rating threshold (hideshow)
Dracado, make sure your missle has the speed variable correct and its movement right.
make sure you created your speed variable.
and make sure you set its speed to 20
then put its movement per frame
(make sure all text is same in variables, caps count)
function onEnterFrame()
{
_x += speed;
}
Under rating threshold (hideshow)
My missile keeps coming out from the middle of the ship and up a bit. And it's not got a transparent background, it's in a white box. How do I fix it?
Under rating threshold (hideshow)
missiles aren't working i get this error but dont know why
**Error** Symbol=Missile, layer=Layer 1, frame=1, Line 1: The class or interface 'Missile' could not be loaded.
Under rating threshold (hideshow)
ok I figured out 1problem,but now I got another,why when I written all that needs in this tutorial,and starting testing it says:
"Ship.as,Line 32" "Unexpected '&&' encountered" "if( Key.isDown(Key.SPACE) ) && shootLimiter > 8)"
Under rating threshold (hideshow)
Can anyone please pm me or write in here why do I get these 2 errors,and why do I can`t move,I have written the moving commands... http://img188.imageshack.us/img188/7624/wtffd.jpg