Little zombies demo

Show off your games, demos and other (playable) creations.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Little zombies demo

Post by GijsB »

I made a little demo of zombies attacking people :D

Add people with left click, Add zombies with right click!

things done
  • zombies are green, people are blue
    the zombies and people have diffrent speeds
    the zombies track people
    people run randomly
    when there are no people around the zombies will wander around
    people and zombies bounce against walls
    People dodging zombies(running to other way)
    people and zombies are scaled, based on there speed : fast speed, small body
things to do
  • make people turn into zombies(easy to do, to lazy right now)
    make images
Attachments
Zombiez.love
(1.84 KiB) Downloaded 166 times
Last edited by GijsB on Fri Nov 18, 2011 4:17 pm, edited 5 times in total.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Little zombies demo

Post by kikito »

Nice.
GijsB wrote:And a little question for you guys : Dont look at the code, and tell me if it looks like the people are dodging the zombies
For the most part, yes. Although I've seen some people run to the arms of the zombies, when there were very clear paths open.
GijsB wrote:needs LÖVE 8.0.0
I tried it on 0.7.2 and it seems to work.
When I write def I mean function.
User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: Little zombies demo

Post by Ellohir »

Really cool, I like zombies ;) It works mostly, though sometimes people run into zombies for no apparent reason, as kikito said.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Little zombies demo

Post by GijsB »

kikito wrote:Nice.
GijsB wrote:And a little question for you guys : Dont look at the code, and tell me if it looks like the people are dodging the zombies
For the most part, yes. Although I've seen some people run to the arms of the zombies, when there were very clear paths open.
GijsB wrote:needs LÖVE 8.0.0
I tried it on 0.7.2 and it seems to work.
that's strange because when i used require() i didnt include .lua in the file path, but i thought that was onlu for 8.0.0 :o....
Ellohir wrote:Really cool, I like zombies ;) It works mostly, though sometimes people run into zombies for no apparent reason, as kikito said.
Haha funnily enough i didnt make the people dodge the zombies X3, but when i was looking at it, it kinda looked like there were dodging them :3
:D
Last edited by GijsB on Thu Nov 17, 2011 7:56 pm, edited 1 time in total.
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Little zombies demo

Post by coffee »

Oh no! More zzzzombies! But wait! Those are only dots. :)
Nice demo. By the "rounded" zig-zags, the impulses in the walls, and last second caught avoidance I would say that are more parkour guys running from cops. :)
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Little zombies demo

Post by GijsB »

coffee wrote:Oh no! More zzzzombies! But wait! Those are only dots. :)
Nice demo. By the "rounded" zig-zags, the impulses in the walls, and last second caught avoidance I would say that are more parkour guys running from cops. :)
Haha thanks xD :D!
User avatar
slime
Solid Snayke
Posts: 3133
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Little zombies demo

Post by slime »

GijsB wrote:that's strange because when i used require() i didnt include .lua in the file path, but i thought that was onlu for 8.0.0 :o....
Using require without .lua should work in any Lua 5.1+ version and any version of LÖVE. The fact that the .lua part was allowed in LÖVE in the first place was a bug/oversight. :p
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Little zombies demo

Post by Taehl »

I'm regularly seeing people run straight into zombies. In fact, that seems to be pretty much the only way they end up dying. So, no, it doesn't look like they're avoiding much at all.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Little zombies demo

Post by Robin »

Sometimes they seem to avoid the zombies, sometimes they seem to think the zombies are their long-lost lovers. In other words, it looks completely random.

Randomness can sometimes look like intelligence, but not if it is a matter of life and easily avoidable death.
GijsB wrote:needs LÖVE 8.0.0
I think that version is still several aeons away. 0.8.0, on the other hand...
Help us help you: attach a .love.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Little zombies demo

Post by GijsB »

Robin wrote:Sometimes they seem to avoid the zombies, sometimes they seem to think the zombies are their long-lost lovers. In other words, it looks completely random.

Randomness can sometimes look like intelligence, but not if it is a matter of life and easily avoidable death.
GijsB wrote:needs LÖVE 8.0.0
I think that version is still several aeons away. 0.8.0, on the other hand...
Robin, yeah im now making the people so they actually avoid the zombies, instead of lucky changing its direction so it dogdes a zombies ;)

and yeah i failed at the version thing :_:

Edit : oke the people are now dodging the zombies(they just run the other) :D
Post Reply

Who is online

Users browsing this forum: No registered users and 58 guests