Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Lab3
Old
CZinniaS
Junior Member
 
Status: Offline
Posts: 5
Join Date: Jan 2014
Location: Texas
Default Lab3 - 04-17-2014, 10:38 PM

I need help with this. I am trying to create my game where the cone has to travel on a specific path left or right and I want the rings to all fall from directly overhead.How do I do this? also using the event let the user move the cone. How can I specify that the cone can only be moved left or right?
Attached Files
File Type: a2w game].a2w (299.5 KB, 22 views)
   
Reply With Quote
Several Options
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default Several Options - 04-18-2014, 12:10 PM

The flexibility available using While key pressed events were broken by changes made in version 2.4.1 in Dec 2013, and will hopefully be repaired some day.

However, you might try using the" Let the mouse move an object" event to fix your problem. Once it's setup, just click the mouse on your cone, and move the mouse left and right.

If you are using 2.3.5, or older, then you can try making "when key pressed" events for left and right arrows, right-click to change them to a "while key pressed" events, and add move left and right commands for the cone to the "During" phase.

Last edited by MrMoke; 04-18-2014 at 12:21 PM.
   
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.