A game about zombies.

Posted by chao1212 on Dec. 12, 2009, 12:13 a.m.

So today I started messing around with GM7, and decided I'd try to do one of the first things I did with BASIC, an object that follows another object. (I used plotting, it was a pain on WeeBasic for DS.) Originally, I wrote my own code for it, but since GM7 had a better one that avoided obstacles, I didn't bother with the entire thing, and instead I just used theirs and started making an engine for a randomly generated top down shooter, basically I took some little circles I quickly threw together as sprites, made some follow the player, and added random speeds to make sure they didn't just sort of clump together. That was boring, so I made them add more randomly. That quickly made like 9000 zombies in 5 seconds, which, as you can guess, lagged to death, and made it impossible. I made it so only one third of them could actually spawn more zombies, and it became a lot more fun. Then, I added some more random elements, such as randomly placed sandbags that rotated randomly, too, and the zombies would avoid them and walk around to me. Now, I've got an interesting little engine that I plan on making a game out of, as it took about an hour after several glitches being found. I'll post a link in a second, if they fixed the file hosting section.

EDIT: Here's a link, I'm going to change the graphics, and the sandbags will probably be changed to something like trashed cars or barrels.

http://64digits.com/users/chao1212/ZombieDemo.zip

Comments

Castypher 15 years ago

That is an unreasonably exponential amount of "zombies" you have there. But yeah, you could probably make something out of it.

As just a note, zombie games are overdone, almost as much as medieval RPGs (or fantasy MMOs commercially). Maybe add a few twists to it besides LOLPUDDLESOFBLOOD.

chao1212 15 years ago

Yeah, I know, the point of it is to get a shitload of zombies on screen, I hope to find a good number to get a lot of zombies, reasonable survivability, and not much lag. Yes, I do know the sprites I made are godawful, but I just kind of threw this together, and I didn't feel like drawing some actual zombie sprites at the time, same for everything. It's just a demo as of now, but it's meant to last for a while, and that's why the zombies tend to flood the screen. I'll probably be making it way different in the end, because originally it just had about 7 zombies on screen at once, and they die immediately, so it was pretty boring. I decided to make it mainly because I'm forbidden from buying anything until after Christmas and needed something to do.

chao1212 15 years ago

Oh yeah, and the reason for the freakish multiplying numbers is probably because I've been thinking about bacteria multiplication because I'm doing a report on bacteria.

Ferret 15 years ago

hmmmmm lots of zombies, and I can only shoot the direction I'm walking… I'm guessing your are going to change that. This is very basic, you can make something really good with this (I see some strategic game maybe) or it could be really bad (just the everyday top down zombie shooter…) but it's hard to tell at the moment. I don't like the idea of zombie appearing out of nowhere idea, unless this is bacteria, in which it is not zombies, then its somewhat ok, but have zombies already there or coming out of places or something (like a subway tunnel.. idk). but yeah, it could be good, so make it good.

Toast 15 years ago

carriage return carriage return carriage return carriage return

Juju 15 years ago

Sort out the controls.

chao1212 15 years ago

Yeah, I'm not going to keep it that way, the whole shooting the way you walk is temporary, as is spawning zombies.

Cesque 15 years ago

chao1212 15 years ago

@Cesque:

Wut.

chao1212 15 years ago

I've sorted out the game some more, there are now walls, you shoot in the direction of the mouse, and the bullets no longer just stream across the screen, the destroy themselves after about a second. Collisions are a bit messed up due to my code being completely non-dynamic, but I'm sorting it out right now. Avenger sent me some stuff to make the character able to move diagonally, but it doesn't really fit with the collisions I have right now, so I'll be changing my code. I'll post another demo if anyone cares.