Under rating threshold (hideshow)
HI guys, i've a little problem, i just wrote a little bit on my script and now all the missiles of my avatar (an the PowerUP-Bomb) don't hurt the enemies (but the bosses). the missiles fly trough them like they would be air. could some one tell me perhaps where my mistake is or just give me a little help or tip???
Under rating threshold (hideshow)
" There is no method with the name 'resetScore'. resetScore(); "
Any help, guys? It shows up in two places, and everything is typed right. I've followed all instructions and I perfectly match the Ship fla code from the downloadable source file to my own Ship.as (without all the extra instructions they have in their fla) I'm really stuck on this, and I just can't figure out what the heck it is. If anyone can help me: post on here, please, or just Shout! me! Thanks!
Under rating threshold (hideshow)
This was nice, but I thought this, so far, was proably the worst Shootorial so far. I'm new at AS and Flash so when they were telling us to put codes down, they didn't really give a screenie so I've gotten kind of screwed. I'm not sure if they're saying "Oh yeah, we'll impliment this later, here's what it will look like," or "Here's what it will look like, put it in." If it is like the second one, where at..?
Under rating threshold (hideshow)
Luci, well, HitTest thing is quite buggy, especially if your missile is animated, try a static one and tell us about the results.
Under rating threshold (hideshow)
btw i have a STRANGE problem... when the ship hits me, the health bar refresh pretty well, but when a missile hits me,it takes like 1 second to refresh... it DOES REFRESH, but it's just slow... maybe because the enemy missile is animated?
Under rating threshold (hideshow)
The class or interface 'bar' could not be loaded.
The class or interface 'healthMeter' could not be loaded.
Help!! Pulling out my hair. I have a movie clip named healthMeter on the root timeline, and a movie clip in that named bar. What am I doing wrong?!?!?
Under rating threshold (hideshow)
the part that got me stuck is the scaled bar movie i cant figure it out iv been stuck for like an hour any one wanna tell me how to make it work plz
Under rating threshold (hideshow)
"256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie."
What am i doing wronggg
Under rating threshold (hideshow)
Homemade health bar pretty sure everythings labeled up right, but it moves to the right along the top of the screen while reducing in size anyone help?
Under rating threshold (hideshow)
double click your bar movie clip, make sure that in the properties the x is at 0.0 to fix the both sides shrinking :P
Under rating threshold (hideshow)
My health bar is not going from right to left when my ship is hit
instead, its going from right to left AND from left to right at the same time.. any clue ?
Under rating threshold (hideshow)
rofloldude, i'm not saying that this is a bad tutorial(of course for you it's sooo good), I only want to show you mistakes in this code.
Under rating threshold (hideshow)
haha xD i sat 2 hours trying to figure out why my game over menu didnt go away in the beginning when i realized it didnt have an instance name :P
Under rating threshold (hideshow)
my health bar still won't work
i think its the _xscale part... i don't get how it's supposed 2 work. can some1 plz xplain 2 me? resetHealth(); IS in my onLoad(){} sect. hlp plz...
Under rating threshold (hideshow)
For whatever reason, adding the gameOverMenu broke my resetScore() and resetHealth() functions; I have to add a "_root.ship." before both, from within Ship.as, to avoid error messages, but neither one is working anymore. I have no idea what went wrong, as they were working perfectly right before adding the newGame() function...... the joys of programming.
Under rating threshold (hideshow)
I can't get the healthbar to work either. Maybe it's because I'm using Adobe Flash CS4 (with AS 2.0)...
I don't understand. the updateScore function is working, but updateHealth isnt updating.
Under rating threshold (hideshow)
thanks for the help comments because i'm making a similar game but with enemies from both sides and no shooting, s i cant just copy all the code either.
PS: How do you change the registration point?
Under rating threshold (hideshow)
For the health bar, if it's shrinking toward the middle, change the registration on the bar instance to the left and not the middle. It will shrink towards wherever the registration point is.
If it's not working at all, that's because you need to call resetHealth(); in your ship's onLoad function.
Under rating threshold (hideshow)
If you're having problems with the health meter, you need to do this: 1) Check the source files from the Shootorial to make sure that the scripts are correct. 2) Click on the health meter on the stage once and make sure that the instance name is "healthMeter" for the movie clip named healthMeter, not healthMeterBar. 3) Click on the healthMeter on the stage twice and make sure that the instance name is "bar" for the movie clip named healthMeterBar. Your health meter should be working by now.
Under rating threshold (hideshow)
yaikes my health bar is working. sorta. instead go to left when losing life, the bar goes shrinking to the middle! and the playagainbutton doesnt work! please help!
Under rating threshold (hideshow)
I cant get my reset button to work, i keep getting an error saying - The class or interface 'gameOverMovie' could not be loaded. any1 got any ideas??
Under rating threshold (hideshow)
took me a few hrs but i did it all and its working good! now its time to start that fire that i been putting off for the last 3 hrs cause of this game lol *shiver*
Under rating threshold (hideshow)
how come every time I make a symbol and put it on the screen the "class or interface _______ could not be loaded" error comes up when i run it?