Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Please help...
Old
kenmagee
Guest
 
Status:
Posts: n/a
Question Please help... - 05-10-2010, 04:27 PM

I have been working on this project forever and it is due thursday. I am trying to get a helicopter to fly to save some people where it has sunk. The boat is halfway in and out of the water. I am trying to get the helicopter to fly so it is just above the people and the boat. I can only seem to get the it to go under water because that is where the axis is? Please advise... Thanks...
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 05-10-2010, 04:50 PM

Instead of "move to" the person, you can use "move toward" the person, and then in the part that asks you for the distance, you can do "(distance between helicopter and person) - 1", and you can change that 1 to whatever works for you.

If this isn't how you did your world, just upload it and I'll see if I can fix it for you.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Any help would be great
Old
kenmagee
Guest
 
Status:
Posts: n/a
Default Any help would be great - 05-10-2010, 09:09 PM

I am trying to get the helicopter to be just above the people and boat. Then I am going to rescue them and bring them back to the island. This project is due by thursday and I have the final exam that night as well. Plus there are 5 homeworks that I doubt I will be able to due because I am spending so much time working on this project. Another guy in my programming concepts class can't figure it out either. It's crazy. Thanks, i appreciate it.
Attached Files
File Type: a2w saveMePlease.a2w (4.61 MB, 8 views)
   
Reply With Quote
Making some progress 6 hours later...
Old
kenmagee
Guest
 
Status:
Posts: n/a
Default Making some progress 6 hours later... - 05-11-2010, 03:39 AM

I have actually got the helicopter to go to the people without crashing into the water but now when the helicopter returns to the island the helicopter is sunkin into the ground and when I can't seem to get the passengers centered in the helicopter or figure a way to position them next to mike. Any help would be appreciated... Thanks Ken

I have attached what I have done so far... I really appreciate the help...
Attached Files
File Type: a2w saveme1.a2w (4.63 MB, 2 views)
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 05-11-2010, 04:04 PM

There are multiple holes in your logic here that you will have to fix. I started to fix some of the minor things that you did wrong, but really I cannot do much for you without completely changing much of the stuff that you have in there right now. For example, if you loop it so that the helicopter goes back for the other survivors, what if they pick a survivor that has already been rescued? The helicopter will continue downwards forever until you stop the program. Also there are some graphic errors like the helicopter going through the island, but those can easily be fixed.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
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.