Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Forbidden Lands Roguelike  (Read 1474 times)

atomicwinter

  • Bay Watcher
    • View Profile
Forbidden Lands Roguelike
« on: January 03, 2010, 03:31:15 pm »

Forbidden Lands Roguelike [Renamed]
Well, all these threads about peoples C++ exploits started popping up, so I thought that I might as well make one. Recently I have been talking to Outcast Orange, and he has taught me quite a bit of C++. With this knowledge, I plan to create a roguelike adventure that shall blow your minds. Right now the project is nothing more than bare bones, and I am using just a basic console and no special library's such as curses or anything. I will most likely adapt a library or two to my roguelike to give it a better look. Without further ado here is a screen shot.

Shot: 1/03/09 at 1:28pm: First steps

Spoiler (click to show/hide)

Shot: 1/03/09 at 8:22pm: Color! :)
Spoiler (click to show/hide)

Shot: 1/03/09 at 9:39pm: Changed ground color, not much of an update but it looks better  ;)
Spoiler (click to show/hide)

Current Goals:

-Add a character
-Add character movement
-Colored display
-Sound
-Inventory and item handling system
-Combat system
-Scrolling Maps
-Buildings


Big thanks to Outcast Orange for teaching and helping me learn C++
« Last Edit: January 04, 2010, 05:35:31 pm by atomicwinter »
Logged

Hippoman

  • Bay Watcher
    • View Profile
Re: Adventures in C++
« Reply #1 on: January 03, 2010, 03:50:40 pm »

Looks good actually. I like the colors.
Logged
THPÆCROSSISM
ΘπÆ┼ - Rise up against our superiors! Let all dwarves be equal!
KHDownloads

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Adventures in C++
« Reply #2 on: January 03, 2010, 04:03:41 pm »

Don't worry, I can at least get you to the "Hippo Stage" of programming.

Nice colors indeed.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Alexhans

  • Bay Watcher
  • This is toodamn shortto write something meaningful
    • View Profile
    • Osteopatia y Neurotonia
Re: Adventures in C++
« Reply #3 on: January 03, 2010, 07:20:36 pm »

nice to see this things happening... posting to have it on my read list.
Logged
“Eight years was awesome and I was famous and I was powerful" - George W. Bush.

atomicwinter

  • Bay Watcher
    • View Profile
Re: Adventures in C++
« Reply #4 on: January 03, 2010, 10:23:53 pm »

Well finally it is colored. Hope it is more pleasing to the eye now  ;)
Logged

Hippoman

  • Bay Watcher
    • View Profile
Re: Forbidden Lands Roguelike
« Reply #5 on: January 04, 2010, 08:23:13 am »

Better, but try not to make it too bright and attacking on the eyes when you add in new stuff.
Logged
THPÆCROSSISM
ΘπÆ┼ - Rise up against our superiors! Let all dwarves be equal!
KHDownloads

atomicwinter

  • Bay Watcher
    • View Profile
Re: Forbidden Lands Roguelike
« Reply #6 on: January 04, 2010, 05:34:00 pm »

Better, but try not to make it too bright and attacking on the eyes when you add in new stuff.
You'll give it away! The point of my game is to induce seizures!
Logged

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Forbidden Lands Roguelike
« Reply #7 on: January 04, 2010, 07:36:26 pm »

Hehe.

Teaching you stuff is a blast,
 as you absorb my knowledges like some sort of satanic absorption device.

I predict you will surpass all of us in a few weeks.
At least if Timmeh stays gone for much longer.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Forbidden Lands Roguelike
« Reply #8 on: January 04, 2010, 09:15:15 pm »

Fortunately for me, I recently expanded the gap you must fill to surpass me by about the contents of basic windows registry usage, a better understading of C's win32 API, HTTP, and unicode.

Still have plenty to learn, though. It would take a lifetime to know everything there is to know NOW, and thats not counting what comes out within even one year from now.
Logged
Eh?
Eh!

Alexhans

  • Bay Watcher
  • This is toodamn shortto write something meaningful
    • View Profile
    • Osteopatia y Neurotonia
Re: Forbidden Lands Roguelike
« Reply #9 on: January 04, 2010, 10:54:22 pm »

Do you know about sockets?  I need to learn sockets... :P
Logged
“Eight years was awesome and I was famous and I was powerful" - George W. Bush.

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: Forbidden Lands Roguelike
« Reply #10 on: January 05, 2010, 01:04:51 pm »

Do you know about sockets?  I need to learn sockets... :P

In what language? I used sockets in c++ but that was years ago, I am aweful rust. Also used them in Java more recently. What particularly do you want to know?

A socket is basically an abstraction for a communication channel. Depending on the socket, you can write bytes in or read them out. Behind the scenes there is a byte array that acts as a buffer for data and some code you don't normally deal with to make sure the data gets in or out from the socket on the other end.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Forbidden Lands Roguelike
« Reply #11 on: January 05, 2010, 07:59:48 pm »

Okay, I want to know more about buffers.
Before I run over to Google, as I'm about to,
 I'd like to guess that I already use a buffer, of sorts.

In most of the code I make for 2D ASCII games,
 there is a map array, which stores the actual data,
 and then there is a display array,
 which collects the map data and alters it before it is written to the screen.
Would that be an example of a buffer?

Also, I suggested something like this to Atomic Winter a few minutes ago,
 and we decided that it may be too complex for a beginning project.
I suppose he can make something more simple than a rogue-like?

If he decides to stay with it, I am curious as to what he will churn out.
For now, it seems this game may be on hiatus.

Don't worry Atomicwinter, I support whatever decision you make.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: Forbidden Lands Roguelike
« Reply #12 on: January 05, 2010, 08:20:02 pm »

Re: buffer. pretty much.

A buffer is basically a bit of memory that is used as temporary storage that does not need to be reallocated every time it is needed. There are various specific kinds with different uses.

Sounds like you are using something like a frame buffer. Typically you would have two or three, writing to one, reading from the other and switching them when the write buffer is filled.

There are other uses and ways of dealing with buffers as well. IO buffers, like those in a socket, are often circular. With a read pointer and a write pointer into a single array. when the pointers reach the end of the array they wrap around to the beginning, but the reader can never pass the writer.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Forbidden Lands Roguelike
« Reply #13 on: January 05, 2010, 08:26:05 pm »

Ah.
That useful information was appreciated, though I didn't follow all of it.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Alexhans

  • Bay Watcher
  • This is toodamn shortto write something meaningful
    • View Profile
    • Osteopatia y Neurotonia
Re: Forbidden Lands Roguelike
« Reply #14 on: January 06, 2010, 08:55:41 am »

Outcast... What do you think you're doing when you make the call to    glutSwapBuffers();?  ;D  You specified the use of DOUBLE buffers so the screen won't flicker due to having to wait for the buffer to be ready each time...

Thanks for the sockets info...  I want to learn it at some point but I also don't want to spread to thin as I've been doing so many things of so different subjects that I seem to be losing the little sanity I had left :P...
Logged
“Eight years was awesome and I was famous and I was powerful" - George W. Bush.
Pages: [1] 2