Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: ASCIICraft - Mining Rougelike  (Read 1373 times)

Andyfuji

  • Bay Watcher
  • Chocolate Trotskies
    • View Profile
ASCIICraft - Mining Rougelike
« on: February 02, 2012, 11:30:32 pm »

Code: [Select]
   __________   _________   _______   ________   ________
 //  _____  \ // _____  \ //  ___ \ //__   __\ //__   __\
 || /    |\ | || |   ||_| || /  \\/    \\ /       \\ /
 || |    || | || |        || |         || |       || |   
 || |    || | || |        || |         || |       || |   
 || \____// | \\ \______  || |         || |       || |   
 || _______ |  \\_____  \ || |         || |       || |   
 || |    || |  ______|| | || \__//\ ___// \___ ___// \___
 ||_|    ||_| //________/ \\______/ \\_______/ \\_______/
  _______   __________   __________   ________  ________
 //  ___ \ //  _____  \ //  _____  \ //  ____/ //__   __\
 || /  \\/ || /    \\ | || /    |\ | || |         \\ /
 || |      || |    || | || |    || | || |         || |
 || |      || |    || | || |    || | || |         || |
 || |      || \____// | || \____// | || |__       || |
 || |      || _____  _/ || _______ | ||  __|      || |
 || \__//\ || |   \\ \  || |    || | || |         || |
 \\______/ ||_|    \\_\ ||_|    ||_| ||_|         ||_|

ASCIICraft is a side-scrolling, turn-based rougelike run through the win32 command prompt. 

Yes, the name is terrible and somewhat misleading, but it's all I could think of.  I'm not the best programmer, so I decided to start a rougelike project to learn some new things.  I only have somewhat basic knowledge of C++, so development might be a bit slow.

So far I have implemented a material system and a terrain generation algorithm.  The material system can determine an object's color, character, name, density, and solidity.  Currently it's only being used for terrain, but I hope to extend it to include materials usable for creatures and weapons.  The terrain generation uses a simple gaussian function to generate a base layer, then generates caves, ore deposits and other land features.

Some progress screenshots (starting with the least recent):
Spoiler (click to show/hide)
Spoiler (click to show/hide)
Spoiler (click to show/hide)

Would trees be better as single characters (♣), or multiple tiles as they appear in Minecraft or Terraria?

Tell me what you think.
If you have any suggestions, I'll do my best to add them.
Logged

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: ASCIICraft - Mining Rougelike
« Reply #1 on: February 02, 2012, 11:35:23 pm »

Wow, very cool! Will be watching this to see where it goes...

Also, I spy the .net framework! What are you currently using for the graphics?

Andyfuji

  • Bay Watcher
  • Chocolate Trotskies
    • View Profile
Re: ASCIICraft - Mining Rougelike
« Reply #2 on: February 02, 2012, 11:39:51 pm »

Thanks!
The graphics are just Code Page 437 characters, and the color is added through the "SetConsoleTextAttribute" function from the windows.h library.  Unfortunately it only supports 8 bit color.

It's all done through the basic command window.
« Last Edit: February 02, 2012, 11:41:27 pm by Andyfuji »
Logged

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: ASCIICraft - Mining Rougelike
« Reply #3 on: February 02, 2012, 11:41:55 pm »

Ah, I see. Does it draw quickly enough for you?

Andyfuji

  • Bay Watcher
  • Chocolate Trotskies
    • View Profile
Re: ASCIICraft - Mining Rougelike
« Reply #4 on: February 02, 2012, 11:43:53 pm »

It's a bit slow at ~0.5 seconds per draw, but I don't plan on redrawing the entire canvas every frame.
Logged

Narushima

  • Bay Watcher
    • View Profile
Re: ASCIICraft - Mining Rougelike
« Reply #5 on: February 04, 2012, 02:37:42 am »

What is combat gonna be like ?

Andyfuji

  • Bay Watcher
  • Chocolate Trotskies
    • View Profile
Re: ASCIICraft - Mining Rougelike
« Reply #6 on: February 04, 2012, 02:15:09 pm »

I plan on running random Gaussian attack rolls; weapon's material, armor, and skill skill factored in.

The fights in gameplay will be like Pokemon.  The world will pause while you fight, you can run away and be placed some random distance from the enemy to be allowed to escape (Which may land you on top of a different enemy if they're in a bunch).  I'm not sure if I'll add multiple attacks, but magic potions and the like are a definate.
« Last Edit: February 09, 2012, 06:34:20 pm by Andyfuji »
Logged

Loud Whispers

  • Bay Watcher
  • They said we have to aim higher, so we dug deeper.
    • View Profile
    • I APPLAUD YOU SIRRAH
Re: ASCIICraft - Mining Rougelike
« Reply #7 on: February 09, 2012, 05:03:31 pm »

Well this certainly is something (awesome) :D