The Daily Click ::. Forums ::. Klik Coding Help ::. 360 movement
 

Post Reply  Post Oekaki 
 

Posted By Message

Arneckian



Registered
  17/01/2005
Points
  984
18th July, 2005 at 00:39:35 -

Im making a 8 Ball game and I cant get the Active Picture to "look" at another object.

Ill be more specific.

The Whiteball is an Active Picture.
Values:

Alterable Value A = Angle
Alterable Value B = Speed
Alterable Value X = X Position
Alterable Value Y = Y Position

Events:

Start of frame
-Set Alterable Value X(Whiteball) to X Position(Whiteball)
-Set Alterable Value Y(Whiteball) to Y Position(Whiteball)

Always
-Set X Position(Whiteball) to Alterable Value X(Whiteball)
-Set Y Position(Whiteball) to Alterable Value Y(Whiteball)
-Set Alterable Value X to X(Whiteball)+(Cos(Alterable Value A(Whiteball))*(Alterable Value B(Whiteball)
-Set Alterable Value Y to Y(Whiteball)+(Sin(Alterable Value A(Whiteball))*(Alterable Value B(Whiteball)
-Set Hot Spot(Whiteball) to center
-Set Alerable Value A(Whiteball) to Angle(Whiteball)

 
Phizzy is God. Mod him.

Nuutti



Registered
  26/10/2003
Points
  1364
18th July, 2005 at 03:40:40 -

Hm. It would help me a lot if you posted an example .cca file...

 
P.S. sorry for my mangled english.
   

Post Reply



 



Advertisement

Worth A Click