Isometric Game
diluca1@live.com
Member Posts: 3
Hi guys!
i'm doing a isometric game, and my scenario is really good.
But there is a problem, i don't know how create a obstacle that the character can interact with. I mean, the obstacle is a simple box, but the actor cannot walk behind the box, only in front of the box.
i wanted the character to walk in front and back.
Anybody can help me?
Thanks
i'm doing a isometric game, and my scenario is really good.
But there is a problem, i don't know how create a obstacle that the character can interact with. I mean, the obstacle is a simple box, but the actor cannot walk behind the box, only in front of the box.
i wanted the character to walk in front and back.
Anybody can help me?
Thanks
Comments
It's actually not too difficult to set up, a little fiddly, but fairly straightforward to do.
You just need to have two actors, one that is already on a layer behind the obstacle, one that is on a layer in front of the obstacle . . . . when you need the actor to go 'behind' the obstacle make the frontmost actor invisible (turn it's alpha to 0) and make the rearmost actor visible (turn it's alpha to 1) . . .
You can set up 'sensors' around the obstacle that trigger this, when the actor goes behind the obstacle an attribute is triggered that changes the values of the alpha channels accordingly.
Here's an example of this kind of alpha on/off system working in one of my projects:
Quicktime: http://www.mediafire.com/?albff8t937bug7o
Twitter:rondorocket
Web: rondorocket.com
Agreed, it would open up some many possibilities.