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

Author Topic: My first coding program: Xenon  (Read 1034 times)

0 Members and 1 Guest are viewing this topic.

Lauro

  • Newbie
  • *
  • Posts: 10
    • View Profile
My first coding program: Xenon
« 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
« Last Edit: February 09, 2020, 03:10:59 pm by Lauro »

Power

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
Re: My first coding program: Xenon
« Reply #1 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?

Cr0n

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: My first coding program: Xenon
« Reply #2 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

 

anything