Nifflas' Support Forum

Being Creative => Creativity Support => Topic started by: Purple Pineapple on April 24, 2009, 02:09:38

Title: Chipmunk Physics in MMF2 Dev.
Post by: Purple Pineapple on April 24, 2009, 02:09:38
The chipmunk physics extension has got me baffled. Could someone please post an example?
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Sabata on April 24, 2009, 04:20:01
If you installed from the extension and not the updater, you'll find a folder of examples in this folder:
[drive]:\Program Files\Multimedia Fusion 2\Examples\Phizix - Chipmunk Engine
They're quite easy to figure out.

You might also try the Clickteam Support Forum (http://www.clickteam.com/epicenter/) for further help; as far as I know only Dynamite, Chipset, Bloxmaster, and I (the only ones I remember that had good examples) are fairly proficient with the Physics extension. I'm probably wrong, though. (It's almost doubtless that Nifflas would be good at this sort of thing, but I doubt he would have the time and I'm not sure that he uses Chipmunk)
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Shawnachu on April 24, 2009, 05:01:04
I actually remember Nifflas using Chipmunk for NG, but then switching to another physics extension.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Purple Pineapple on April 24, 2009, 07:37:02
If you installed from the extension and not the updater, you'll find a folder of examples in this folder:
[drive]:\Program Files\Multimedia Fusion 2\Examples\Phizix - Chipmunk Engine
Wow... I'm an idiot.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Kasran on April 24, 2009, 13:43:22
I actually remember Nifflas using Chipmunk for NG, but then switching to another physics extension.
I thought it was the other way around: he was originally going to use Box2D (I think) but switched to the Chipmunk Engine for Night Game.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Razzorman on April 24, 2009, 15:58:36
He switched to the one with support for motion blur or something (sorry, it was HWA. Read Lookis post below for details). I don't know which one it is though.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Looki on April 24, 2009, 18:17:41
What? You probably mean HWA - Using the graphics card (through Direct3D) to render graphics, but I think he used it since the beginning.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Razzorman on April 24, 2009, 19:36:07
Nope, he didn't. Just compare the windmill in the screenshots. Chipmunk doesn't support HWA, but what nifflas is using now does.
 
Spoiler: Old screenshot (click to show/hide)
Spoiler: New screenshot (click to show/hide)
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Kasran on April 24, 2009, 20:32:59
Nope, he didn't. Just compare the windmill in the screenshots. Chipmunk doesn't support HWA, but what nifflas is using now does.
 
Spoiler: Old screenshot (click to show/hide)
Spoiler: New screenshot (click to show/hide)
That's not motion blurring; it's just better graphics. :V
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Mr. Monkey on April 29, 2009, 00:42:51
Rather, it is the antialiasing provided by whatever toolkits the NG is using (on the Wii)

The first screenshot is the old MMF2 version.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Dynamite on April 30, 2009, 13:10:10
I made a really basic tutorial and I helped a lot of people with it. The sad part is I never put it on YouTube so you have to download the video which is 20mb :(

Here's the link to the tutorial:  :D

http://www.gamebuilder.info/world/content/physics-object-basic-shapes

Good luck!  C)p
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Purple Pineapple on May 01, 2009, 01:29:55
I made a really basic tutorial and I helped a lot of people with it. The sad part is I never put it on YouTube so you have to download the video which is 20mb :(

Here's the link to the tutorial:  :D

http://www.gamebuilder.info/world/content/physics-object-basic-shapes

Good luck!  C)p
From the link, that appears to be game builder. The rest of this thread is MMF, which got derailed into NG.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Sabata on May 01, 2009, 02:20:27
Actually, it's a tutorial for Multimedia Fusion 2. The website appears to be a community page for sharing and discussing game tutorials and resources, and as far as I can tell, it's centered on MMF2.

You may want to poke around the website for a bit and find out what it's for instead of rushing to your own conclusions. :/
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Purple Pineapple on May 01, 2009, 06:39:57
As a matter of fact I downloaded the file after I posted, and then forgot to change it.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Sabata on May 01, 2009, 14:05:30
Ah, I see.

From Dynamite's tutorial and the examples in the root folder, have you been able to figure out how the Phizix object works, for the most part?
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Purple Pineapple on May 02, 2009, 03:13:19
Well, the tutorials in the folder basically gave me the whole syntax. Then Dynamite's tutorial helped with something I just couldn't figure out. Unfortunately, there's one thing I can't quite get: conecting two dynamic objects by means of another object. Like, say, a circle to a weight on one side.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Dynamite on May 04, 2009, 10:00:11
Well, the tutorials in the folder basically gave me the whole syntax. Then Dynamite's tutorial helped with something I just couldn't figure out. Unfortunately, there's one thing I can't quite get: conecting two dynamic objects by means of another object. Like, say, a circle to a weight on one side.

My tutorial covered the basics in creating shapes. You can just create a long thin rectangle, a ball and a static box, stick the rectangle to the box and when the ball falls on it it would act like a see-saw...except only 1 person using it.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Purple Pineapple on May 05, 2009, 01:22:18
No. I mean two objects connected to each other. Like this.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Dynamite on May 11, 2009, 12:54:45
No. I mean two objects connected to each other. Like this.

Post in the Clickteam Forums (http://www.clickteam.com/center). Discussion on Multimedia Fusion questions shouldn't be posted in Nifflas forum.
Title: Re: Chipmunk Physics in MMF2 Dev.
Post by: Razzorman on May 11, 2009, 17:53:11
They can be posted here, since a lot of people here have mmf2. You will just get a better answer more quickly on the MMF forum.