1. Guys, on my RPG System dev adventure I want to give a bonus XP share to all group members playing next to each other.

    How its possible to detect if they are next #meters from each other?
     
  2. Use raycasting is one way, grabbing their positions and doing a 2d distance calculation is another, and one more way would to do sphere entity checking.
     
  3. Hope you made your rpg in c# or it Will use à lot of resources :p
     
  4. I wish I was a pr0 in C#, but never gave the proper attention to it :p

    I'm using LUA now... surely a lot of resources...
    Do u have any good C# Tuto to help me convert it?
     
  5. aha well i'm no pro, but having lua, php knowledge helped me a lot to start off in C#
    i just watched how others did there C# plugins :p
     
  6. Gonna try that!
    [DOUBLEPOST=1423246205][/DOUBLEPOST]You really think that C# will consume less resources than LUA and others? The code seems to be a little more extensive than the other 3 o_O