Alice Community  

Go Back   Alice Community > Alice 3 > How Do I?

Reply
 
Thread Tools Display Modes
Help me please.
Old
Hash12
Junior Member
 
Status: Offline
Posts: 9
Join Date: Aug 2018
Default Help me please. - 09-24-2018, 12:21 AM

I have no idea how to do this assignment. Can someone help me please?

Your goal is to create a project where you control at least 3 objects that are being flung in the direction of another. These 3 objects should use one method with parameters to control the action. These objects should also all have their own events to trigger their action. When there is a collision between two objects there should be an appropriate crash that would mimic that in the real world. For example if a plane gets hit with a missile it would start on fire and fall out of the sky.
Create a Method that tests for collision between 2 objects. This function will require parameters to work.
Create a Method that uses the Test for Collision Function and performs actions based on whether the objects collide.
There needs to be directions at the beginning for the user.
There should be an event that begins all the action. (This means the game should not start until the user presses a start button or key.)
Please comment on coding sections so someone who looks at your code can understand what is going on.

https://www.youtube.com/watch?v=9oFE...ature=youtu.be

Last edited by Hash12; 09-25-2018 at 02:25 PM.
   
Reply With Quote
Old
bodyjohn
Member
 
Status: Offline
Posts: 29
Join Date: Oct 2018
Default 02-26-2019, 09:19 AM

Quote:
Originally Posted by Hash12 View Post
I have no idea how to do this assignment. Can someone help me please?

Your goal is to create a project where you control at least 3 objects that are being flung in the direction of another. These 3 objects should use one method with parameters to control the action. These objects should also all have their own events to trigger their action. When there is a collision between two objects there should be an appropriate crash that would mimic that in the real world. For example if a plane gets hit with a missile it would start on fire and fall out of the sky.
Create a Method that tests for collision between 2 objects. This function will require parameters to work.
Create a Method that uses the Test for Collision Function and performs actions based on whether the objects collide.
There needs to be directions at the beginning for the user.
There should be an event that begins all the action. (This means the game should not start until the user presses a start button or key.)
Please comment on coding sections so someone who looks at your code can understand what is going on.

https://www.youtube.com/watch?v=9oFE...ature=youtu.be
my friend can help you, wait!
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.