ou alors tu fait dans la touche left :
- Code:
-
balldirection = gauche
et dans right :
- Code:
-
balldirection = droite
et dans ta touche pour tirer :
if variable "balldirection" equal to "gauche"
create instance of object(ta ball) with motion (direction=180,speed=ta vitesse)
if variable "balldirection" equal to "droite"
create instance of object(ta ball) with motion (direction=0,speed=ta vitesse)
_________________
JEUX EN COURS :
Goomba Aventure = 75%
Battle Space = 52 %
Snowman Aventure = 2.5%
Bigwar = 18%
Rollercoaster mania = 5%
Helibattle = 18%
KKboom = 83%
Sansnom = 10%
Zelda and the four birds = 9%
E-defining = 52%
Error factory =