-
How do I make him shoot?
How do I make him shoot in the direction of the mouse?
http://img159.imageshack.us/my.php?i...noshoot8pd.swf
-
go blues !
use a laco tweening scripts
then
pressing=true;
onPress=function(){
if(pressing ==true){
pressing=false;
bullet.tween(["_x","_y"],[_xmouse,_ymouse],1,"linear");
}
}
bullet.onTweenEnd(pressing=true);
-
Originally Posted by audas
use a laco tweening scripts
then
pressing=true;
onPress=function(){
if(pressing ==true){
pressing=false;
bullet.tween(["_x","_y"],[_xmouse,_ymouse],1,"linear");
}
}
bullet.onTweenEnd(pressing=true);
laco tweening scripts? define?
-
go blues !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|