Lizard Attack

Show off your games, demos and other (playable) creations.
azonicrider
Prole
Posts: 14
Joined: Mon Sep 03, 2012 7:05 am
Location: Canadaka

Lizard Attack

Post by azonicrider »

I won't really consider this much of a game. I threw it together in a couple days, just to see how easy the Lüve engine is to work with.

I come from Python, and Pygame is such a pain to work with. If you do a single error in your code, the whole thing freezes.
This engine handles errors alot more appropriately, and I love that part about it. Same with the pig animation, I couldn't stop watching it.

Basically, you're a lizard and you need to escape from the dangerous woods. Watch out for flying boulders, a compounder, and shooting objects.

And please don't try to learn anything from the source code. My overuse of if statements, is a habit I need to kill.

I made it while Lüve 0.8.0 was out. Everything is open source.
Attachments
Lizard Attack.love
(31.01 KiB) Downloaded 316 times
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Lizard Attack

Post by coffee »

Lizard Attack or better Lizard Attacked? In gameplay terms would be nicer if collision detection be more accurate. I got killed/door slammed and my nose wasn't even close! Nice minimalist concept anyway.
azonicrider
Prole
Posts: 14
Joined: Mon Sep 03, 2012 7:05 am
Location: Canadaka

Re: Lizard Attack

Post by azonicrider »

Thanks man. I think about %75 of my time was spent getting those boulders to rotate and bounce, while %10 was spent on collision detection.

Minimalist concept, yea thats all I was aiming for. Through the experience with this "game", I've realized this engine is something I want to develop a bigger project with. Stay tuned.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Lizard Attack

Post by Robin »

Welcome!

Your game is nice for a first project!

However, binding the Enter key to toggling full-screen is pretty annoying, since it's so easily to do it accidentally. The first time I died, I tried Enter, thinking it would restart the game. It didn't.
Help us help you: attach a .love.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Lizard Attack

Post by Roland_Yonaba »

Quite entertaining.
As coffee said, you should enhance the collision detection system.
Good work, though.
User avatar
Larsii30
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Re: Lizard Attack

Post by Larsii30 »

Hey There.

For the first project - well done. As anyone else said, the collison detection should me more accurate .
The game idea isn't bad at all and you could try many things out to entertain the players.

I like to see what's coming next. ^^

greets
azonicrider
Prole
Posts: 14
Joined: Mon Sep 03, 2012 7:05 am
Location: Canadaka

Re: Lizard Attack

Post by azonicrider »

I tried to make it so Space and Enter(like most games) would toggle full-screen, however the Space bar just didn't want to cooperate.

Press R to restart, however sometimes not all the variables reset their values, and it gets screwed up. That error could've been some strange leak that only occurs on my computer, though.

I do appreciate all the feedback. I have done gamedev before, but yes this is my first Lua project(or anything to do with Lua).
User avatar
Larsii30
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Re: Lizard Attack

Post by Larsii30 »

azonicrider wrote:I tried to make it so Space and Enter(like most games) would toggle full-screen, however the Space bar just didn't want to cooperate.
I guess most games did this with a function key (F11), something like that, because as Robin said space and enter could be pressed very easy by accident. :)
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Lizard Attack

Post by Roland_Yonaba »

azonicrider wrote:however the Space bar just didn't want to cooperate.
Maybe because you made the wrong test. Have you tested key == " " ?
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: Lizard Attack

Post by qaisjp »

Interesting game. Good job.
Roland_Yonaba wrote:Have you tested key == " " ?
if that would work, it's absolutely crazy lol
Lua is not an acronym.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests