PDA

View Full Version : flash game help


David87
02-27-2008, 06:10 PM
Hi,


Im designing a flash game where you can move a submarine over different types of fish and when you hit the correct coloured fish it picks the fish up (thus removing the movieclip from the stage).

The fish scroll accross the stage continously from right to left

This works fine the first time i try it (the submarine picks the fish up and the fish is removed from the stage )

The problem im having is that when i have picked a fish up and the fish movieclip is removed from the stage, it doesnt come back onto the stage to start the process of picking it up again

Each of the fish have hitTest's applied to them and Im just not sure of the code needed to make the fish ive just picked up and removed from the stage, reappaear on the stage, scroll accross the stage from right to left and have hitTest functionality applied to it?

I need to be able to pick up several fish of the same type up fro my game and this wont work if they dont appear on the stage again scrolling with hittest functionality after they have been picked up before


Its much easier if you download my .fla file of the game and see for yourself what im talking about as its probably slightly confusing

Ive attached the .fla to this post