SFML community forums

General => SFML projects => Topic started by: Lauro on February 09, 2020, 03:08:49 pm

Title: My first coding program: Xenon
Post by: Lauro on February 09, 2020, 03:08:49 pm
Hey there, I finished my university project some days ago. I never programmed before, I started with some C and then I went on C++ for object programming.
I want to share my project with you, maybe you will find it somehow fun :)
If you want you can tell me what do you think about it, I would like to learn more from you opinions.

The project is called Xenon and it is a kind of remake of the Atari Asteroids 1979.
My father was in love with that game, and when I told him that I would have done a videogame for a University Project (I could have avoided doing so, the hard way, but the thing you learn coding are far better than the thing you learn with a lot of mere theory, and also if you code something of course you have to know the theory... you can't guess codes), he asked me to give him an enhanced Asteroids game.

Here it is :)
https://github.com/Lauro98/XenonAsteroids
Title: Re: My first coding program: Xenon
Post by: Power on April 20, 2020, 05:23:26 pm
I like it,
Where did you get the "alien" and "alien ammo" images from? Did you make them?
Title: Re: My first coding program: Xenon
Post by: Cr0n on April 25, 2020, 12:44:30 pm
Yo I found an error lol im sorry this is my first post :see_no_evil:

Quote
void SoundManager::fxVolumeDown() {
    if(fxVolume > 0) {
        playNavigationSound();
        fxVolume--;
        for (const auto &i : soundAtlas)
            soundAtlas[i.first].setVolume((float) fxVolume);
    }

You see? You are first playing the sound and then reducing it.


Nevertheless of course a great game  :D