2 actors one space help
majjam13
Member Posts: 3
hi, i have this problem in my game and cant figure it out. I have two actors and one space. I cant figure out how to have a (actor A) move to a space and if (actor is there destroy (actorB). And if (actor A) is in the space, and (actor moves to the space destroy (actor .
i.e. like checkers if a piece moves to a spot and captures a piece
i.e. like checkers if a piece moves to a spot and captures a piece
Comments
If turn-based, under rule, you have a condition which checks for Collision/Overlapping. You can combine that with a time-stamp (meaning check who was in that position first using the game.timer). If A was there first, then when B moves in, A is out. If B was there first, then when A moves in, B is out.
This could work for real-time but real-time since its happening at same time, I am not sure if GS allows comparison at microsecond level.
Am I making any sense at all?