Please scroll down a bit the link name with "rev" on it, not the very first post.
Develop games in your browser. Powerful, performant & highly capable.
If you applied Line Of Sight behavior, there will be extra option to add other object as an obstacle and option to set the range. After you do so, in other event you set the condition "Has LOS to object" to detect if player visible to enemy or not.
You need to add Line of Sight behavior, so the enemy will only shoot when they see the player.
Interesting, I will list that kind of puzzle to my to do list. Meanwhile you might want to check my collapse puzzle example >>
Here my alternative search word version: https://www.dropbox.com/s/ynizwpagodh2f ... .capx?dl=0
It's already on this topic >>
Sure you can achieve that by using family, like in this case:
Ball shopping example : https://dl.dropboxusercontent.com/u/659 ... _bola.capx
[ excuse non-english content ]
Then take my bombamen prototype: https://dl.dropboxusercontent.com/u/659 ... _back.capx
[ press Ctrl to jump ]
Here is the shadow formula :
Limit player movement or walk area when it about to reach the border of layout to keep it at center. The problem is when the player reach the edge of layout. For fixing player control, some angle calculation need to be done. Use z-sort based on Y position to make object behind/over another.
To actualy sort z-order correctly, we need to consider layer/layout rotation so it will picking correct relative y position based rotation. Here the solution:
https://www.dropbox.com/s/1xbj1d26xldtd ... .capx?dl=0
Like this one?
Member since 22 Feb, 2012