[project1dev] Re: Project1 - SVN Update 399

  • From: Kent Petersen <kentkmp@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Mon, 27 Jul 2009 14:17:21 -0700

Wasn't bad. I had to switch up my way of thinking but once I was in the
groove it was easy. I see some potential complexity issues. Let's say with
the kitties I have now I want to have 2 states at once, one for wander one
for look at player. Let's say I wanted to look at the player while
wandering. What would be the best way to do that? I was thinking to just
have multiple states that the kitty could be in. Maybe one would be
MovementState and the other would be LookingState. Does that sound right?

On Mon, Jul 27, 2009 at 1:18 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:

> How do you feel about the state machine way of doing things?  Is it good or
> bad or just different?
>
> Was converting very difficult?
> On Mon, Jul 27, 2009 at 1:08 PM, Apache User <dhapache@xxxxxxxxxxxxxxxxxxx
> > wrote:
>
>> User:korgath
>>
>> Message: finished converting the kitty to a simple state machine as Alan
>> recommended. removed kitties backing away when the player is close for now.
>>
>> <Files Changed>
>> U   Scripts/Enemies/kitty.lua
>>
>>
>>
>

Other related posts: