Thanks fredetmumu. Unfortunately, my wife passed away today so I will be offline for a while. Thanks again.
Posts by Columbo
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
Here are the .png images that I am using.
-
Thanks fredetmumu. I am not drawing my animation. I have 4 .png images that I am using as animation frames.
-
Thanks Linky. fredetmumu has been very helpful for me on a number of topics. The problem is that I do not understand animation in MMF2.5. I have no idea where the "animation library" is that fredetmumu mentioned or how you get your animation into this library. This why I was looking for a really good beginner tutorial on animation for MMF2.5. The animation that I want to use is just 4 frames. What I did, although it is probably totally wrong, was to create an active object, and import frame 1 of the animation, (as an animation). When I did that it exported all 4 frames. Then I created a condition, 'while right arrow is pressed">start animation. I starts the animation ok but when the right arrow is released, the player stops moving to the right but the animation continues. I tried using If player is stopped>stop animation but then the animation would not work at all. The player moved right and left but no animation. I think what I need is a good step-by-step animation tutorial. I have looked around but I don't see anything that really explains the animation process in detail.
-
It is not checked as a global object. Looking at your .mfa I don't see where you have your animation? I see the sprite "rick" but it does not look like an animation.
My player is a .gif image. Should it be a different type? -
It should say "I tried to attach my .mfa file but it says that it exceeds the file size limit." I don't know why they don't allow you to edit a post if you make an error.
-
I looked at you sample .mfa using the mask and when I double click on rick and look in the editor I see that it shows only one frame. In my game, when I create the active object and import as animation it loads in all 4 frames. How do you load your animation?
I tried to attach my .mfs file but it says that it exceeds the file size limit.
-
Yes and I used your suggestion and I now have it working. Thank you very much.
-
I am creating a platformer game as a means to learn MMF2.5 and I am having a problem figuring out how to animate my character. I created 4 images of my character, (player), to show a running motion. I also have a single image of the player to show an idle position. I am using the movement type as platform.
When the frame starts I stop the animation so that the player is standing still. Then I use “Repeat while Right Arrow is pressed”. When the right arrow is pressed I set the direction to the right and start the animation. It works ok up to this point but when I release the right arrow key the player stops moving to the right but the animation keeps playing. I want it to show the idle position, (first frame of animation). When I use the Left Arrow key the player flips to the other direction and moves left but again when the Left Arrow key is released the animation keeps playing. I tried using “If player is stopped>Animation stop” but that does not work because the next time you press the arrow key the animation does not run.
I have checked the forum and I have found nothing that would explain to me how to use character animations properly. Are there any tutorials on this or any other place to get help? Maybe a .mfa file that shows how to do this?
-
Thanks for the suggestions. I will play around with that some more.
-
For my MMF2.5 learning process I am creating a platformer game. I need a little help with a obstacle problem. I have a vertical pipe stuck into the ground and it is a type backdrop. I have it set as a obstacle because I want the player to stop if he runs into the side of it. That works fine but if the player jumps up onto the top of the pipe I want him to drop into the pipe. The idea is that when he drops into the pipe it takes him to another level, (frame). The problem is of course, because it is an obstacle, when he jumps up onto the top of it, he can’t drop into the pipe. Can anyone tell me how to set this up so that he will stop if he runs into the side of pipe but drop into the pipe if the player jumps up onto the top of the pipe?
Thanks for any suggestions.
-
Thanks, I'll try that.
Cheers!
-
Is there a way to prevent the player from jumping through a platform? (The platform is a backdrop.)
-
By the way, the reason for using the global variable is that each level has 3 lives and if a player has increased their score but then loses 3 lives before completing the level they are given the option to quit or play again. If they select play again then I want the score to go back to what it was when they first entered that level. I don't want it to keep accumulating the score each time they lose the level.
-
Hi piscesdreams. I checked the order of the events and they are correct. I am using Last brick has been destroyed then Set playerscore("Player1") and then Jump to frame. This works fine on the first 3 levels but then does not carry over to Level 4 even though the conditions and actions are the same. I can't check it with the debugger because when I run the debugger and then the application there is no score yet in level 1 but I can't get level 1 working when debugger is running so I can't add any score to check. Hard to explain.
I tried to attach the .mfa but it says that the file exceeds the limit so here is the EventList:
-
I am using the score object and every time the ball hits a brick I add 5 to the score. I am using the global variable to store the player's score so that when it moves to the next level I can set the player's score to the value of the global variable. If the player has a score of 120 when level 1 is completed I store that value in the global variable. At start of frame in level 2, I set the player's score to the value of the global variable, (120).
That is how I carry the score over to the next level. -
In my game I have a global variable which holds the player’s score. So far the game has 4 levels, (frames), and when level 1 is completed, the score is carried over to level 2 and then to 3 and so on as each level is completed. This works perfectly for levels 1 to 3 but for some reason it doesn’t carry over from level 3 to level 4. I compared the conditions and actions in level 4 and they are exactly the same as the previous 3 levels so I don’t know why the score is suddenly not carrying over. I thought that I could track the global variable using the debugger but I can’t seem to do that. If I run the debugger and then run application the level 1 frame opens but nothing will work so I can’t increase the score to track the global variable. Is there some other way to track the global variable other than the debugger?
-
Thanks again piscesdreams. That works great!
-
Thanks guys, I'll give piscesdreams method a shot.
-
I placed a score object on my frame and when I move to the next level I want my score to continue in the next level. I have read where it can be done saving to an ini file but I want to save it to a global variable. I created a global variable called playerscore and I want to save the score to this variable at the "End of frame". When I go under the special conditions and select Change a global value>Set it is looking for an expression and I have tried a number of things but it continues to say "Invalid expression". Can anyone tell me what expression I should be using to add the score to my playerscore variable?