|
Felt like a hack last night. Hacking is good for motivation, though sometimes not good for focus ;). Theres a few things I'm running in parallel at the moment: 1) Slick - updates and fixes. As part of 1) I'm trying to produce a few demos to show how different game types might be started. I'm not planning to write full games but simple tech demos that hopefully give people somewhere to start. As normal I'm trying to make the code useful and readable over making it particually clever. So, back to this hack, I'd been meaning to take a look at Platformers. Chman had asked how to use Phys2D to make a platformer (though quite a few others had asked before). I realised I hadn't tried it, so all I could do was point him at SlickSet (I know Jon has achieved some cool platformer related stuff). Anyway, so last night I hacked at some platformer code using phys2d. This is what came out: You can try it via Webstart and the source available. The code and implementation is expected to develop a bit over the next few days to provide a decent sample, right now it's still buggy - doesn't have good performance - just about trying stuff out. So why is this hard? It comes down to what I guess is pretty obvious. Generic platformers (think Mario, Sonic, Zool) don't use physics engines, infact they're not even following the rules. When you try and use a physics engine you have to fudge stuff to make it feel more like a traditional platformer while leaving enough of the physics engine intact to allow the rest of the world to make use of the engine (that is of course what we want, a mashup between real physics and platformer dynamics). Hat's off to Jon, this isn't some tiny task that you can just do. It takes a lot of fiddling. Getting the physics engine to act like a platformer is pretty simple, getting it to allow you to interact with other objects while maintaining the platformer nature - thats a git. Still, last night I did start from nothing and got the tile combination stuff working, a simple renderer, a tiny engine (named Penguin) and a silly little demo that shows up a lot of the issues. Initial indications are that it's totally possible to mix the two worlds and end up with something uniquely fun. Hopefully one of the enterprsing folks will take it futher. Now.. which demo next? |
DisclaimerNote that the views on this page are not intended to offend. If they do, you might be taking the content too seriously. TODO Game: Start Robuzzle ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 2D OpenGL Based Game Library ![]() 2D Game Physics Engine in Java Game Developers How about a list of the developers doing interesting things in java gaming. Game Dev Resources Looking for Game Development Resources? Check out the List! |