Boring use of 2D physics

I find it a little embarassing that I've somehow managed to be ranked higher than box2d.org, when searching Google for "Box2D game", especially since it was only a few minutes ago that I've actually released my first game that's using Box2D.

And after all that, it isn't even a particularly exciting game from the point of view of game physics. Honestly, it's really using Box2D more as a simple collision system than as a real physics engine. There isn't even any gravity involved in the simulation! But it's a cute little shooter that I put together entirely in the space of about seven hours, when I finally broke through my creative barriers at the very end of my week-long experimental game challenge (the topic of which was "Clouds".)

Binaries are available for Win32 and OS X, and after I've had some sleep, I'll set up the source code to be accessible as well, for those who might like to see how I've integrated Box2D into my own game library (though that's still a work in progress), or who would like to build for some other platform.

Download page: http://www.vectorstorm.org/get-games/game-in-a-week/thunderstorm/

Image
hmm...this Microsoft Visual thing is quite annoying.
I tried to run your game under Linux with wine and like many other windows-box2d games I got 'missing MSVCR80.dll' error.
Looks like this dll is somehow related to SDL. I think Microsoft's compiler isn't very universal because it creates strange dependencies...
Of course, blame Microsoft for a win32 binary that doesn't work under Linux. 🙄

mewse, if you want to fix the "problem" that max is having, you can change your compile settings to "Runtime Library: Multithreaded", instead of "Runtime Library: Multithreaded DLL".
Whoops. Stupid mistake. One (and only one) of the .dlls included in that download was an old version, from before I'd switched them all to link to the C runtime statically. (This problem is probably common to all the other games on my site as well, actually. I'll have to go fix them all, later today)

I've updated the Win32 build to 1.0.1, with an updated .dll, so it should run more happily for those without MSVCR80.dll.
uh...now I got this output:
Code:
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: stub!
fixme:keyboard:X11DRV_LoadKeyboardLayout L"04090409", 0001: stub!

think this isn't error, but here is also file stdout.txt:
Code:
VectorStorm engine version 0.0.1

Loading preferences...

Checking supported resolutions...

No modes available!

I think your game is exiting then...of course it is safe decision, but probably you can ask user to continue, setup some default and give it a chance :]

I give up, tommorow will check under windows... 🙄
Yeah, that's the game engine. Even when running inside a window, it insists on running at a resolution that the computer could support fullscreen (in case the player chooses to toggle fullscreen on).

I had never run into a situation where a computer claimed not to support any fullscreen modes at all. Even running Windows virtualised on my Mac via Parallels Desktop.

So if WINE claims not to support any fullscreen modes at all, then I'll really need to have the engine select a reasonable window resolution, and block off fullscreen support when the system claims not to support any.

Original thread: https://box2d.org/forum/viewtopic.php?t=466