Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5] 6 7 ... 15

Author Topic: A Dance with Ice and Fire  (Read 30027 times)

Sheb

  • Bay Watcher
  • You Are An Avatar
    • View Profile
Re: A Dance with Ice and Fire
« Reply #60 on: December 03, 2013, 04:25:57 am »

:o
Ok that's beautiful.

Because nothing define a DF player like a graphical orgasm after seeing one layer of slightly-darker ACSII symbols.
Logged

Quote from: Paul-Henry Spaak
Europe consists only of small countries, some of which know it and some of which don’t yet.

voodooattack

  • Bay Watcher
    • View Profile
Re: A Dance with Ice and Fire
« Reply #61 on: December 03, 2013, 04:52:35 am »

:o
Ok that's beautiful.

Because nothing define a DF player like a graphical orgasm after seeing one layer of slightly-darker ACSII symbols.

Indeed, always thought it was missing from DF, that's why I added it. To see what it'd look like.

It won't be purely ornamental though, you'll be able to shoot down hills once I add projectiles.
Logged
A Dance With Ice and Fire
An open-world roguelike based off the world of "A Song of Ice and Fire" by George R. R. Martin

Sheb

  • Bay Watcher
  • You Are An Avatar
    • View Profile
Re: A Dance with Ice and Fire
« Reply #62 on: December 03, 2013, 06:36:50 am »

Yeah, it's a really good and cool idea. Although you can shoot downhill in DF too. I just found Tiruin's reaction funny. :p
Logged

Quote from: Paul-Henry Spaak
Europe consists only of small countries, some of which know it and some of which don’t yet.

Tiruin

  • Bay Watcher
  • Life is too short for worries
    • View Profile
Re: A Dance with Ice and Fire
« Reply #63 on: December 03, 2013, 07:34:18 am »

Your wording has double...x3
But yes, that's just me in total awe because I love art and have a very high inclination towards those stuffs.
...Or you could say it that way, yeah. ASCII Scenery porn is what voodoo may be doing. :v

I like how the tiles are now compact compared to before. They look sorta...cute.
Logged

voodooattack

  • Bay Watcher
    • View Profile
Re: A Dance with Ice and Fire
« Reply #64 on: December 03, 2013, 09:04:09 am »

Wow, nobody branded my code as art before, but thank you!

I'm working on tile type interpolation between different biomes right now, it's more difficult than expected. I'll post screenshots later when I'm done.
« Last Edit: December 03, 2013, 09:12:43 am by voodooattack »
Logged
A Dance With Ice and Fire
An open-world roguelike based off the world of "A Song of Ice and Fire" by George R. R. Martin

Gamerlord

  • Bay Watcher
  • Novice GM
    • View Profile
Re: A Dance with Ice and Fire
« Reply #65 on: December 03, 2013, 09:05:18 am »

So what kinds of biomes are you including?

voodooattack

  • Bay Watcher
    • View Profile
Re: A Dance with Ice and Fire
« Reply #66 on: December 03, 2013, 09:11:43 am »

So what kinds of biomes are you including?

I have these so far:

Quote from: biomes.json
[
  {
    "name":"Plains",
    "sym":".",
    "style":{"fgcolour":"Yellow", "attributes":["Dim"]},
    "materials":["Dirt"],
    "foliage":["Grass"],
    "layerStart":0,
    "layerEnd:":2,
    "mapColour":"#827f00"
  },
  {
    "name":"Grasslands",
    "sym":"~",
    "style":{"fgcolour":"Green", "attributes":["Dim"]},
    "materials":["Dirt"],
    "foliage":["Grass"],
    "layerStart":0,
    "layerEnd:":2,
    "mapColour":"#00ff00"
  },
  {
    "name":"Desert",
    "sym":"~",
    "style":{"fgcolour":"Yellow", "attributes":["Bold"]},
    "materials":["Sand"],
    "layerStart":0,
    "layerEnd:":2,
    "mapColour":"#00ffff"
  },
  {
    "name":"Beach",
    "sym":"~",
    "style":{"fgcolour":"Yellow", "attributes":["Bold"]},
    "materials":["Sand"],
    "layerStart":0,
    "layerEnd":1
  },
  {
    "name":"Mountain",
    "sym":"^",
    "style":{"fgcolour":"White", "attributes":["Dim"]},
    "materials":["Rock", "Hills"],
    "layerStart":0,
    "layerEnd":50,
    "mapColour":"#ff0000"
  },
  {
    "name":"Sea",
    "sym":"~",
    "style":{"fgcolour":"Blue", "bgcolour":"Blue", "attributes":["Dim"]},
    "materials":["SaltWater"],
    "layerStart":0,
    "layerEnd":-10,
    "mapColour":"#0000ff",
    "background":true,
    "flat":true
  },
  {
    "name":"Arctic",
    "sym":".",
    "style":{"fgcolour":"Yellow", "attributes":["Dim"]},
    "materials":["Snow"],
    "layerStart":0,
    "layerEnd:":2,
    "mapColour":"#ffffff"
  }
]

But those are mainly for testing. When the time comes it'll have all kinds of biomes. You can define your own too.
Logged
A Dance With Ice and Fire
An open-world roguelike based off the world of "A Song of Ice and Fire" by George R. R. Martin

Gamerlord

  • Bay Watcher
  • Novice GM
    • View Profile
Re: A Dance with Ice and Fire
« Reply #67 on: December 03, 2013, 09:12:56 am »

Maybe you should add Lowlands and Highlands?

voodooattack

  • Bay Watcher
    • View Profile
Re: A Dance with Ice and Fire
« Reply #68 on: December 03, 2013, 09:18:09 am »

Sure, once I'm done with this mess.

Edit:

This is how messy things are right now:

« Last Edit: December 03, 2013, 09:19:49 am by voodooattack »
Logged
A Dance With Ice and Fire
An open-world roguelike based off the world of "A Song of Ice and Fire" by George R. R. Martin

Gamerlord

  • Bay Watcher
  • Novice GM
    • View Profile
Re: A Dance with Ice and Fire
« Reply #69 on: December 03, 2013, 09:20:52 am »

If you want someone to expand/do the drudge work ask. There's probably someone around here who knows enough.

voodooattack

  • Bay Watcher
    • View Profile
Re: A Dance with Ice and Fire
« Reply #70 on: December 03, 2013, 10:09:00 am »

I'm always open for collaboration, if anyone feels like contributing I'll welcome them aboard.
What I'm in need of is a math genius though. I'm always lost when it comes to equations with anything other than alphabets in them.
Logged
A Dance With Ice and Fire
An open-world roguelike based off the world of "A Song of Ice and Fire" by George R. R. Martin

Gamerlord

  • Bay Watcher
  • Novice GM
    • View Profile
Re: A Dance with Ice and Fire
« Reply #71 on: December 03, 2013, 10:15:23 am »

I can't be of any help with the math unfortunately; probably my worst subject at this point.

scrdest

  • Bay Watcher
  • Girlcat?/o_ o
    • View Profile
Re: A Dance with Ice and Fire
« Reply #72 on: December 03, 2013, 10:31:47 am »

There is a math help thread, you can try there.
Logged
We are doomed. It's just that whatever is going to kill us all just happens to be, from a scientific standpoint, pretty frickin' awesome.

cerapa

  • Bay Watcher
  • It wont bite....unless you are the sun.
    • View Profile
Re: A Dance with Ice and Fire
« Reply #73 on: December 03, 2013, 10:43:34 am »

How exactly are you genning the terrain?

In particular, where do the heights that you interpolate between come from?
« Last Edit: December 03, 2013, 10:51:20 am by cerapa »
Logged

Tick, tick, tick the time goes by,
tick, tick, tick the clock blows up.

voodooattack

  • Bay Watcher
    • View Profile
Re: A Dance with Ice and Fire
« Reply #74 on: December 03, 2013, 11:01:54 am »

There is a math help thread, you can try there.

Thanks for the heads up, though I don't think that'll help me turn algorithms to code. :)

How exactly are you genning the terrain?

A combination of perlin noise and bicubic interpolation of the heightmap. Two separate generators, one for elevation and one for tile selection. Biomes can have any number of materials in them and I need to smooth out each sector's edges with the surrounding ones, and that's what I'm failing at at the moment.

I'm using a Voronoi diagram to determine the adjacency rules and general layout of the surrounding cells, and that generates a polygon with a list of possible materials at each vertex. I want to interpolate them somehow to produce plausible landscapes. I'm thinking spline interpolation but that's difficult as hell to implement, and then I'd have to somehow convert the floating-point result into a meaningful array index.  :-\
Logged
A Dance With Ice and Fire
An open-world roguelike based off the world of "A Song of Ice and Fire" by George R. R. Martin
Pages: 1 ... 3 4 [5] 6 7 ... 15