It is currently November 18, 2018, 08:05:00 PM




Post new topic Reply to topic  [ 5 posts ] 
 My FIRST console based game! 
Author Message
Tester
User avatar

Joined: January 27, 2008, 07:59:26 PM
Posts: 68
Post My FIRST console based game!
Hello, I've just started to learn programming with C++, still got some basics left.
Going to learn about classes now, so I can make it larger, right now its all a mess in the source :P
Also going to learn some I/O file, so I can load maps and objects(like items) from a .txt file, so it will be much easier and faster to create maps and objects.

But I have managed to create a game! I'm so fucking proud of myself :D

What functions i got now:
* collision detection
* more then just one map
* choose outfit and sex
* nice ascii design

Here is a screenshot of my game:
Image

Tell me what you think about it :D

_________________
We were here in the beginning. We will be here in the end.
And when there is a new earth and heaven, we will be here again.


February 16, 2008, 01:21:22 PM
Profile
Staff
User avatar

Joined: April 19, 2007, 06:54:42 PM
Posts: 3562
Location: Germany
Character: Till
Post Re: My FIRST console based game!
Looks nice as far as that comment counts, since it is coming from a total-programming-noob who doesn't know one command in C, but what are you supposed to do in that game?

_________________
"Enthusiasm molds greater adepts than pure diligence ever could."
- Katja Vogt


February 16, 2008, 01:38:00 PM
Profile
Tester
User avatar

Joined: January 27, 2008, 07:59:26 PM
Posts: 68
Post Re: My FIRST console based game!
Phineas wrote:
Looks nice as far as that comment counts, since it is coming from a total-programming-noob who doesn't know one command in C, but what are you supposed to do in that game?


Nothing yet :p
I've just made collision detetion, map drawing and navigation with keyboard arrows
Here is the source: http://pastebin.com/d9fac9b2
Sorry for the swedish comments and I'm using my own header for all the ascii graphics.

My first game project is buried now, I'm off to learn some more C++ now :)

Edit: Oh I forgot to tell, it does only work for Windows!
Because I'm using system call to clear the screen.

_________________
We were here in the beginning. We will be here in the end.
And when there is a new earth and heaven, we will be here again.


February 16, 2008, 02:40:44 PM
Profile
Tester
User avatar

Joined: May 19, 2007, 01:05:32 AM
Posts: 79
Location: Finland
Post Re: My FIRST console based game!
That's a really nice game! :) Sadly I can't see the source at pastebin, I'd like to see it, could you post it somewhere else? Like http://rafb.net/paste

_________________
Zezenia Online


February 21, 2008, 08:07:54 PM
Profile
Tester
User avatar

Joined: January 27, 2008, 07:59:26 PM
Posts: 68
Post Re: My FIRST console based game!
K-Zodron wrote:
That's a really nice game! :) Sadly I can't see the source at pastebin, I'd like to see it, could you post it somewhere else? Like http://rafb.net/paste


Oh yeah, that's because my paste was removed.
Ill put so it will stay for a year this time :)

And I also rewrote the source, so it's a lot of new functions now
When I did the rewrote I had some problems with collision detection,
and didn't finish it, but here it is.

http://pastebin.se/193671

_________________
We were here in the beginning. We will be here in the end.
And when there is a new earth and heaven, we will be here again.


March 08, 2008, 11:16:23 AM
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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:
Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.