Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Misc] Some useful functions...
#1
Hey guys Smile Here are just a few useful functions I've made lately Smile Enjoy Big Grin

[code]Public Function IsInRange(ByVal TestX As Integer, ByVal TestY As Integer, ByVal X As Byte, ByVal Y As Byte, ByVal Range As Byte) As Boolean

IsInRange = False

TestX = Sqr(((TestX - X) * (TestX - X)) + ((TestY - Y) * (TestY - Y)))
If TestX
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)