Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - CSLewin

Pages: 1
I'm making a two-player game of pong.  I've created an actor behavior attached to the ball that increments one of the two players' scores (as a number attribute) when the ball exits the screen on the appropriate side. 

How do I display this number attribute on the scene?  When I tried to create a scene behavior that referenced the number attribute attached to the ball, it doesn't show up.

Edit:  Do I need to make the score a general Game Attribute?  I'll try that now and see if it shows up as a universally referable attribute.

Edit 2:  Haha.  Yes.  Yes it does.  Problem solved.

Resolved Questions / Re: Can't select an Actor for my attribute.
« on: September 23, 2011, 06:27:21 pm »
Awesome!  That cleared it right up, and now I think I can properly use actor instance customization.

Resolved Questions / Can't select an Actor for my attribute.
« on: September 23, 2011, 04:54:10 pm »
Howdy.  I'm running StencylWorks on a MacBook.  I'm trying to create an Actor attribute in a behavior, but I can't seem to pick WHICH actor the attribute will reference.  The documentation suggests that selecting the "Actor" attribute will let you pick a particular instance of an actor, but the only thing that lets me do that is the "Actor Type" attribute--which then doesn't interact with my behavior in any way I can observe.  Is this a known bug?  Am I missing something obvious?

Pages: 1