Page 1 of 1

Space Protector

Posted: Mon Jan 02, 2012 11:16 am
by mickeyjm
  • CHANGELOG

    1.0 = Released
    1.1 = Cleaned Up code, sped up AIs, increased spawning
    1.2 = Made AIs faster, fixed explosion bug, Added changelog
I got bored yesterday and decided to see how quickly I could make a game.
2 hours later I had a fully working Space-invaders like game.

CONTROLS
WASD/arrows = Movement
SPACE = Fire (Hold for rapid fire)
M = Mute
Any Key = Exit Game Over screen

BUGS
-AIs sometimes glitch?

DOWNLOAD
Space Protector.love
(1.35 MiB) Downloaded 224 times

Re: Space Protector

Posted: Mon Jan 02, 2012 4:42 pm
by MarekkPie
Hrmm...I'm not getting anything to spawn.

Re: Space Protector

Posted: Mon Jan 02, 2012 5:43 pm
by Ensayia
Welcome to LOVE!

It's pretty cool that you're new here and have already made a game. That being said, there are a few issues with it. FIrst and foremost it is a good practice to use indents in your code, as it is right now it is very difficult to read or determine what is going on with you code as one massive block.

The enemies seem to either spawn slowly or not at all, I only got two before I passed the first two planets. I'm not sure why the game is running slow but if you do a little code cleanup and put in some proper indenting/spacing I will be happy to take a look.

Not bad at all for a first game, you seem to get a lot of the base concepts and how to use the framework. I look forward to seeing more of your work in the future.

Re: Space Protector

Posted: Tue Jan 03, 2012 12:02 am
by Kingdaro
The game was very slow.

Veeeery slow.

Everything just needs a double in speed and it would be more fun. C:

Re: Space Protector

Posted: Tue Jan 03, 2012 1:34 pm
by mickeyjm
Ensayia wrote: The enemies seem to either spawn slowly or not at all, I only got two before I passed the first two planets. I'm not sure why the game is running slow but if you do a little code cleanup and put in some proper indenting/spacing I will be happy to take a look.
That should be fixed now, i guess a spawn rate of 1/1500 every epdate was a little to small

Re: Space Protector

Posted: Wed Jan 04, 2012 12:31 am
by Ensayia
You've done some indentation to your code which is nice. Enemies spawn often enough now but they seem to have an explosion animation which seems to play sometimes and not others.

Re: Space Protector

Posted: Thu Jan 05, 2012 3:34 pm
by mickeyjm
I've noticed that bug aswell, but annoyingly have no clue as to the cause, i'll look through the code, but if you find it please let me know :)