PDA

View Full Version : Frogger game.. pleasee help me!!!


ilikepie
01-10-2013, 05:00 PM
Hi my program that makes the frog go onto the carrier will not work when i go close to the water (blue sqaure blocks its diesnt send me back). What i was trying to do was make my frog jump on to the moving carrier and on to the next one and so on but i cant.. And my car collision doesn't work for some odd reason..Thanks for reading my plead for help!! :confused:

bob3583
01-11-2013, 11:26 PM
I'll help, although I'm not sure I WILL be of any help.

bob3583
01-11-2013, 11:46 PM
You know what? I can't. It kept locking my computerm, and you do it so diferently than me, I would have to gut it of all its programming. Sorry, but I can't help.:mad:

chickentree
01-21-2013, 05:03 PM
Sorry, but you need to rewrite this I am not sure what you are attempting to do and I can't spend time going through all the methods to figure it out.

Now for the help!

If you right click on the "When the world starts" event you can change it to "while the world is running" which is a BDE (Begin, During, End) event.
Begin: Put a method here to take care of anything you want to do when the movie starts.During: The method you put here should cause your traffic to move. It will be called over and over again as long as the movie is running, so you don't need a loop.End: Any "clean-up needed before the movie ends should go here.

Now go back to your code and get rid of all the infinite loops. Using these in a method pretty much stops any other methods (not events) from running.
Put the code into the methods you will use in the BDE event.
Next look for when the scores need to be updated. For instance if the only time the score can change is when the frog moves, write a score method and call it in each of the frog movement methods.

Hope this helps
Mark