The Daily Click ::. News
 

CRAZY!
News posted 18th January, 2004 by ShadowCaster  
Tigerworks is in the process of creating a scripting object for MMF which will greatly expand the functionality of the software. Called FISI (Fusion Interpreted Script Interface) the object allows you to type commands using a Jama-style language which includes the ability to create conditions and loops, as well as manipulate pre-existing objects within MMF. An example given by Tigerworks lines up a group of objects diagionally:

object objarr[32]; // Define an array of objects

objarr = call GetObjects(); // Calls an MMF event to fill the array with a set of duplicates of an object

for (int i = 0; objarr[ i] != 0; i++) { // Loop all the objects (until objarr[ i] is 0)
objarr[ i].x = i * 32; // Set X co-ordinate of this object
objarr[ i].y = i * 32; // Set Y co-ordinate of this object
}


If you're looking for a way to expand what MMF can achieve, be sure to check out the public beta he has released here.

~Mike




Posted by Maddie 18th January, 2004

This is already possible without an external object.
 
Posted by ShadowCaster 19th January, 2004

That particular code segment is, yes, but that's just a short example of what the code looks like and how it works.
 
Posted by Radix 19th January, 2004

The frick is holy.
 
Posted by 19th January, 2004

Yippie! I have waited this!
 
Posted by Penguin Seph 19th January, 2004

My head hurts...
 
Posted by Mr Coffee 19th January, 2004

To be honest, if I was going to use a jama style langauge I would use Jamagic, not MMF. I am sure Tigerworks worked hard on this and I don't want to put him down but I just don't see it as being that useful for the majority of MMF users. It takes away the whole point of MMF. Now if you can actually use it to do something that MMF could not do before then it might have some use, but can it?
 
Posted by Klikmaster 19th January, 2004

The code looks just like C++ :) I don't think I'll ever need this though with the kind of things I make.
 
Posted by Maddie 19th January, 2004

Must agree wih Mr Coffee.
 
Posted by Galaxy613 19th January, 2004

BTW the code in the news post is CFISI this is the FISI version of what was posted: new stacklayer 3 new stack object[20] objarr new stack int index new stack int temp set index 0 // Get all instances of the object api input "GetObjects" objarr [ ] :LOOPSTART: cmp= objarr[index] 0 // objarr[index] is 0 when at end of array goto :LOOPEND: set temp index mult temp 20 // Calculate position // Set positions set objarr[index]:X temp set objarr[index]:Y temp add index 1 // Increment loop index goto :LOOPSTART: :LOOPEND: destroy-stacklayer end
 
Posted by Tigerworks 19th January, 2004

FISI was more a challenge to see if I could do it than a serious project.
 
Posted by AtariKee 19th January, 2004

Hmmm... trying to better GameMaker in this aspect? Once MMF has scripting ability and is FREE, then it may have a chance against $15 GameMaker.
 
Posted by Mr Coffee 19th January, 2004

Game Maker might have a chance at being better than MMF. To bad it's runtime engine is almost twice as slow. I have done tests with both programs which prove this.:p
 
Posted by Crystal Clear (H.E.S) 19th January, 2004

MMF has far more power then GameMaker has.
 
Posted by Mark Beazley 20th January, 2004

You could use the object to allow people to make mods for your games.
 
Posted by Nobuyuki 20th January, 2004

Can this piece of carp allow us to reference objects with the same name? Like classes of objects. MMF needs a For Each type class statement to carry on things like a billiards engine. Without it, MMF trips up on its own toes. I'd like to see an object fix THAT.
 
Posted by Mr Coffee 20th January, 2004

Your missing the point of MMF Nobuyuki. MMF was never intended to be a programming langauge. You sacrifice some power because of that. MMF can make most types of games just fine, but some things it can not do very well. It's just the way it is. Plenty of game development software exists which uses a programming langauge, the thing that seperates MMF from them is that it does NOT use a programming langauge (in the traditional sense).
 
Posted by Nobuyuki 20th January, 2004

so what? MMF was intended to allow people to express themselves creatively without losing inspiration due to limitations of EITHER time/effort or language limitations. The purpose of extensions should be to expand the use of MMF without making it not worth the time and effort. You telling me that I missed the point of MMF is rather silly :p
 
Posted by Tigerworks 20th January, 2004

Nobuyuki, if I understand you correctly I think you are asking if it is possible to handle duplicates of objects (multiple instances of the same object) on an individual basis. CFISI can do this. In the example script above, all the duplicates are put in an array and a For loop cycles through them.
 
Posted by ChrisB 20th January, 2004

Nobu, I'm trying to make an MMF-side version of what you want (like a Fast Loop for objects) even though it's easy enough to do anyway. I have about 7 other projects, though, so donations are welcome ;)
 
Posted by Mr Coffee 20th January, 2004

The point of MMF is to be able to create things *without* using a scripting langauge. You seem to want MMF to become a scripting langauge. Other programs already exist that use scripting langauges, and do a very good job. MMF is unique because it's not. Besides, it is possible to make a billiards engine using MMF.
 
Posted by Batchman 21st January, 2004

what the hell about scripting ? tigerwork provide our a fast scripting language , if you want to still use MMF and to creates slow games , that's your point you're not forced to use this extension (and you mustn't use it now :) )
 
Posted by Burnedsoul 2nd February, 2004

So this way of scripting allows you to create faster games than traditionnal way ? For example, a loop with FISI is more optimized than a Fast loop extension ?
 


 



Author Info

Advertisement

Worth A Click