im having some problems to work with variables can some1 help me??
im making a spaceship shooter kinda thing like the game garuda evolution...
im trying to make it like a lvl up kinda thing. ive done the lvl1,2,3 of the thrusters,wings and armor.
in the main mc instance named: bk, i put in:
onClipEvent(load){
wings=1;
thrusters=1;
body=1;
speed=3.5;
handling=5;
health=100;
}
onClipEvent(enterFrame){
if(Key.isDown(Key.UP)){
_root.bk._y-=speed*thrusters
}
if(Key.isDown(Key.DOWN)){
_root.bk._y+=speed*thrusters
}
if(Key.isDown(Key.RIGHT)){
_root.bk._x+=handling*wings
}
if(Key.isDown(Key.LEFT)){
_root.bk._x-=handling*wings
}
}
and to test it out i made a button with the actionscript in it:
on (release) {
wings+10
}
but i get no difference in the speed of moving _x wise.... can some1 teach me how to properly use the change variable thingy and if possible can some1 pro add me in msn to help me XD im not tat noob so i doubt ull get frustrated teaching me. PLS HELPP