Bay 12 Games Forum

Please login or register.

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

Author Topic: how to make a game like DF?  (Read 3643 times)

Jaylow

  • Bay Watcher
    • View Profile
    • Fleet
how to make a game like DF?
« on: September 08, 2011, 11:49:29 am »

hi
i found a C++ book for dummies(2001) in a trash bin in the city
and was wondering how to make a game like DF

but where do i start, i want it to be in CP437 (Extended ASCII)
but in what to code it?
i was looking at pygame  http://www.pygame.org/wiki/about
but dont know nothing aboute it
i am new at this, python/c/c++ and those programing codes
but not new at coding stuff, so i hope i understand it more when i start with this

just dont have a cleu where to start and what to look for....

anyway any tips would be helpfull

Thanks JAylow
Logged
Quote
History always has a few tricks up its frayed sleeve. It's been around a long time.
Quote
Creators aren't gods. They make places, which is quite hard. It's men that make gods. This explains a lot.
Quote
One of the most basic rules for survival on any planet is never to upset someone wearing black leather.
This is why protesters against the wearing of animal skins by humans unaccountably fail to throw their paint over Hell's Angels.

kaijyuu

  • Bay Watcher
  • Hrm...
    • View Profile
Re: how to make a game like DF?
« Reply #1 on: September 08, 2011, 12:11:46 pm »

There are innumerable starting points.


My suggestion would be to start small. DF is a ridiculously huge game so emulating it when you start out isn't a good ideal.
If you want to learn to program, there's plenty of c++/python tutorials out there for beginners you can try. I'd suggest finding something to display graphics for you first, like SDL.
Keep it simple, but make sure you're interested in it. Making a tetris clone is educational, but if you're not enjoying it then it's just boring work. Make something fun.

If you want to avoid all that and go the easy route, check out Game Maker.
Logged
Quote from: Chesterton
For, in order that men should resist injustice, something more is necessary than that they should think injustice unpleasant. They must think injustice absurd; above all, they must think it startling. They must retain the violence of a virgin astonishment. When the pessimist looks at any infamy, it is to him, after all, only a repetition of the infamy of existence. But the optimist sees injustice as something discordant and unexpected, and it stings him into action.

Dutchling

  • Bay Watcher
  • Ridin' with Biden
    • View Profile
Re: how to make a game like DF?
« Reply #2 on: September 08, 2011, 12:13:07 pm »

Here is a Python Roguelike tutorial I am following right now.
So far, my 'game' does exactly what it is supposed to do! (which is showing a '@' and crashing)
Logged

Jaylow

  • Bay Watcher
    • View Profile
    • Fleet
Re: how to make a game like DF?
« Reply #3 on: September 08, 2011, 12:50:21 pm »

cool tutorial,i will try it right away

and this gamemaker is not for me
i want to really code stuff, its fun.
tetris allways pissed me off...
but to make it, sounds like more fun
thanks :)
Logged
Quote
History always has a few tricks up its frayed sleeve. It's been around a long time.
Quote
Creators aren't gods. They make places, which is quite hard. It's men that make gods. This explains a lot.
Quote
One of the most basic rules for survival on any planet is never to upset someone wearing black leather.
This is why protesters against the wearing of animal skins by humans unaccountably fail to throw their paint over Hell's Angels.

ed boy

  • Bay Watcher
    • View Profile
Re: how to make a game like DF?
« Reply #4 on: September 08, 2011, 02:57:35 pm »

Also, making a game as complex as DF is very hard indeed. After all, Toady's been working on it for a decade and it's only 31% done.
Logged

Phmcw

  • Bay Watcher
  • Damn max 500 characters
    • View Profile
Re: how to make a game like DF?
« Reply #5 on: September 08, 2011, 03:19:33 pm »

You don't.
Seriously, making a game like DF is a waste of time : there is DF and you can mod it.
Beside Toady is doing an incredibly good job and there is no way you do the same in a realistic time.
So read the book, do the exercises and get to work. Once you've finished the book , try to find an idea, for instance ispired by DF.
If what you wonder is how do do a rogue-like (ASCII games) give an eye to one of the open source ones.

Edit : Actually you probably mean how to make a rogue-like, which is the name of this kind of games with an ASCII display.
If it's the case you should change the title and get helpful advice, instead of being burned at the stake for blaspheme against the glorious Toad.
« Last Edit: September 08, 2011, 03:26:59 pm by Phmcw »
Logged
Quote from: toady

In bug news, the zombies in a necromancer's tower became suspicious after the necromancer failed to age and he fled into the hills.

Darvi

  • Bay Watcher
  • <Cript> Darvi is my wifi.
    • View Profile
Re: how to make a game like DF?
« Reply #6 on: September 08, 2011, 03:28:33 pm »

Games with ASCII aren't necessarily roguelikes, and quite a few RL's don't use ASCII graphics. Just throwing that out there.
Logged

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: how to make a game like DF?
« Reply #7 on: September 08, 2011, 04:59:44 pm »

I thought graphical roguelikes were roguelikes-likes.

Darvi

  • Bay Watcher
  • <Cript> Darvi is my wifi.
    • View Profile
Re: how to make a game like DF?
« Reply #8 on: September 08, 2011, 05:00:54 pm »

Rogue Like Likes?
Logged

NotAQuisling

  • Bay Watcher
  • Openly Fey
    • View Profile
Re: how to make a game like DF?
« Reply #9 on: September 08, 2011, 05:01:43 pm »

I like rouge like likes.
Logged
Download complete in 15 Days and 7 Hours

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: how to make a game like DF?
« Reply #10 on: September 08, 2011, 05:05:06 pm »

I like that you like rogue like likes.

Darvi

  • Bay Watcher
  • <Cript> Darvi is my wifi.
    • View Profile
Re: how to make a game like DF?
« Reply #11 on: September 08, 2011, 05:07:14 pm »

Those are the kind that don't eat shields, right?
Logged

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: how to make a game like DF?
« Reply #12 on: September 08, 2011, 05:15:12 pm »

I like eating raw gear, especially when it is cursed.

Duelmaster409

  • Bay Watcher
  • [DOES_NOT_FIGHT]
    • View Profile
Re: how to make a game like DF?
« Reply #13 on: September 08, 2011, 06:02:14 pm »

I highly suggest taking a browse through this tutorial, it's definitely more up-to-times than your book too. It's general C++ and is not intended for game developing. I recommend not diving directly into roguelikes, you'll crash and burn FAST. Rendering graphics and ASCII characters can be slightly more complicated than you think. I haven't tried any curses libraries, so I can't give you any pointers on that.

If you want to do actual graphics (2D) I recommend looking into SDL, which there are plenty of good tutorials out there for, such as this.
Logged
Dwarf fortress: Teaching uni level geology to sadistic elf killers for years.

Jaylow

  • Bay Watcher
    • View Profile
    • Fleet
Re: how to make a game like DF?
« Reply #14 on: September 09, 2011, 05:11:37 am »

i like rogue like likes too...

2d would be nice to have as a extra for a image pack or so
but for now i was just thinking of making it text based, so i dont have to play with images for hours on end in gimp
SLD sounds like the thing to go for then

i see i need to read a few more days about all this befor i try  something

i saw that in javascript you could als make a rogue-like
mabye that more intresting cause  it could be a browser rogue-like or rogue-like-like...

anyway i dont know yet how and what
i will try some tutorials out from diffrent  codes.
see what feels nice to work in

i have a billion idears for a game but wel it will probely not be to easy to added it  to a game if i dont know what i am doing

i want to thank you all  for the info,
and maby in 10 years  see you play my game(s) :P
Logged
Quote
History always has a few tricks up its frayed sleeve. It's been around a long time.
Quote
Creators aren't gods. They make places, which is quite hard. It's men that make gods. This explains a lot.
Quote
One of the most basic rules for survival on any planet is never to upset someone wearing black leather.
This is why protesters against the wearing of animal skins by humans unaccountably fail to throw their paint over Hell's Angels.
Pages: [1] 2