Closed ghostbuster91 closed 9 years ago
Collisions:
AI
objects collide => move (or moves) should be reverteduserBot
collide with other userBot
=> move should be revertedAI
collide with userBot
=>
4.a) within same owner => collision logic should have place
4.b) AI
collide with other userBot
=> AI
object should be given to userBot
owner and he should apply collision logic.
4.c) userBot
collide with other AI
=> AI
object should be taken from its owner and collision logic should be triggered instantly.Agree, but do You have any idea how to implement point 4.b) ?
where do you see problem in this?
How to give the AI object to userBot owner? Each player is only returning objects which he is the owner. E.g. in point 4.c) we steal the object from other player and return list with this object, so other player can notice that his object is on this list and that hi is no longer it owner. But in this case we should send an object directly to particular player, shouldn't we?
Yes we should send it directly and this is not a problem.
czw., 16 kwi 2015, 21:31 Kasper użytkownik notifications@github.com napisał:
How to give the AI object to userBot owner? Each player is only returning objects which he is the owner. E.g. in point 4.c) we steal the object from other player and return list with this object, so other player can notice that his object is on this list and that hi is no longer it owner. But in this case we should send an object directly to particular player, shouldn't we?
— Reply to this email directly or view it on GitHub https://github.com/OrdonTeam/Hackathon3v2/issues/25#issuecomment-93821605 .
After player collide with e.g. zugar, the zugar should disappear and appear in new location (so basically zugar changed the location). But what if the zugar was owned by other player? How should we notice the owner about location change?