Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Frogger game.. pleasee help me!!!
Old
ilikepie
Junior Member
 
Status: Offline
Posts: 1
Join Date: Jan 2013
Default Frogger game.. pleasee help me!!! - 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!!
Attached Files
File Type: a2w Paiman_Imtiaz_Final Project.a2w (3.59 MB, 18 views)
   
Reply With Quote
help
Old
bob3583
Junior Member
 
Status: Offline
Posts: 14
Join Date: Oct 2012
Location: in the matrix
Default help - 01-11-2013, 11:26 PM

I'll help, although I'm not sure I WILL be of any help.


www.aliceclass.weebly.com
if anyone needs help, sfunk has some awsome tutorials on youtube!
   
Reply With Quote
help
Old
bob3583
Junior Member
 
Status: Offline
Posts: 14
Join Date: Oct 2012
Location: in the matrix
Default help - 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.


www.aliceclass.weebly.com
if anyone needs help, sfunk has some awsome tutorials on youtube!
   
Reply With Quote
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 210
Join Date: Dec 2012
Location: Frosno, Ca
Default 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
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.