I'm obviously new here, but I've been working with the demo of TGM2 for a bit now and am considering purchasing MMF in the near future. I was wondering if someone wouldn't mind helping me answer a couple of questions before I seriously consider the purchase though.
- Can you adjust the speed of individual frames in an animation (having one frame held longer than the others) without having to insert duplicate frames?
- Can you set up collision boxes so that a particular area of one object has to collide with a particular area of another? For example, if you have to shoot at the center of a spaceship and the laser or bullet must pass through (over) a good portion of the sprite without triggering a collision before reaching the area where the collision will be registered.
- Also, it would help a lot if someone could direct me to any tutorials that would help in the creation of either a shooting gallery-style shooter (like Lethal Enforcers) or a beat-em-up (like Double Dragon). I've seen a few examples of these kinds of games made with MMF, but I haven't come across any where I could examine the code or learn a little about how it's been created.
- Can you adjust the speed of individual frames in an animation (having one frame held longer than the others) without having to insert duplicate frames?
> The animation speed can be changed from both the event editor and the animation editor. If you mean only one frame, I don't think so, but you can fully customize it by setting individual frames from the event editor.
- Can you set up collision boxes so that a particular area of one object has to collide with a particular area of another? For example, if you have to shoot at the center of a spaceship and the laser or bullet must pass through (over) a good portion of the sprite without triggering a collision before reaching the area where the collision will be registered.
> Two ways: You could put detectors all over the sprite, so if you want it to respond when the engine is hit, just create an engine detector over the engine area. Or you could make a spaceship out of several sprites and just paste them together.
- Also, it would help a lot if someone could direct me to any tutorials that would help in the creation of either a shooting gallery-style shooter (like Lethal Enforcers) or a beat-em-up (like Double Dragon). I've seen a few examples of these kinds of games made with MMF, but I haven't come across any where I could examine the code or learn a little about how it's been created.
> Er, I can't really tell where the tutorials are. You might want to check out the games submitted to the 20 event contest. They're open source and most of them have simple events, so they should be easy to understand. The website is at http://gamesare.com/developers/dev/index.php?option=com_content&task=category§ionid=6&id=23&Itemid=50
I'm not sure what you mean by a shooter, but I did make a game with a beat-em-up engine, Combatant Lite. It should be there.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
like Muz says you can use the event editor to force animation frame, say if you have a counter that ran from 0 to 5 then looped back to 0 (but only when you wanted the animation playing) you could tell it
counter = 0 set animation frame to 1
counter = 1 set animation frame to 2
counter = 2 set animation frame to 3
counter = 3 set animation frame to 3
counter = 4 set animation frame to 3
counter = 5 set animation frame to 4
It's quite common in TGF and MMF for people to just use an invisible object that follows an object for collisions.
Thank you both very much for the information, that helps. The 20 Event link should be very helpful too, I already found a simple shooter there that's similar to the one I was asking about.