Our indexes are from the right, starting at 0, correct?
Yes.
So we gotta make base 72 math for the text operations.
That’s pretty easy. Change the 100’s to 72’s.
Hmm… we should finish this guide.
I forgot about this… I have too much going on… Debugging voting, monopoly, melee combat, and this…
You could just make melee with tag zones.
Yeah. That was what I was doing. It would be much more complex when you introduce health as well. I don’t want players to just one-shot each other.
The other way would be to have a coordinate system, but that would take a lot of memory.
That is a way, but it really is just bad. It has more flexibility though, with any lower level system.
i am scared now. my brain cant comprehend. i thought i was good at coding, but this!?
my brain is mush.
SImulate health with property+game overlay, and based on a property called damage, take away health when tagged. When health property<0, force respawn. Would that work for melee?
You would have to design an attack like in a fighting game. Add some startup and a cooldown to activating the zone. And if both zones are active, the attacks should clang, and not deal any damage.
I can’t believe I just read all this…
Cool stuff, though.
Check out some of my guides by clicking on my profile, and looking at my topics.
lol i just learned this in class like a week or two ago