Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Snippets [MMF2]
United States
kirbyhi5
Posted: Mar 10 2009, 06:35 PM
Quote Post


your typical MMF user
[*][*][*]

Group Icon
Group: Members
Posts: 1341
Member No.: 4893
Joined: 2-January 08

Status: (0d) [--]


I realize there's only maybe 5 clickteam users, but It's still worth posting anyway. Anyone can contribute.

Snippets
Author: Sketchy

Snippets are small pieces of MMF code stored in ini files. It helps easily organize large formulas and easily add them into the expression editor. Of course I found this over at clickteam forums, and was surprised how I skipped it. It's very easy to add your own snippet.

user posted image

Here's a quick screenshot of the formula for a Cubic Bezier Curve. All you would have to do is rename the variables and you're good to go.(and paste in the expression editor)

How to add your own Snippet
To create a new snippet from scratch, press the button in the top left with the blank-sheet icon. Alternatively, you can modify an existing snippet by selecting it and pressing the edit button.

You need to enter the function and all applicable variables.
Once you are done, press save, and select a location to save to.

Example:
user posted image
(I was surprised the sin/cos formulas weren't made in the simple maths)

Pasting in expression editor
user posted image


Anyway I hope those few users who do use MMF will hopefully share and add some of their own.

Download: http://cid-b1e7ee094271bbda.skydrive.live....t%20Manager.zip (433 kkb )

I may add a few simple ones of my own. (creating a hover effect using Sin(timer/2)*variable)

This post has been edited by kirbyhi5 on Mar 10 2009, 06:53 PM


--------------------
PMEmail PosterUsers Website
Top
United States
M. C. Productions
Posted: Mar 10 2009, 07:27 PM
Quote Post


Mario series' gals = #1!
[*]

Group Icon
Group: Members
Posts: 700
Member No.: 3100
Joined: 22-December 06

Status: (0d) [--]


:P I'm still a Clickteam user. But that's ONLY for MMF, I assume? Just asking since I'm using The Games Factory. tongue.gif
PMUsers Website
Top
United States
kirbyhi5
Posted: Mar 10 2009, 07:41 PM
Quote Post


your typical MMF user
[*][*][*]

Group Icon
Group: Members
Posts: 1341
Member No.: 4893
Joined: 2-January 08

Status: (0d) [--]


I believe it's only for MMF, but it wouldn't hurt to see if some of the formulas work in TGF aswell. Both are so similar, but since MMF was re-written, probably not.


--------------------
PMEmail PosterUsers Website
Top
United States
Xgoff
Posted: Mar 10 2009, 07:59 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


some of them should work in TGF (i'm surprised snippet manager has no way of specifying compatibilities within the ini files)


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0446 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 1.58 ]