gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Need help with box2d

#175045 - iainprice - Wed Aug 25, 2010 3:08 pm

Hi,

Having problems for ages with box2d on nds.

Anyone got a simple makefile, lib, arm7, arm9 setup they could send to me to get me started? I have even tried compiling code direct rather than using the lib... but still no real joy....using devkitARM r30

any help would be great :)

I want to make a sackboy game for nds... psp and ps3 have had him too long...

#175046 - coreyh2 - Thu Aug 26, 2010 9:49 am

I'd recommend asking here
http://www.box2d.org/forum/viewtopic.php?f=5&t=124&start=50

I wish I could be more helpful but I don't know how to get it working on the DS. All I know is it working at some point and used in pocket physics.

http://shadiko.110mb.com/pocketphysics/
_________________
Deadening 2

#175075 - 0xtob - Wed Sep 01, 2010 10:20 pm

Try this one: http://tobw.net/tmp/box2d_r132_ds.tgz

It's Box2d r132 for DS and it compiles for me with DKA30.

Little Big Planet DS would be totally sweet! Please make it! :-)
_________________
http://blog.dev-scene.com/0xtob | http://nitrotracker.tobw.net | http://dsmi.tobw.net

#175080 - iainprice - Fri Sep 03, 2010 5:55 pm

6 months ago I made a quick test....

http://www.mediafire.com/?seoe36xvtksd382

but this only uses box2d lite which has no circles.......

I am having memory allocation issues witht he full box2d....

If anyone has a working hello world, let me know.....

#175094 - headspin - Wed Sep 08, 2010 2:39 pm

iainprice wrote:
I am having memory allocation issues witht he full box2d....


The only way I could get it working on the DS was to "new" all the Box2D objects into existance. Give that a try.
_________________
Warhawk DS | Manic Miner: The Lost Levels | The Detective Game