I'm new to the community and MMF2. My question is about a game concept I have and how to implement the animation or action. What I want to do is have a frog character that can spawn his tongue in different directions based on user input. My initial thinking is to have this compatible with touch input, but also mouse input. So when the user presses or touches the area where he/she wants the tongue to spawn it will spawn at that location. Question is I have no idea how to perform this.
Game Concept/Animation Question
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.
-
-
There is a fairly easy way to achieve this. Have the tongue beeing 2 active objects. Tongue_1 is the part of the tongue that streches. You can do this by scaling it in the event editor. You can also set it's angle to face towards the touchpoint. You can use the Clickteam Movementcontroller to get expressions for angles and distance between objects.
Tongue_2 is the part of the tounge that should look like a frog-tongue. Have this always set to Tongue_1's actionpoint.I could make an example if this is unclear.
-
There is a fairly easy way to achieve this. Have the tongue beeing 2 active objects. Tongue_1 is the part of the tongue that streches. You can do this by scaling it in the event editor. You can also set it's angle to face towards the touchpoint. You can use the Clickteam Movementcontroller to get expressions for angles and distance between objects.
Tongue_2 is the part of the tounge that should look like a frog-tongue. Have this always set to Tongue_1's actionpoint.I could make an example if this is unclear.
Yeah, I kind of understand, but being new I'd have to see an example or screen shot of what you mean to get it fully.
-
Because I want the tongue to retract back to normal if the user is not placing any input. Then to extend itself to the touch/action point. I have the idea in my head, but just doing the actions in MMF2 I'm a little foggy.
-
Here's an example for you. I don't know if this is exactly what you want, but it should be close.
-
Here's an example for you. I don't know if this is exactly what you want, but it should be close.
Thanks, I'm at work now, but I'll definitely check it out when I'm home. BTW how would a new person know how to create such actions/events? I knew what I wanted to do, but I just didn't know how.
-
I am not a new user, so I don't really know. But first you need to know everything MMF2 can do, and then you need to think out how to accomplish the effects you want
-
I am not a new user, so I don't really know. But first you need to know everything MMF2 can do, and then you need to think out how to accomplish the effects you want
Yeah, I guess this will take me a while then
-
Trial and Error my friend.
Think of what the condition(s) would have to be met before an action then implement the condition(s) first.
Example:
Start of Frame (Condition)
+Set Score 0 (Action)When conditions are met the actions on that relevant line are executed.
-
Here's an example for you. I don't know if this is exactly what you want, but it should be close.
Man, I finally got around to looking at your example. This is exactly what I'm talking about, but I wouldn't know anything about a flag 0 or 1...that just made my brain hurt looking at the conditions lol
-
There's some nice resources around here that can help with certain things perhaps. I don't know if you've visited Nivram's examples site but it's at Please login to see this link. You might find some useful stuff there if you poke around. Otherwise it's just trial and error and asking for help on the forums and looking at examples. You may have varying degrees of success using the forum search, but that's kind of hit and miss.
-
I've been lurking the forums for some time, but recently have become much more active in actually using the product, doing tutorials, and asking questions on the forum. The group is pretty incredible. I'll need to download Popcorn's example when i get home, as i couldn't figure out how to scale actives in the event editor, but it sounds like there is a way to do this.
I read most of the topics listed here, just so that in some region of my gray matter, i will have an uderestanding of some of the possibilities and/or challenges ahead. Marv's example list is a great resource.
Last week, i stumbled across Snippet Manager. This is a simple little tool to help organise "snippets" - small reusable pieces of MMF code.
It makes it much quicker and easier to create complicated expressions such as for the distance/angle between two objects. All you need do is enter the names of the objects as they appear in MMF, and Snippet Manager generates the code - ready to paste directly into MMF.
Latest snippets can be downloaded here: Please login to see this link.
I've only used one snippet (distance between two objects) so far, but it looks like I'll get plenty of use out of this.
The majority of folks will tell you to code your own movement actions and to scrap the built ins. The examples that i've seen when people do this look 1000% better than they built ins, but for the most part, as I'm learning all sorts of things, I'm using built in movements. I have an eye towards the future to create my own movemnts, but again, there is a learning curve and i want to get some of the other concepts down, before tackling custom movements and troubleshooting them.
Good luck, post here with questions, and attaching mmf files seems to help others assist in your questions. 1mb limit on mmf files.
-
I've been lurking the forums for some time, but recently have become much more active in actually using the product, doing tutorials, and asking questions on the forum. The group is pretty incredible. I'll need to download Popcorn's example when i get home, as i couldn't figure out how to scale actives in the event editor, but it sounds like there is a way to do this.
I read most of the topics listed here, just so that in some region of my gray matter, i will have an uderestanding of some of the possibilities and/or challenges ahead. Marv's example list is a great resource.
Last week, i stumbled across Snippet Manager. This is a simple little tool to help organise "snippets" - small reusable pieces of MMF code.
It makes it much quicker and easier to create complicated expressions such as for the distance/angle between two objects. All you need do is enter the names of the objects as they appear in MMF, and Snippet Manager generates the code - ready to paste directly into MMF.
Latest snippets can be downloaded here: Please login to see this link.
I've only used one snippet (distance between two objects) so far, but it looks like I'll get plenty of use out of this.
The majority of folks will tell you to code your own movement actions and to scrap the built ins. The examples that i've seen when people do this look 1000% better than they built ins, but for the most part, as I'm learning all sorts of things, I'm using built in movements. I have an eye towards the future to create my own movemnts, but again, there is a learning curve and i want to get some of the other concepts down, before tackling custom movements and troubleshooting them.
Good luck, post here with questions, and attaching mmf files seems to help others assist in your questions. 1mb limit on mmf files.
Thanks for that advice, yeah I'm new no coding experience at all. Just sort of learning built in movement features first before I move on to something you're speaking about Otherwise, I'm going to be doing the tutorials until I get the hang of things.
-
Thanks for that advice, yeah I'm new no coding experience at all. Just sort of learning built in movement features first before I move on to something you're speaking about Otherwise, I'm going to be doing the tutorials until I get the hang of things.
Well jbrown2177. I am about to keel over with old age and just tonight got home from my 8th surgery, and I still don't get all the hang of things. Take your time, but don't get caught up. Experiment a little. You can't break the software.
Marv
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!