Author Topic: BM Battle System  (Read 10226 times)

0 Members and 1 Guest are viewing this topic.

BCTurk

  • Guest
BM Battle System
« Reply #30 on: January 06, 2006, 04:32:00 pm »
Collision detection I assume.

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
BM Battle System
« Reply #31 on: January 07, 2006, 01:34:00 am »
exactly! :)smile.gif

so... anyone knows?

dragon__lance

  • Guest
BM Battle System
« Reply #32 on: January 07, 2006, 12:15:00 pm »
still, y would u need collusion detection in battle system? unless the character moves, then just assign the char (x,y) variables like in walking engine?
on a side note: one solution would be to also make a string version of the matrix, then use the command instring(.

tenniskid493

  • Guest
BM Battle System
« Reply #33 on: January 07, 2006, 12:28:00 pm »
He has multiple characters moving around the screen in his battle engine and I'm assuming he's using this so they don't run into eachother.  I don't really have any ideas.

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
BM Battle System
« Reply #34 on: January 08, 2006, 12:06:00 am »
QuoteBegin-tenniskid493+8 January 2006, 0:28-->
QUOTE (tenniskid493 @ 8 January 2006, 0:28)
He has multiple characters moving around the screen in his battle engine and I'm assuming he's using this so they don't run into eachother.  

 That

dragon__lance

  • Guest
BM Battle System
« Reply #35 on: January 08, 2006, 07:24:00 am »
ok, now i understand, here's one method u can use to get location of certain stuff. When u create the matrix used for battle, also create a string version of that matrix. For instance:
[[1,1,1,1]]
[[1,0,0,1]]
[[1,0,0,1]]
[[1,1,1,1]]
a string version could be "1111"+"1001"+"1001"+"1111"
if a number is over nine, just use a letter to represent it. Now when u want to find specific location of a certain number, just use instring(str1,"(object)",1. This will give the location in string of the object ur looking for. Now just convert that number into (x,y) coordinates of matrix. hope i helped ;)wink.gif

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
BM Battle System
« Reply #36 on: January 08, 2006, 08:54:00 am »
Yay, thx dragon__lance!


*startsexperimenting*