Alice Community New to alice.. Anyone have a world like this?

 New to alice.. Anyone have a world like this?
 sarah527 Junior Member   Status: Offline Posts: 1 Join Date: Nov 2011 New to alice.. Anyone have a world like this? - 11-18-2011, 01:38 AM I need help with creating a world like this. Can anyone help???? It's a project from the Alice In Action With Java book, programming project 3.1. Variables need to be used so you don't have to do trial and error with the distances between objects and such. I do not understand the variables aspect of this... "Build a scene containing two people who walk toward each other from opposite sides of the screen. When they meet, they should turn and walk off together toward a building, and enter the building when they get there." Thanks Last edited by sarah527; 11-18-2011 at 08:55 PM.
 DensetsuNoKaboom Senior Member     Status: Offline Posts: 1,188 Join Date: May 2010 Location: e4eaf2 11-18-2011, 05:22 PM I don't think it looks very hard... Thank you for taking the time to read this signature. This signature loves you.
 dakota95 Senior Member     Status: Offline Posts: 426 Join Date: Aug 2011 Location: like I would tell you. ;) 11-22-2011, 03:41 PM just make them walk towards eachother to start. Then one of them turn and both walk again
 DensetsuNoKaboom Senior Member     Status: Offline Posts: 1,188 Join Date: May 2010 Location: e4eaf2 11-23-2011, 02:47 PM Apparently it requires variables to be used, which to me sounds kinda pointless in this instance. Thank you for taking the time to read this signature. This signature loves you.
 davidghemer Member   Status: Offline Posts: 38 Join Date: Nov 2011 11-29-2011, 04:14 AM Use the distance to function to measure the distance between the two people and store this in a variable, dist. Then move the two people dist/2 towards each other (you will need to adjust a little to leave a small amount of distance between the two people but that should be easy to do). For video tutorials on programming in Alice 2.2 check out my YouTube channel http://www.youtube.com/user/drdave785 Also check out my Programming in Alice blog at http://programminginalice.com
 mdemonion Member   Status: Offline Posts: 16 Join Date: Dec 2011 Location: Netherlands 12-12-2011, 08:21 AM Wow i really like your idea of creating a world..It is so nice and it shows creativity..What I like most is your concept or we can say thinking of a scene containing two people who walk toward each other from opposite sides of the screen...

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge