I've finally got the language binding for BlitzMax finished.
(BlitzMax is a cross-platform (Win32/OS X/Linux) programming language with a focus on game creation)
Thanks to Chipmunk, it's now even easier to apply physics to our games
The module, including Chipmunk source, is available from here.
Thanks Scott for your excellent work, and we look forward to your continued efforts !!!
BlitzMax language binding
-
- Posts: 1
- Joined: Sat Nov 03, 2007 3:55 am
- Contact:
-
- Posts: 9
- Joined: Thu Nov 22, 2007 8:21 am
- Contact:
Re: BlitzMax language binding
Thanks again for this brucey - and Scott.
-
- Posts: 3
- Joined: Fri Feb 01, 2008 5:32 am
- Contact:
Re: BlitzMax language binding
First off, great phyics engine, and well done on wrapping with Blitzmax, one thing I would like to know is how do you apply a force to a body? in the main loop I have included this code:
But this returns no results?
Thanks
Code: Select all
If KeyDown(KEY_UP)
body.applyImpulse(var, var)
Endif
Thanks
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: BlitzMax language binding
This is actually a question that comes up a lot. Impulses add directly to the velocity, forces add to the forces applied to that body which affect the velocity over time. Use impulses for short fast acting forces like cannons firing or a character jumping. Use forces for long drawn out forces like thrusters or springs.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Who is online
Users browsing this forum: No registered users and 5 guests