SFML community forums

General => SFML projects => Topic started by: RixCoder on September 13, 2009, 01:30:47 am

Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 13, 2009, 01:30:47 am
This was a team project put together from individuals from the IGDA scene here in New York City! It has around 13 days of total work put into it and is the first project I have ever used SFML in and I gotta say, SFML has been an utter joy to work with so far. I look forward to using it on our next project currently in the works!

Enough jibber-jabber! You can get the game  HERE!  (http://www.rixcode.com/Completed/Jumpstart.exe)

EDIT:
Grab the full sloppy source at:
My Website  (http://www.rixcode.com/Completed/)
Title: Short n Sweet 2D Space Shooter Action
Post by: Spidyy on September 13, 2009, 01:40:29 am
Nice little game but it's hard to play on AZERTY keyboard. =p (Yeah i'm french!), don't tell me about the Shift + Alt, don't work.

If I was able to do so nice PostFX effects... =) (love the deflagration wave when the ship explode!)

How many are you working in the team? For a 13 day work, it's pretty well done. :p
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 13, 2009, 01:43:59 am
5 people total, 3 coders ( myself included ) and an artist/audio guy

The initial base of the game was setup fairly quick due to the fact i made a sort of bare bones version of the game ( ship moved and shot and that was about it ). I wanted to make sure before I worked with the others that I had some familiarity with SFML. Once we started I stripped out all the work i did till I had just the base structure of it and we worked from there. That probably shaved off 2 days or so of work.

Also: just let me know what the wasd equivalent is and maybe i can toss them in there for the next version!
Title: Short n Sweet 2D Space Shooter Action
Post by: Spidyy on September 13, 2009, 01:47:05 am
WASD = ZQSD for AZERTY Keyboards. Switch the W with Z and the A with Q. =p
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 13, 2009, 01:53:22 am
Tomorrow ill have the changes in for you =)
Title: Short n Sweet 2D Space Shooter Action
Post by: Spidyy on September 13, 2009, 02:00:43 am
Thanks! =D
Title: Short n Sweet 2D Space Shooter Action
Post by: LGV on September 13, 2009, 03:05:45 am
Awesome game!! The graphics are so beautiful, for a moment I tought you were using 3D models for the aircrafts  :shock:, you artist it's great. The effects are very nice too, I wish I can do something like that!! Congratulations!!  :)
P.S: maybe you can use lua or some parser like tinyxml to avoid hard-code the controls? That would be great for people who doesn't use QWERTY keyboards (not my case) like spidy  :)
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 13, 2009, 03:37:31 am
yeah that would be a good idea, also the artist actually was more comfortable making 3D models than sprites so he actually modeled them first and turned them into sprite sheets
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 14, 2009, 09:41:43 pm
Latest build is up! included are some basic options to change volume of sounds and music, spacebar now selects and shoots on top of previous keys.

Also added local high scores listing as well as cleaned up assets folder of a lot of un-used assets which kicked the size down to about 16 megs. After 10 kills you get the upgraded double shot. Also made death animations much quicker for the enemies and toned down the particle effects slightly.

Also added azerty keyboard control support ;)

Let me know what you guys think! ( The download link on the original post is linked to the latest build )
Title: Short n Sweet 2D Space Shooter Action
Post by: Spidyy on September 14, 2009, 10:04:14 pm
Your ZQSD control works, my gamepad too, but... Where are all those cool effects? :(

Why do you use .psd file instead png or other compressed file? The quality does not decrease too much and it is MUCH lighter. :p
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 14, 2009, 10:43:11 pm
woops forgot the postfx files! also, the use of .psd wasn't my decision! was done for an issue of losing alpha channel between the guy handling the implementation of assets and the artist.

Should be up there now!
Title: Short n Sweet 2D Space Shooter Action
Post by: Tank on September 15, 2009, 02:10:56 am
Is it possible to get a build compatible with Linux?
Title: Short n Sweet 2D Space Shooter Action
Post by: Spidyy on September 15, 2009, 02:26:02 am
Yaaaar better with effects. =) One things, when I play with joystick, I can't quit by pressing fire butting on "Exit" on the menu. =p

Looks like a good little promising game. :D
Title: Short n Sweet 2D Space Shooter Action
Post by: Imbue on September 15, 2009, 03:03:24 am
I get this error with a fairly clean install of Vista x64. Any ideas?
(http://imgur.com/yzcafl.png)
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 15, 2009, 03:18:21 am
yeah the joystick stuff never got quite finished, we are kind of wrapping up the project since it was a testbed for using sfml and an entry point for a bunch of of people on the team into game programming.

We are gonna start working on another project soon which of course will be up here as we are working on it. Its gonna be a little bit more ambitious as well. I'm gonna be keeping track of the builds across mac and linux hopefully and making sure things are working properly across platforms.

I personally have no means of doing a linux build atm but if you want the source you can email me at stefan@rixcode.com and I can send it off for you to try and build if you want.

Also, swapped zip file with an installer. Let me know what you guys think =)
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 15, 2009, 03:21:23 am
Quote from: "Imbue"
I get this error with a fairly clean install of Vista x64. Any ideas?
(http://imgur.com/yzcafl.png)


Hmm, you can try visiting this site
http://babyface.name/2008/02/10/application-failed-to-start-because-side-by-side-configuration-is-incorrect/

I run xp64 at home and normal xp on my laptop and it works fine on both of those. Try installing the 2005 redistributable and see if you get the same problem
Title: Short n Sweet 2D Space Shooter Action
Post by: Spidyy on September 16, 2009, 12:12:12 am
Huh??

Rix, I got Avast giving me a Trojan Horse alert when I click on your link... oO
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 16, 2009, 12:53:49 am
its probably because the installer is just a plain .exe, most virus scanners like to go beserk on seeing any kind of .exe being downloaded or linked.

I can assure you im not trying to give anyone a virus =p
Title: Short n Sweet 2D Space Shooter Action
Post by: Spidyy on September 20, 2009, 07:42:11 pm
If you don't mind, I'd like to see your source code, especially for your menu and option screen. =p
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 21, 2009, 01:21:26 am
email me: stefan@rixcode.com
Title: Short n Sweet 2D Space Shooter Action
Post by: Spidyy on September 21, 2009, 02:41:15 pm
Thanks. =)
Title: Short n Sweet 2D Space Shooter Action
Post by: Nexus on September 21, 2009, 03:21:01 pm
I fail to start the game (Windows Vista). The sound is playing, but I can't make the window get the focus (no screen appears as if you forgot to call sf::Window::Display()). I also tried to rebuild the MSVC++ solution, but I guess I have got another version of SFML. Did you use a rather new SVN build (I haven't updated SFML for a while)?
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on September 21, 2009, 08:05:54 pm
The game was built using only sfml 1.5, havn't gone beyond that yet. The game has been wierd on vista, running on some people's machines but failing on others.

Maybe it has to do with the game needing to be built for vista64 and vista32 independently from xp?
Title: Short n Sweet 2D Space Shooter Action
Post by: Trunks7j on November 29, 2009, 01:42:48 pm
This is a great game!   I am very impressed.  I am working on my first SFML game atm as well, also a shooter.  I would love to see your source code and perhaps talk with you, if thats possible.  I am curious mainly about the particle effects--how much direct open gl you are doing and how much SFML is handling it.

My email is trunks7j@gmail.com

Thanks!
Title: Short n Sweet 2D Space Shooter Action
Post by: inlinevoid on December 28, 2009, 11:52:09 pm
Heh I changed the txt file containing the level info and made it hard as hell. :D

Could we get the source?  I'd like to see how you did all of this.
Title: Short n Sweet 2D Space Shooter Action
Post by: RixCoder on February 20, 2010, 08:43:22 pm
Suprised im still getting sporadic emails asking for the source!

I've said this before since looking at the code it was a few people's first time doing a game in c++ so its not pretty. I was making people email me as a cheap way of tracking how many people were interested in the source. Its been quite some time so figure I don't need to care too much about that!

Heres a link to the installer/source as well as a bonus game I made at the ggj which won best overall at the NYU location in NYC! Nothing like a good shameless self-plug!

http://www.rixcode.com/Completed/

 main post also updated to include link to source. Enjoy!
Title: Short n Sweet 2D Space Shooter Action
Post by: StormWingDelta on December 25, 2011, 04:40:07 am
This is a good game although it could be improved in several ways.

Making it so the player can take multiple hits instead of one would be one upgrade and the other would be to make it so the enemy hit points display somehow.

aside from that no complaints from me. :)