Alice Community  

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

Reply
 
Thread Tools Display Modes
Hello how can you get something to point at something while the said Item is moving
Old
GijoeFan1976
Junior Member
 
Status: Offline
Posts: 9
Join Date: Sep 2016
Location: seattle
Default Hello how can you get something to point at something while the said Item is moving - 09-29-2016, 03:31 PM

Hello how can you get something to point at something while the said Item is moving across the screen?

like I have a cat riding a guitar and when it reaches a point on the screen i am trying to have a figure point at it. is this possible?

Thanks
   
Reply With Quote
Old
RavenOfCode
Senior Member
 
RavenOfCode's Avatar
 
Status: Offline
Posts: 408
Join Date: Oct 2013
Location: Northern Virginia
Default 09-29-2016, 09:35 PM

There is a look at function which takes a object as the parameter.


Stuff + Other Stuff + Different Other Stuff = Things :)

My best Alice game:

Clash of the Cubes (an arena fighting game):
http://www.alice.org/community/showthread.php?t=10738&highlight=game
   
Reply With Quote
Old
GijoeFan1976
Junior Member
 
Status: Offline
Posts: 9
Join Date: Sep 2016
Location: seattle
Default 10-10-2016, 07:26 PM

Quote:
Originally Posted by RavenOfCode View Post
There is a look at function which takes a object as the parameter.
okay I will try that!
   
Reply With Quote
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 210
Join Date: Dec 2012
Location: Frosno, Ca
Default 10-12-2016, 01:35 PM

Quote:
Originally Posted by GijoeFan1976 View Post
Hello how can you get something to point at something while the said Item is moving across the screen?

like I have a cat riding a guitar and when it reaches a point on the screen i am trying to have a figure point at it. is this possible?

Thanks
You can also try turn to face. But in either case you may have a problem with it being jerky due to the way things update. You could use a do together and have one object turn while the other one moves across the stage.

Mark


Mark Henwood
mhenwood@ieee.org
   
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.