Page 1 of 2

Lizard Attack

Posted: Fri Sep 07, 2012 8:37 am
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.

Re: Lizard Attack

Posted: Fri Sep 07, 2012 9:08 am
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.

Re: Lizard Attack

Posted: Fri Sep 07, 2012 9:30 am
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.

Re: Lizard Attack

Posted: Fri Sep 07, 2012 11:25 am
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.

Re: Lizard Attack

Posted: Fri Sep 07, 2012 11:28 am
by Roland_Yonaba
Quite entertaining.
As coffee said, you should enhance the collision detection system.
Good work, though.

Re: Lizard Attack

Posted: Fri Sep 07, 2012 11:49 am
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

Re: Lizard Attack

Posted: Fri Sep 07, 2012 11:59 am
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).

Re: Lizard Attack

Posted: Fri Sep 07, 2012 12:15 pm
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. :)

Re: Lizard Attack

Posted: Fri Sep 07, 2012 12:21 pm
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 == " " ?

Re: Lizard Attack

Posted: Fri Sep 07, 2012 3:26 pm
by qaisjp
Interesting game. Good job.
Roland_Yonaba wrote:Have you tested key == " " ?
if that would work, it's absolutely crazy lol