Worlde
http://wordle.net/gallery/wrdl/260205/Ludum_Dare
Some thing that auto-generates word bubbles!
Join #ludumdare on irc.afternet.org
Ludum Dare 13 :: December 5th-7th Weekend :: Theme :: ???
Sign In | Write your Journal
Home | Planet Ludum | Rules Wiki | Mailing List
Ludum Dare 12 Final Results NOW AVAILABLE
Click HERE for the Ludum Dare 12 entries image grid
(to be included in the image grid, you must upload an image to the blog)
http://wordle.net/gallery/wrdl/260205/Ludum_Dare
Some thing that auto-generates word bubbles!
I need help with collision code. I want to keep the player from falling through floors, pretty much. Help?
EDIT: Okay, I’ve got some good collision detection, but there’s something wrong with my moving code.
bool checkCollision(SDL_Rect &movable, double &vx, double &vy, SDL_Rect solid, bool move) {
int moveLeft = movable.x;
int moveTop = movable.y;
int moveRight = moveLeft + movable.w;
int moveBottom = moveTop + movable.h;int solidLeft = solid.x;
int solidTop = solid.y;
int solidRight = solidLeft + solid.w;
int solidBottom = solidTop + solid.h;int clipLeft = max(moveLeft, solidLeft);
int clipTop = max(moveTop, solidTop);
int clipRight = min(moveRight, solidRight);
int clipBottom = min(moveBottom, solidBottom);if(clipLeft == clipRight || clipTop == clipBottom)
return false;if(!move)
return true;int clipWidth = clipRight - clipLeft;
int clipHeight = clipBottom - clipTop;if(clipWidth solidX) {
// moving to right
movable.x += solidRight - moveLeft;
} else {
// moving to left
movable.x -= moveRight - solidLeft;
}
} else {
// moving along y axis
vy = 0;
int moveY = moveTop + movable.h / 2;
int solidY = solidLeft + solid.h / 2;
if(moveY > solidY) {
// moving to bottom
movable.y += solidBottom - moveTop;
} else {
// moving to top
movable.y -= moveBottom - solidTop;
}
}return true;
}
Please help! If you’re interested in seeing what’s happening, here’s the program: http://files.chocoboheaven.com/uploads/Guests/files/85267_PaintWorld.zip
It’s done! It took longer than the alloted time by quite a bit, not to mention I massively cheated (about half the final code is from existing work, not new). But it’s fun, in a weird and weird, weird way. It’s a goofy game. But it’s got skills and leveling up, so that makes it good. it’s also very hard with most of the maps I found, but they all seem winnable if you got ninja skillz.
Enjoy Ninja Kitty’s neverending battle against the horrid Nukebots.
Download: Windows EXE (660kb)
It’s not completely finished, but PaintWorld is as finished as it’s going to be within the deadline, which will happen in about 30 seconds.
http://files.chocoboheaven.com/uploads/Guests/files/PaintWorld.zip
Warning: the files are directly in this zip and not in a subfolder. If you want them in a subfolder, like Bleck does (stares at Bleck), the new zip is at http://files.chocoboheaven.com/uploads/Guests/files/87528_PaintWorld.zip
Go on, play it! I want to make the deadline, and so will edit in explanations. If anything doesn’t work, please tell me. I will begin working on the postcompo version now.
Well, there’s level selection/preview, view moving, a functional world, a you win screen, a you lose screen even though you can’t lose just yet, and that kind of stuff. Arrow keys to move, escape to exit.
It’ll be done in less than 2 hours. Unfortunately I have to go eat , so congratulations to everyone in advance. The third level was updated earlier today.
www.johannpauw.com/media/MicroRacers.zip
Timelapse:
http://www.youtube.com/watch?v=Wk2vLuoRLIU
My server is a complete mess, owing largely to the fact that I have no idea what I’m doing — when I tested the download in Firefox on XP, it came out with a weird name, but everything seemed to be working properly when I renamed/unzipped it.
Still have a couple hours to go, but I’m burnt out. Time to play something :P.
My entry for miniLD 4. Find Jesus. Apply Chainsaw. Yes, it’s terribly offensive.
http://jemgine.omnisu.com/2008/10/05/chainsaw/
Timelapse : http://www.youtube.com/watch?v=m-ZAR8iBMVI
I’m still working on my game, but in the meantime here’s my level, which I have finished.
A small cave-type thing. You start in the top-midsection, and have to get under the lava by going through the water. Something like that.
I think I want my game to work a little like Hamumu’s. There will be black for walls, white for open space, start/end goals, and some other things, but if the color doesn’t match those, the properties of the open space are modified, such as slowing you down or speeding you up, that kind of thing.
Well, my game is approaching what might be called completion. The only thing left for it to be playable are sound effects/music. To be totally honest, I didn’t start 100% from scratch — I used the chimp.py example from the pygame 1.8 documentation as a starting place. I’ve never done this before, and didn’t feel like mucking around for hours to get the most basic things working. Later, I also grabbed pymike’s ezmenu to build my menus, though I made a few changes, and I’m considering rewriting with my own menu to add a nice background and stuff.
Sadly, my game doesn’t really work well with any of the included levels from eugman, but I’ve built three levels myself in the meantime. Here’s some screenies:
Here’s a screen! You can’t actually get hurt yet, but I can tell it’s nearly impossible so far. Kitty is a ninja in the shinobi style - that means he can teleport dash through the air freely. And he clings to walls and ceilings and throws stars. The only controls are left mouse to dash to cursor, and right mouse to throw stars.
Nukebots, of course, contain nuclear explosives inside. So killing one will cause an explosion that will hopefully help you, but might kill you too. And all those yellow blips are the absurd amount of firepower the robots currently have. They also have way too much life, or you do way too little damage. The color of the Nukebot tells you its abilities. The less green it has, the faster it moves, the less red, the more life, the less blue, the faster it shoots (I know less is weird, but there’s logic to it, I think).
This design supports absolutely any colors you want, not just the official ones! Of course, black=walls, white=space, and FF00FF=player start. But other than that, it’s all robots. And those big colorful blocks make for an awful lot of robots.
Alright the two main levels are done!


I’ll finish level 3 tomorrow. It’s going to be basically the same as level 1 but it’ll use use light teal for it’s big block of color.

Here is a guide on how all of the colors are used so you can make your game accordingly. The color usage listed is final. Remember, you don’t have to follow any of these descriptions. They are more for describing in what context you’ll find certain pixels. So, just because dark red says flying badguys doesn’t mean you can’t amke that color be powerups or swamps or whatever.
Well, it’s pretty late here so I’m going to go to bed and finish the levels in the morning. Based on what someone said, I’m probably going to make something like the cave level but more interconected so it would be suitable for some sort of top down game.
Keep in mind that the final levels will make use of a bunch of the available colors. This will encourage some consistency in how you all use the colors in the levels you make. Also, there’s probably going to be quite a bit of tweaking of the levels so that they work for a platformer( right now some of the jumps are too big and such, however the current examples should be sufficient for the moment.
Another thing, If it’s easy to do, add png support in addition to bmp. This would allow people to give awards that are also playable levels. To be clear, png support is not at all required. Also be aware that it is perfectly fine to have context based level loading. For example, if you find a large patch of red together, you might load it as lava, but if you find a single red pixel, you might make that into a fire bat or something.
Alright! Mini-LD 4 has start and the main theme is
MSpaint: Best Level Editor Ever
Ok, that may sound a bit silly but here’s the idea: A while back I was talking with some people about how it’d be cool if we had a bunch of games that all had the same save format so you could play one game, save, open up a different game and it would affect your status in that game. It seemed impractical but then I had a simpler idea. What if every game used the same file as the level data? It’d be so cool to see how everyone could interpret the same data in different and crazy ways.
So here are the requirements:
So, I’ll explain each of these in detail. The first is that I’m going to upload 3 24-bit bmp files that your game has to be able to run as levels. Now the requirements on this are pretty lax. The file is just an abstract representation, a yellow pixel could be a randomly generated badguy, or a lift or a forest or whatever. For example if you wanted to make a simcity clone and use the file as the base for some terrain generation that’d be fine. The biggest requirement is given two levels, A person can tell which one is being used given your derived “level”. So you can’t just feed in the bits as the seed of a random number generator and use the generator to make your “level”
Now making the level was taking quite a bit longer than i had hoped so I’m going to post the drafts right now and when I get a chance, before I go to bed, I will post the final versions. So here are the drafts:
I’m going to have at least one more level when I’m done that might be slightly different. All of them should support a platformer type game. If you decide to make something that ISN’T a platformer then you aren’t required to support more than one of the levels.
Now, as the theme implies, one can make a level in MSpaint. The allowed color pallet is the defaults in MSpaint. And everyone has to make at least one level like the one provided. That level has to be a 64 by 64 bmp like the examples. For that level please try to make it platformer friendly so we can play it on other peoples games. Now, you are encouraged to make levels other than the one required. These levels will hopefully suit your game better and can be any size. Same filetype and pallet are strongly encouraged as the whole idea is to try different games on the same level. Here is a file for all of you non windows users that should have the correct colors.
Finally, for those who still want more of a theme than just the technical restriction, the optional theme is Robots and Kittens.
I have something of importance to take care of for the next few hours but hopefully, I’ve provided enough specific information for everyone to get started. Before I go to sleep I’ll have the final version of the files and answer all the questions anyone has so feel free to post a bunch.
EDIT: General LD rules apply unless otherwise contradicted or they don’t fit in. Let me know if any rules should be changed.
All posts, images, and comments are owned by their creators.