Register    Login    Forum    Search    FAQ

Board index » Everything




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: First C++ game
 Post Posted: August 24th, 2017, 1:13 pm 
User avatar

Joined: January 15th, 2017, 9:16 pm
Posts: 12
Location: Ontario
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


Attachments:
Boss Battle (non-battle version).zip [78.99 KiB]
Downloaded 26 times


Last edited by Radical on August 26th, 2017, 5:33 pm, edited 3 times in total.
Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 24th, 2017, 4:56 pm 
User avatar

Joined: February 14th, 2017, 7:32 pm
Posts: 170
Pretty neat game, liked it a lot. Don't have any complaints really. Good work


Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 24th, 2017, 5:21 pm 
User avatar

Joined: January 15th, 2017, 9:16 pm
Posts: 12
Location: Ontario
Hey thank you very much! I had a lot of fun making it


Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 25th, 2017, 7:33 am 
 

Joined: February 28th, 2013, 3:23 am
Posts: 2711
Location: Oklahoma, United States
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.

_________________
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com


Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 25th, 2017, 5:45 pm 
User avatar

Joined: January 15th, 2017, 9:16 pm
Posts: 12
Location: Ontario
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.


Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 25th, 2017, 11:45 pm 
 

Joined: February 28th, 2013, 3:23 am
Posts: 2711
Location: Oklahoma, United States
Well, he keeps running into obstacles before I get to him, that's why I said he is committing suicide.

_________________
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com


Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 26th, 2017, 4:19 am 
User avatar

Joined: January 15th, 2017, 9:16 pm
Posts: 12
Location: Ontario
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)


Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 26th, 2017, 5:29 am 
User avatar

Joined: September 26th, 2014, 5:59 am
Posts: 19
Location: Istanbul - Turkey
soryy can you relaese .exe file ?

_________________
E=mc^2


Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 26th, 2017, 7:50 am 
 

Joined: July 17th, 2017, 1:24 pm
Posts: 19
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.


Top 
 Profile  
Reply with quote  
 Post subject: Re: First C++ game
 Post Posted: August 26th, 2017, 5:34 pm 
User avatar

Joined: January 15th, 2017, 9:16 pm
Posts: 12
Location: Ontario
cos00kun wrote:
soryy can you relaese .exe file ?



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


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

Board index » Everything


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron