I've been wanting to know this for a while, and I cant seem to find any tutorials or documentation.


I've been wanting to know this for a while, and I cant seem to find any tutorials or documentation.
Hey Jellybean, you can take a look at Marv's website. He has plenty of example files there that can help you.
http://www.castles-of-britain.com/mmf2examples.htm
Actually I'd like to take the opportunity here and say my thanks to him as I have been benefited from his work and didn't thank him yet! Thank you very much Sir.









Thanks mega21. It is very much appreciated.
Marv
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm


I found an example I wanted to use for isometric movement. It was the one that you had to press a key to move and then press the same key to stop.
I'd love to use this example, except that I want the character to move as long as I hold down a key, and stop if I'm not holding one.
Can someone take a look at it and see if they can change it so that the character moves only as long as I hold a key?
Thanks for the help![]()









Hi ffomega. Here is one.
Isometric Movement Example
Author: nivram
Genre: example
Extensions Needed: none
Description:
This is a simple custom Isometric Movement that can easily be adapted for a game.
Instructions:
Use the Arrow Keys to move. Use the same Key to stop.
Link:
http://castles-of-britain.com/mmfexamples-i.htm
Marv
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm


This was the one I downloaded and I love it
But I can't get the movement behavior to change so that, instead of having to press the arrow keys to move, and then again to stop, the movement continues as long as the arrow keys are held.









In this example the movement does continue while you hold an arrow key. Am I reading your post wrong?
Thanks,
Marv
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm


The active object does move if I press and hold an arrow key, but if I release the arrow key he continues to move until his sensors collide with the backdrop. The active object's 4 internal flags are toggled instead of simply turned on or off. I tried to change that so that, as long as an arrow key was pressed, the internal flag would remain on...and if I released it, it would turn the internal flag off. This would have allowed me to stop the active object without having to press the arrow key a second time. But it did not work for me.
When the active object's sensors collide with a backdrop it stops, which is fineBut I do not want the active object to continue moving if I simply press an arrow key and release it.
I apologize if I wasn't very clear![]()









Look at the movement in Zoric on my website. He moves and stops on a dime.
Marv
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm


I altered the code a bit so now I have the movement I want. Now, the sensors do not stop the active object once they overlap a backdrop object
[edit] I will be using the simple isometric movement engine once I can get the collision sensors to stop the active object's movements