-
Rhythm Game
Help! I am making a rhythm game (similar to Guitar Hero) in Macromedia Flash Professional 8. I want to know if there is a way to make a long note (action script). Just in case, here is the code I am using for single notes:[
onClipEvent(load){
speed=30;
}
onClipEvent(enterFrame){
_x-=speed;
}
onClipEvent(enterFrame){
if(Key.isDown(Key.LEFT) & _root.middle.hitTest(this)){
_root.score+=10;
unloadMovie(_root.sixteen);
_root.needle._x+=speed;
}
}
onClipEvent(enterFrame){
if(_root.missline.hitTest(this )){
_root.misses+=1;
unloadMovie(_root.sixteen);
_root.needle._x-=speed;
}
}
Please help me!
P.D: I am sorry if I am posting this in the wrong place. I am new here.
Tags for this Thread
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
|