Re: How can I stop my game from stalling?
Posted: Sat Oct 26, 2013 1:19 pm
Good start for a game. It will be fun to play.
Instead of using Random for every fish, why not give them each a different time interval? That way, you can tinker with the speed and challenge of the game. e.g. have 3 fish show in 2 secs, 1 in 4 secs and 1 in 5 secs. Because you have enough fish, they will appear random.
If the game still does not run smoothly, you may have to give each fish a unique name (fish1, fish2, etc).
After you put a background to your "tank", you will also need to edit the fish using the "eraser" tool to trim the white space around the image. (hint: enlarge the fish to make trimming easier then shrink it down to its original size.)
Have fun and do not get discouraged. It takes time and patience to make a good game but you are off to a fine start!!
Instead of using Random for every fish, why not give them each a different time interval? That way, you can tinker with the speed and challenge of the game. e.g. have 3 fish show in 2 secs, 1 in 4 secs and 1 in 5 secs. Because you have enough fish, they will appear random.
If the game still does not run smoothly, you may have to give each fish a unique name (fish1, fish2, etc).
After you put a background to your "tank", you will also need to edit the fish using the "eraser" tool to trim the white space around the image. (hint: enlarge the fish to make trimming easier then shrink it down to its original size.)
Have fun and do not get discouraged. It takes time and patience to make a good game but you are off to a fine start!!