|
#11
|
|||||||||
|
|||||||||
|
yay! testing is fun!
__________________
(\ (\ ( ^_^) (_(")(") This is Bunny. Copy and paste bunny into your sig to help him gain world domination... (\/) (-_-) (")(") This is Bunny's friend. Copy and paste Bunny's friend for back-up... /\_/\ ( .. ) (")(") This is robot-bunny. He will dominate everything who stands in Bunny's path... |\_/| _______. |^^|| ' | |'') |'') Bunny's bodyguard carries a gun everywhere he goes... (\__/) ( O.o) (> < ) Its a demented bunny... (\(\ ~~ be a bunny ~~ (='.')~~ make war ~~ o(_")")~~ not luv ~~ |
|
#12
|
|||||||||
|
|||||||||
|
Try this:
Code:
numtotest = 3;
for (i=1 ; i <= numtotest ; i++) {
if (_root["hit"+i].hitTest(_root.ball.ballHit)) {
xspeed = 0;
yspeed = 0;
_x = 192;
_y = 27;
_root.score--;
_root.lives--;
if (_root.lives<1) {
_root.fadeoutfail.gotoAndPlay(2);
_root.ball.gotoAndPlay(2);
}
}
}
![]() Quote:
__________________
|
|
#13
|
||||
|
||||
|
Oh joy again!
You are truly a lifesaver Gaz, thank you so so much, you will get credited - a lot :3 Thanks again. If I have an y more questions I'll post 'em here ![]()
__________________
'Lo peoples. I'm NiallTL (Neel Tee Ehl). Eh, I don't have to put effort into this, do I?
|
|
#14
|
|||||||||
|
|||||||||
|
no probs
![]()
__________________
|
|
#15
|
||||
|
||||
|
Here I am again with a brand new problem
![]() Each level is programmed on a single frame each, so I can't use a stop(); code, I'd like to be able to have it so that when you press P it pauses the game, so it pauses the music, character, everything. Then when you press P again it unpauses. Sort of like in metro siberia underground > Salomonsson.se Any help please? Thanks ![]()
__________________
'Lo peoples. I'm NiallTL (Neel Tee Ehl). Eh, I don't have to put effort into this, do I?
|
|
#16
|
|||||||||
|
|||||||||
|
Quote:
__________________
|
|
#17
|
||||
|
||||
|
Aw shoot.
I can get it to stop all the variables working on the character when the key is P, but I can't get them to start again when I press it again. Is there any way for it to detect a second keypress?
__________________
'Lo peoples. I'm NiallTL (Neel Tee Ehl). Eh, I don't have to put effort into this, do I?
|
|
#18
|
|||||||||
|
|||||||||
|
Quote:
This is one of those things that feels like it should be simple but can turn out to be a total pain depending on how you've coded the game. I don't think I've ever made a pause button ![]()
__________________
|
|
#19
|
||||
|
||||
|
Nevermind, I think I've got it working. Thanks for the help.
__________________
'Lo peoples. I'm NiallTL (Neel Tee Ehl). Eh, I don't have to put effort into this, do I?
|
|
#20
|
|||||||||
|
|||||||||
|
now we test?
__________________
(\ (\ ( ^_^) (_(")(") This is Bunny. Copy and paste bunny into your sig to help him gain world domination... (\/) (-_-) (")(") This is Bunny's friend. Copy and paste Bunny's friend for back-up... /\_/\ ( .. ) (")(") This is robot-bunny. He will dominate everything who stands in Bunny's path... |\_/| _______. |^^|| ' | |'') |'') Bunny's bodyguard carries a gun everywhere he goes... (\__/) ( O.o) (> < ) Its a demented bunny... (\(\ ~~ be a bunny ~~ (='.')~~ make war ~~ o(_")")~~ not luv ~~ |
| Sponsored Links |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|