Anyone got any flash game know how?
Moderator: Forum Moderators
Anyone got any flash game know how?
Basically i'm making a wee game in flash, basic point and shot thing, but my clips are scrolling in from the bottom and the death animation isn't running they are just disapearing. if anyone can have a look at this and extra pair of eyes always seems to help, otherwise I'll stare at the wrong bit and not see it for like 3 days.
Ok got the scoring system and everyting working, decided to make them go over the hill instead, now all i need is a timer.
http://www.fuctinthehead.co.uk/guff/Ove ... 20hill.swf
game is there if you want to have a look at it so far, I know its not challanging but as soon as I get teh basic sorted out i'll put some speed and more randomness to it. Maybe even make some things not to shoot.
http://www.fuctinthehead.co.uk/guff/Ove ... 20hill.swf
game is there if you want to have a look at it so far, I know its not challanging but as soon as I get teh basic sorted out i'll put some speed and more randomness to it. Maybe even make some things not to shoot.
-
- Morbo
- Posts: 19676
- Joined: December 10th, 2004, 21:53
- Contact:
Working on that just now mate.Dr. kitteny berk wrote:needs super-bunnies occasionally. and bonus points for double/triple/manykills
Edit: have a faser one http://www.fuctinthehead.co.uk/guff/overthehill.swf
I'll figure out a timer later on.
Last edited by MIkkyo on October 20th, 2007, 15:18, edited 1 time in total.
Yup I've made the crosshair thing too big some how.MrGreen wrote:I'd go with super-bunnies, you may need to work on that clicking on 1 bunny seems to kill all the other bunnies in the reasonably immediate area.
Edit: sorry its firing a blunderbuss inline with the rest of the game (this is a prototype for many level minigame, the combine harvester running over them one to come shortly)
-
- Throbbing Cupcake
- Posts: 10249
- Joined: February 17th, 2007, 23:05
- Location: The maleboge
They do pop in groups don't they. Good effort though, I'm addicted and it's not finished. I hit 10k without too much effort, they don't spread all across the screen for me, should they? And the top speed appears fixed after a certain point, also, lives lost when bunny escapes? Loss of points for stray shots? Super bunny sounds good, could have a static midscreen point, where a bonus bunny pops up for a split second at random intervals?
All top points there, I'll get the scientists working on it shortly.HereComesPete wrote: They do pop in groups don't they. Good effort though, I'm addicted and it's not finished. I hit 10k without too much effort, they don't spread all across the screen for me, should they? And the top speed appears fixed after a certain point, also, lives lost when bunny escapes? Loss of points for stray shots? Super bunny sounds good, could have a static midscreen point, where a bonus bunny pops up for a split second at random intervals?
For some reason I'm having trouble intro ducing a new destroyable clip (a super bunny) it will come on randomly but no matter how much you shoot it the thing stays alive.
<strike>
Ok so this is the Crosshair code that should kill the super bunny but it doesn't anyone see where I went wrong? Note:No for loop for face as there is only one occurance of it at anyone time.</strike>
I spotted it not in the code I named it wrong with one letter. Doh, so now with added super bunnies for a whopping 100 points.
Code: Select all
onClipEvent (load) {
startDrag(this, true);
Mouse.hide();
this.swapDepths(9999);
}
onClipEvent(mouseDown)
{
playsounds = new Sound(this);
playsounds.attachSound("shot");
playsounds.start(0, 1);
playsounds.start(0, 1);
if(this.hitTest(_root["face"])&&_root["face"].dead==0)//the pretend super bunny for now
{
_root["face"].gotoAndPlay(2);//animates to next frame and makes it dissapear
_root.score+=100;//+100 points
}
for(i=1;i<=10;i++)//for loop as there are 10 instances of normal bunnies at anyone time
{
if(this.hitTest(_root["rabbit"+i])&&_root["rabbit"+i].dead==0)
{
_root["rabbit"+i].gotoAndPlay(2);
_root.score+=10
}
}
}
I spotted it not in the code I named it wrong with one letter. Doh, so now with added super bunnies for a whopping 100 points.
-
- Shambler In Drag
- Posts: 780
- Joined: March 16th, 2007, 20:22
- Location: on the sofa
- Contact:
-
- Shambler In Drag
- Posts: 780
- Joined: March 16th, 2007, 20:22
- Location: on the sofa
- Contact:
-
- Throbbing Cupcake
- Posts: 10249
- Joined: February 17th, 2007, 23:05
- Location: The maleboge