The Daily Click ::. Forums ::. Klik Coding Help ::. Hi.
 

Post Reply  Post Oekaki 
 

Posted By Message

Fordom

Nordanrikets konung

Registered
  12/02/2009
Points
  190

VIP Member
24th February, 2010 at 05:21:46 -

Hi, I have never, ever used the Chipx physzx engine (or whatever it's called).
How do you make a crate that can be pushed around?
Can anyone help me?

 
This forum is full of trolls and disinfo agents.

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
24th February, 2010 at 06:43:45 -

Chipmunk Phizix was the first Physics extension for MMF. It is now superseded by Box2D which can be found here:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=169229#Post169229

The included example, basic.mfa is a perfect example to get you started. It is possible to create a box that can be pushed around in one or two events. The extension is quiteeasy to use for simple rigid body physics once you get the basics down.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Fordom

Nordanrikets konung

Registered
  12/02/2009
Points
  190

VIP Member
26th February, 2010 at 06:28:55 -

I can't figure that stuff out.
I tried messing with the engines, but it won't do what I want it to do.
All of the events are "Start of frame".

Where are all the loops and collision events?


 
This forum is full of trolls and disinfo agents.

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
26th February, 2010 at 12:30:01 -

The extension handles collisions in a physical sense, but if you want something to happen when objects collide, it's easily added. Just make sure you use the phisix object to handle everything--otherwise you'll get issues. (Should be a collisions sub-menu under that object. ) For example, to set the object's X and Y values, do it through the phisix object, and not the active object.

It takes some getting used to, but just keep playing with it!

 

  		
  		
   

Post Reply



 



Advertisement

Worth A Click