Hey everyone, wassup!
I'm currently working on a not-extremely-complicated game project, and I just have some pretty basic questions about what code I need and if it exists. So instead of making like 3 different topics about it, I'm putting them all in here. What I need to do is the following:
1) Count the number of frames that have passed. (Being used for attack animations)
2) Identify the name of an object that has been hit using hitTest (Used for multiplayer & multicharacter combat)
3) Putting multiple platforms in the same instance (For...well...levels with multiple platforms)
There are going to be plenty of characters and plenty of attacks, so finding a simple way to do these would eliminate a lot of headache. I'm pretty sure there's a simple command to do both of these, I just don't know what they are. Otherwise, any advice you can give would suffice.
Any help is greatly appreciated. Thanks in advance