Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: [Completed] Console Sidescrolling Game  (Read 2335 times)

0 Members and 1 Guest are viewing this topic.

cpprograms

Banned
[Completed] Console Sidescrolling Game
« on: October 19, 2007, 02:48:49 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 429
Well, I'm here to show you guys the fruit of a few days of work and boredom. In my programming class in College, I had a pretty easy time with some of the projects so I decided to start this. It's a sidescrolling game, along the lines of SMB and the such. The twist? It's played using on the console. Some of you may have seen an earlier version of this, but I have retooled it to work much better. It now has monsters, and proper gravity.

The game has four levels, but you can make more if you want. Open up one of the levels in notepad to see how it works. You'll need to turn off word wrap if it's on. The first line contains the height of the level. If you put this wrong the level won't run. This is followed by a dash (-), then coordinates for each monster. The coordinates for each monster are the row number (the top row is 1, second is 2, etc) followed by a comma and the column number. The lines below this are the actual level. _ is seen as standable ground, and | is as well. Space is whitespace... just try to stick to what I used for characters - It'll make things easier for you :P

One little thing with the program. All of the lines in the program need to be of the same exact length. If they are not, the program will generate an error at the moment. Just stick a flagpole at the end like I did - it makes life easier. if you want a space after, be sure to add a space to EVERY line so the program doesn't error on you. Let me know if you have any problems.

If you make any levels, please post them here, even if you think they're crappy. I'll include any levels if you want me to and give you credit for them.

It's not perfect, I'm aware of that, but I'm pretty happy with the results. Let me know of any bugs you encounter. For now, let's say being able to hang onto the clouds is a feature, not a bug ;)

Anyway have fun with this - I had fun making it. :)

The game is available on my Project Pages page. (If I use it, it encourages me to keep PP up to date and working)

:D?
« Last Edit: April 22, 2015, 02:42:35 am by 4Sword »
Logged
  • cpprograms
Re: Console Sidescrolling Game
« Reply #1 on: October 19, 2007, 04:21:38 pm »
  • The devil in the mirror.
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 238
It's fun seeing a game like that, but I'm sorry to say that as it is now, it's not something to keep you entertained a Friday night at all =P It's fun for about 10 min or so.

Anyway, I still get the error I told you about on IRC:


when I try to jump to the next platform on the level in the image(Tall.lvl), it suddenly just shuts down.

you should make it so that when you don't select a level, but just presses enter, it goes to the first level in the list, WITHOUT the error =P
Logged
Working on my Masters Degree in Computer Science.
Hey look, Zelda Coop....later.
Proud user of C++ for 9 years, and counting!

cpprograms

Banned
Re: Console Sidescrolling Game
« Reply #2 on: October 19, 2007, 04:49:35 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 429
I think I have that error fixed... I'm not completely sure what caused it but I think it was that one of the lines wasn't as long as all of the rest of them. I fixed that problem and made tall beatable :P

So... updated version available on the site. I'll edit the post before in a sec.

:D?
Logged
  • cpprograms

Giverny

Christ on Acid
Re: Console Sidescrolling Game
« Reply #3 on: October 20, 2007, 05:02:27 am »
  • Bitte Scheiße
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 1159
No work for me, it didn't initialize properly (0xc0000135).

But this has got to be the best console app out there.
Logged
THEGivernyPROJECT
~LynkW-Surrender Global
  • Surrender Global Forums

cpprograms

Banned
Re: Console Sidescrolling Game
« Reply #4 on: October 20, 2007, 05:06:51 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 429
Could you give me more details than that? What OS are you on?

Also, I think you probably need the .NET framework for this to work... I coded it in C#.NET... >_> I wouldn't bother installing it just for this... I'd be flattered if you did but that's just silly :p
Logged
  • cpprograms

Giverny

Christ on Acid
Re: Console Sidescrolling Game
« Reply #5 on: October 20, 2007, 05:11:15 am »
  • Bitte Scheiße
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 1159
I don't have it. I don't kn ow anything, I switch or install a new OS everyday. currently I'm on XP
Logged
THEGivernyPROJECT
~LynkW-Surrender Global
  • Surrender Global Forums
Re: Console Sidescrolling Game
« Reply #6 on: October 20, 2007, 10:21:48 am »
  • (y)(;>.<;)(y)
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3293
You can download it from Microsofts website...I can't be arsed to dig up a link  :P
Logged
Re: Console Sidescrolling Game
« Reply #7 on: October 20, 2007, 03:15:04 pm »
  • 笑い男
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 2124
You'll be needing it often in the future anyway :P
Logged

この世に悪があるとすれば、それは人の心だ
  • .hack//The World
Re: Console Sidescrolling Game
« Reply #8 on: October 20, 2007, 04:26:04 pm »
  • (y)(;>.<;)(y)
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3293
Don't say that, or Stalin 1 and 2 Venus and dehvknull will appear and post!

Seriously though, .NET is becoming extremely popular nowadays, with plenty of jobs going for .NET programmers as well (at least, last time I got bored and checked they was)
« Last Edit: October 20, 2007, 04:46:44 pm by TheDarkJay »
Logged

Giverny

Christ on Acid
Re: Console Sidescrolling Game
« Reply #9 on: October 20, 2007, 04:42:51 pm »
  • Bitte Scheiße
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 1159
I already did O_o.
Logged
THEGivernyPROJECT
~LynkW-Surrender Global
  • Surrender Global Forums
Re: Console Sidescrolling Game
« Reply #10 on: October 20, 2007, 04:53:53 pm »
  • (y)(;>.<;)(y)
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3293
You installed .NET?
Are you sure it was version 2.0 and not 1.1?
Logged

Giverny

Christ on Acid
Re: Console Sidescrolling Game
« Reply #11 on: October 20, 2007, 05:02:36 pm »
  • Bitte Scheiße
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 1159
I just downloaded .NET2.0.

Logged
THEGivernyPROJECT
~LynkW-Surrender Global
  • Surrender Global Forums
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.124 seconds with 59 queries.