Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / Box2D - Free 2D Physics Plugin Examples

Author
Message
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 20th Oct 2007 17:02 Edited at: 28th Oct 2007 11:18
This is where I will post examples of my 2D Physics engine plugin (a wrapper for Box2D)

Click
HERE for the main thread

Machines Demo:
Download: Click

Screeny:


And the code:


Pyramid Demo:

Download: HERE

Screeny:


Source (requires an image):


UFO's Marble demo:
Screeny:


Source:


UFO's Building demo:
Screeny:


Source:


Roxas's water demo:
Screeny:


Source:


Attachments

Login to view attachments
flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 21st Oct 2007 02:58
when i try and run the exe, it tells me it failed to load the dll, but i did put the dll in my user plugins, and the folder with the exe.


"these shoes are 300 hundred dollars"-Shoes by Kelly http://smallgroupproductions.com/
da power pwnerer
17
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 21st Oct 2007 03:58
I get the same error....


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 21st Oct 2007 11:22
You shouldn't need the .dll at all for it to run... It should be in the .exe. I can run it without even extracting it

Can someone give me a screenshot of the error please

da power pwnerer
17
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 21st Oct 2007 15:13
Pic attached


-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!

Attachments

Login to view attachments
MonoCoder
18
Years of Service
User Offline
Joined: 4th Dec 2005
Location: england
Posted: 21st Oct 2007 15:19
Error seconded, for what it's worth.

EBA; UI; Mario Land Ripoff.
Every time you post a joke in the form of code, mace yourself.
Atmosfear
17
Years of Service
User Offline
Joined: 19th Nov 2006
Location: Stuttgart - Germany
Posted: 21st Oct 2007 16:24
Same Error here.
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 21st Oct 2007 17:48
Works fine here, very nice Diggsey! This will come in handy.

asdsdfaghkdlgahdfkj.
H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 21st Oct 2007 19:31
Hmm, I got the same error

flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 21st Oct 2007 21:54
can u give the code?


"these shoes are 300 hundred dollars"-Shoes by Kelly http://smallgroupproductions.com/
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 21st Oct 2007 22:47 Edited at: 21st Oct 2007 22:54
OK, problem fixed It was because the demo was compiled using a debug version of the .dll, and often windows doesn't like loading them for some reason! I will upload after I recompile it

edit:
OK, I have updated the download so it should work now!

da power pwnerer
17
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 22nd Oct 2007 00:10
Thats pretty cool Can we see the source now?




-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 22nd Oct 2007 00:34
OK
Here is the code (you will need the plugin to compile it obviously)


flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 22nd Oct 2007 01:26
hmm, same error. maybe the wrong version of the plugin was uploaded.


"these shoes are 300 hundred dollars"-Shoes by Kelly http://smallgroupproductions.com/
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 22nd Oct 2007 01:42
@flashing snall
Try again, although I am pretty sure I uploaded the correct version!

MonoCoder
18
Years of Service
User Offline
Joined: 4th Dec 2005
Location: england
Posted: 22nd Oct 2007 01:44 Edited at: 22nd Oct 2007 01:45
Works now, and is very impressive.

Slows down loads when many shapes collide, though.

EBA; UI; Mario Land Ripoff.
Every time you post a joke in the form of code, mace yourself.
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 22nd Oct 2007 02:18
Very impressive physics!

fik
19
Years of Service
User Offline
Joined: 28th Sep 2004
Location:
Posted: 22nd Oct 2007 03:04
Works great here. This is a excellent plugin for 2d games and all for free Yoy can't beat that Great work Thank you.
QuothTheRaven
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 22nd Oct 2007 04:59
I spent far too long watching that little machine go...when a lot of blocks got lifted up I was happy but when it was a small load I was sad

flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 22nd Oct 2007 05:00
it works now, and its really neat. thanks a mill.


"these shoes are 300 hundred dollars"-Shoes by Kelly http://smallgroupproductions.com/
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 22nd Oct 2007 10:51
@QuothTheRaven
I keep watching that thing go round and round as well!

@Everybody
Thanks! I'm glad it all works now

Jeff032
16
Years of Service
User Offline
Joined: 13th Aug 2007
Location:
Posted: 22nd Oct 2007 19:19
Nice, I kept watching it go around...and around...and around

And then I was sad, because your program killed ALL the circles and some of the squares

They all got squeezed off the right side of the conveyor when the big block that pushed them um came down, or they just somehow rolled off the left side

(see attached image)

Space Game WIP

Attachments

Login to view attachments
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 23rd Oct 2007 21:30
The plugin has been updated to use Box2D v1.4.1 See main thread for changes

Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 25th Oct 2007 21:56
Added pyramid demo! (You can drag around the crates)

Attachments

Login to view attachments
da power pwnerer
17
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 25th Oct 2007 22:58
Awesome Looks pretty easy to do too


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 26th Oct 2007 00:58
That machine demo is freaking awesome!

Maybe you should re-compile it as a screensaver. I would definitely use it

How long did it take you to make?

Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 26th Oct 2007 10:55 Edited at: 26th Oct 2007 10:56
@UFO
I drew a picture in paint, then I just coded it from that. It took much less than an hour

edit:
Rename the .exe to .scr and it will work as a screensaver anyway (although you may have to press escape to quit, lol)

Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 28th Oct 2007 11:03
Added UFO's two demos and Roxas's water demo!

Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 29th Oct 2007 01:36
Ooo.. i dint see that coming my demo is there

[center]
H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 1st Nov 2007 01:56
Gah, sorry, finally got a chance to post! I'm involved in a musical and atm we're about a week away from production, so it's taking up nearly all of my free time, while homework's been kind enough to take up the rest. So there's a slight problem - I can't find my flash drive that the help files are on again. Luckily, I think that it should be fairly easy to locate if I look, so I intend to take a look around my house tonight as I've got a little bit of free time. Sorry! I'll post back by tomorrow and let you all know what's going on.

Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Nov 2007 10:56
Thanks for letting me know (I thought you'd disappeared or something!)

da power pwnerer
17
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 3rd Nov 2007 03:04
These demos are awesome

Just tried them all




-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 4th Nov 2007 22:58
Okay, bad news - I couldn't find the flash drive . So basically we're back to the beginning with the help files again. Unfortunately, my musical opens this week until next week, so I'll be out until about 2 weeks from now. I'll gladly work on it after then, but anyone wanting anything sooner than that may need to either wait or volunteer some of their time. Sorry guys! ATM I'm working on a quicker solution for creating the help file however, so we'll just have to see...

Alien Menace
AGK Developer
19
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Earth (just visiting)
Posted: 10th Nov 2007 08:27
Diggsey,

What do you have handy in the way of documentation right now? I can help out with it if you have something to begin with.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 19th Nov 2007 14:36
I think IanM has a utility that generates help files from Dlls.

Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 19th Nov 2007 18:14
@Alien Menace
That would be great if you could help!
If you email me or something I'll send you a template for them

@BatVink
As great as that would be, I think it would be better if the help files were done by a person

@Everyone
Erin has been working hard on adding CCD, so hopefully it should be finished soon! There are also a number of other things added such as more stable joints

BrandMan
16
Years of Service
User Offline
Joined: 18th Nov 2007
Location: New York
Posted: 21st Nov 2007 21:43
Updated DirectX and it worked. Nice work!


Login to post a reply

Server time is: 2024-04-24 06:05:12
Your offset time is: 2024-04-24 06:05:12