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

Author Topic: sfml space invaders type of game  (Read 5678 times)

0 Members and 1 Guest are viewing this topic.

paul.mihaita

  • Newbie
  • *
  • Posts: 16
    • View Profile
sfml space invaders type of game
« on: November 10, 2014, 04:09:48 pm »
What do you think?:D it's a game in progress.
You move by arrows, shoot by space.Sometimes bonuses apear on the screen, if you run into them you shoot faster.
Start by pressing 's'

https://www.dropbox.com/s/ei22332b9gyp2kr/pacpacjoc.rar?dl=0

some screenshots:

http://i.imgur.com/YgrgXYY.png?1  game design
http://i.imgur.com/UAFmkLg.png?1 yeah , that is an bullet :D
http://i.imgur.com/bHflEuB.png?1  bonus with timer

in order to win, you have to score around 700 points, and you loose if you go below 0;for each monster that exit the screen you loose 30;
« Last Edit: November 11, 2014, 02:41:34 pm by paul.mihaita »

paul.mihaita

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: sfml space invaders type of game
« Reply #1 on: November 10, 2014, 08:00:16 pm »
no opinions?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: sfml space invaders type of game
« Reply #2 on: November 10, 2014, 08:08:19 pm »
Have some patience, your post is only 4 hours old.

And it would certainly help if you presented your project in a better way: tell us about the game and its mechanics and show some screenshots. Keep also in mind that not everybody wants to download archives and run executables from untrusted sources. In case you've only just begun, it might be interesting to wait some time until you can show a lot more ;)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

paul.mihaita

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: sfml space invaders type of game
« Reply #3 on: November 10, 2014, 09:02:10 pm »
thx for advices :)

Godsend72

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: sfml space invaders type of game
« Reply #4 on: November 10, 2014, 10:27:51 pm »

It's a nice game, but i would like it more if there was english instructions. When you press Left + Right arrow at the same time, this happens :

 

The flame covers almost the whole ship. And i noticed that when you shoot you can't move diagonaly in directions: DOWN+RIGHT and UP+LEFT.


And you should test for coilision between the player and other ships. Also i dont understand when do you lose a game, when 1 enemy goes past you, cos i would swear at least 3 ships went off the screen and i didn't die, and when i test it, the secund the first ship goes off the screen its game over.

I love the music you picked. gj
PS
Quote
Nexus:  Keep also in mind that not everybody wants to download archives and run executables from untrusted sources.

so true, first time i opened your link i gave up and returned half an hour later and gave it a try.

paul.mihaita

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: sfml space invaders type of game
« Reply #5 on: November 11, 2014, 04:30:05 am »
game over is when your score goes below 0, but i will change de mechanics :D i fixed the left+right and up+down arrows bug , thx:D i will do the player-ship colision soon
« Last Edit: November 11, 2014, 04:44:21 am by paul.mihaita »

Godsend72

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: sfml space invaders type of game
« Reply #6 on: November 11, 2014, 09:14:17 am »
And  sometime a black vertical line appears, ~every 1 minute


paul.mihaita

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: sfml space invaders type of game
« Reply #7 on: November 11, 2014, 09:57:08 am »
that line appears because of the lag, but i will fix it soon :d

Raincode

  • Full Member
  • ***
  • Posts: 118
    • View Profile
Re: sfml space invaders type of game
« Reply #8 on: November 12, 2014, 05:18:10 pm »
Hi there,

I just played your game, I think you did a nice job.

The described bugs with moving didn't occur, maybe you already fixed them :)
I have to agree too, the music and overall sounds are very nice. I believe you could put that power-up animation in one spritesheet. I am not sure, but it might be noticable using single images for each animation frame, if you use multiple/many different animations.
using texture::setRepeated(true) might fix your scrolling background problem (though I don't know how well this will work for infinite scrolling)

paul.mihaita

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: sfml space invaders type of game
« Reply #9 on: November 12, 2014, 06:38:26 pm »
for the background i have just 2 identical sprites and the black bar occurs because i update all the elements by time and there are differences (like 0.001 seconds) between the update of each image

AFS

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: sfml space invaders type of game
« Reply #10 on: November 14, 2014, 02:19:55 am »
Screenshots doesn't make the game justice. In the screenshots the game looked pretty rough but in motion it looked and felt great, especially with the scrolling background and the particle effects. Good job!

Just a few minor things:

- The enemies are purple and black. With the black background it's hard to tell the black part of the enemies, so they just looked like purple balls. Maybe you should change the color of the enemies a little bit.

- You might want to use a more "universal" way of giving the player instructions, instead of text. Using romanian (or english, or french or whatever) alienates some of the players. You could use symbols to explain the controls, for instance.

- The music still plays if I close the window manually instead of pressing the "x" key, at least on my PC (Windows 7 64 bits)

Anyway, good job, keep it up  ;)

paul.mihaita

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: sfml space invaders type of game
« Reply #11 on: November 14, 2014, 04:32:50 am »
yes, an menu and a 'tutorial' level are the next thing to do

 

anything