Page 1 of 2

First C++ game

Posted: August 24th, 2017, 1:13 pm
by Radical
Object of the game:
Get the boss (purple square) to the edge of the screen without hitting any obstacles.

Controls:
Arrow keys to move
Purple square moves based off of your proximity to it
Press enter to activate hard mode (proceed with caution)

Extra info:
-I have only completed Tutorial 6 (Tutorial 7 as well, if it counts hehe) but I feel I did an okay job of
using my available resources.
-When you die, you lose a life, but if you complete a level without hitting any obstacles, you gain one
back.
-I know many people have been posting games lately. For this reason I will try not to post another game for quite some time in order to avoid spamming the board.
-Thanks for taking your time to look at my game.

I would recommend just using the sln in attached files, but if for some reason it's not working for you, you can also try the .exe from here: https://drive.google.com/open?id=0B3l7- ... UFPZnN1R1k

Re: First C++ game

Posted: August 24th, 2017, 4:56 pm
by Zedtho
Pretty neat game, liked it a lot. Don't have any complaints really. Good work

Re: First C++ game

Posted: August 24th, 2017, 5:21 pm
by Radical
Hey thank you very much! I had a lot of fun making it

Re: First C++ game

Posted: August 25th, 2017, 7:33 am
by albinopapa
I like how well your code is laid out, looks nice. You definitely had some dedication with making all 100 obstacles. You'll quickly see that you could have saved yourself some time once you get into loops and classes/structs.

As for the game, I can't tell what I'm suppose to do, I tried to go get the box, but it ran away and commited suicide.

Re: First C++ game

Posted: August 25th, 2017, 5:45 pm
by Radical
Ah, thank you, lol. I definitely felt like I could have automated the creation of them all somehow, but I couldn't figure out what I needed to do. I just wanted to finish the game real quick, and now that it's done, I might go back and try to figure it out more or look some stuff up.

The goal of the game is to get the purple guy to the edge of the screen without hitting any obstacles.

Re: First C++ game

Posted: August 25th, 2017, 11:45 pm
by albinopapa
Well, he keeps running into obstacles before I get to him, that's why I said he is committing suicide.

Re: First C++ game

Posted: August 26th, 2017, 4:19 am
by Radical
I made a quick little demonstration for you of myself completing level 1: https://youtu.be/Z-Ciah1legQ

Now you should properly be able to enjoy the marvelous game. (Level 2 is much harder. The key is planning, and slow movements)

Re: First C++ game

Posted: August 26th, 2017, 5:29 am
by cos00kun
soryy can you relaese .exe file ?

Re: First C++ game

Posted: August 26th, 2017, 7:50 am
by OrbitalReign
Holly jesus albinopapa wasn't wrong, you have some dedication. All that code for only tutorial 6/7.
I like the strategy behind it, got to level 2 and it definitely ramps up the difficulty.
good game though.

Re: First C++ game

Posted: August 26th, 2017, 5:34 pm
by Radical
cos00kun wrote:soryy can you relaese .exe file ?

Okay, I added the .exe to the original post.