Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Space Invaders  (Read 8153 times)

0 Members and 1 Guest are viewing this topic.

MarcuzPwnz

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Space Invaders
« on: March 09, 2013, 04:43:51 am »
It's taken me a while but I'm finally getting the hang of SFML thanks to the help of the community here! :)

I have created a game that is obviously based on Space Invaders but with some minor changes. Unlike the original there are no shields and you can have more than one projectile on screen at a time.



Feel free to give feedback and let me know how high you managed to get your score. ;)

Windows Download: http://www.mediafire.com/?8rc8z64s3mfsapb
Mac Download: http://www.mediafire.com/?8zazs14a85s8b0v

Happy gaming! :D

io

  • Jr. Member
  • **
  • Posts: 52
  • z/OS by day, SFML by night
    • View Profile
Re: Space Invaders
« Reply #1 on: March 09, 2013, 08:19:26 am »
Kool.   Good work :)


Some suggestions.


1) Pause button
2) Visual feedback when you get hit
3) 
http://www.youtube.com/watch?v=437Ld_rKM2s 
go to out about 1.22 seconds  ; I think on your game you need to decrease the enemy line length each time the farthest enemy is eliminated.  They should move all the way to the right of the screen (if this makes sense)

4)  I'm not sure if this is how the game is intented, but it seems to me the enemies move reallly... really fast after a little while.  Did you limit fps/take into consideration different computer speeds?



Maybe include an attachment of the source code so people can peek at it :)
« Last Edit: March 09, 2013, 08:25:02 am by io »

MarcuzPwnz

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: Space Invaders
« Reply #2 on: March 09, 2013, 08:56:24 am »
Thanks for the feedback io! :D

Pause button and visual feedback for the ship and aliens being hit was suppose to make it in to the game but.. well I kind of wanted to move on to something else.

Yes I understand what you're trying to say, I did try to add this at first but it didn't work so well.

The aliens move faster and faster when less of them are on screen at a time so yes that was intended, I limited the framerate to 60FPS. :)

Here's the source: http://www.mediafire.com/?bvsh38xtgg7fpnk