Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

No poll?

That's right
That is right

Pages: 1 ... 241 242 [243] 244 245 ... 380

Author Topic: Stonesense - Old Official thread - Now locked  (Read 1397062 times)

Mala

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Stonesense - Official thread
« Reply #3630 on: July 30, 2010, 10:23:13 am »

Can I have a floor tile check adjacent tiles for open space, and pick an appearance based on the result?
If so; how might I do this?
If not; is it infeasable to implement?

This would allow me to make floor trims for overhangs and balconies.
Code: [Select]
For clarity on what I mean;
     This, would look more like this:
┌─┬─┬─┬─┬─┐                ╔═╤═╤═╤═╤═╗
├─┼─┼─┼─┼─┘   _______\     ╟─┼─┼─┼─╔═╝
├─┼─┼─┴─┘     ̅ ̅ ̅ ̅ ̅ ̅ ̅ /     ╟─┼─╔═╧═╝
└─┴─┘                      ╚═╧═╝

 or this:

 ,┌─┬─┬─┬─┐
├─┼─┼─┼─̗┴─┘
├─┼─̗┴─┴΄
 '┴΄
(why isnt there a diagonal line letter? I suppose it'll have to do...)

this is actually partially implemented. currently, a tile can check for open space on the upper left, upper right, or below, which is used for setting anti-escher borders on tiles.. it shouldn't be hard to extend that to more directions, though it would go a lot faster if you provide sample tiles for testing :P
Logged

Andir

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #3631 on: July 30, 2010, 11:53:39 am »

...used for setting anti-escher borders on tiles...
Anti-Escher:  Quick, get a trademark, a patent, and a copyright before that's stolen!  :P
Logged
"Having faith" that the bridge will not fall, implies that the bridge itself isn't that trustworthy. It's not that different from "I pray that the bridge will hold my weight."

Dark_Tundra

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #3632 on: July 30, 2010, 12:47:10 pm »

Dude, there are two "diagonal line letters". We call them "Slash" and "Backslash". They look like this: / and \
I invite you to use them in my diagram then, show me how a pro does it. :P

... provide sample tiles for testing :P
For only adjacency:


Logged

Mala

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Stonesense - Official thread
« Reply #3633 on: July 30, 2010, 12:52:03 pm »

there are better ways to do that, you know. best way for that effect, for those tiles, would be to have 4 sprites with a gold bar on each edges, and 4 sprites with a gold pyramid on each corner, and just put conditionals on them.

anyhoo, I'll take a look at em.
Logged

Mala

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Stonesense - Official thread
« Reply #3634 on: July 30, 2010, 01:11:07 pm »

this is what the tilesheet would look like:
Spoiler (click to show/hide)
Logged

Dark_Tundra

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #3635 on: July 30, 2010, 01:22:57 pm »

I suppose I did get a little carried away with the whole "every single combination" thing...

Ah well... Next time...
Logged

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: Stonesense - Official thread
« Reply #3636 on: July 30, 2010, 01:24:21 pm »

Dude, there are two "diagonal line letters". We call them "Slash" and "Backslash". They look like this: / and \
I invite you to use them in my diagram then, show me how a pro does it. :P

this is what the tilesheet would look like:
Spoiler (click to show/hide)
See above for how a pro does it.
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

Mala

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Stonesense - Official thread
« Reply #3637 on: July 30, 2010, 03:09:19 pm »

Spoiler (click to show/hide)

corners are being difficult, but edges are fine.
Logged

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: Stonesense - Official thread
« Reply #3638 on: July 30, 2010, 03:16:17 pm »

That is a lot of blood. What happened?
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

SeigeOps

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #3639 on: July 30, 2010, 03:17:53 pm »

http://pix.sparky-s.ie/65c69.png

corners are being difficult, but edges are fine.

Christ, what a bloodbath. I hope the contaminant spreading bug is fixed eventually.
That said, [Garrus]"Impressive!"[/Garrus].
Logged

Mala

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Stonesense - Official thread
« Reply #3640 on: July 30, 2010, 09:07:05 pm »

Spoiler (click to show/hide)

right then, I think I got it working.
Logged

Dark_Tundra

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #3641 on: July 30, 2010, 11:19:01 pm »

That is great, thanks for taking the time for this.
Logged

James.Denholm

  • Bay Watcher
  • [HAS_NO_HUMOURS]
    • View Profile
Re: Stonesense - Official thread
« Reply #3642 on: July 30, 2010, 11:46:23 pm »

Dwarf Fortress - Now with skirting boards.
Logged
Imagine a combination of power goals 44 and 45: The ruler convenes a council of the nobles to appoint you the high priest of the nearby towns. Instead of waiting for them to finish their drinking session, you walk in and crush a goblet while berating their disgusting behaviour and general incompetence.

Dante

  • Bay Watcher
  • Dante likes cats for their corrupt intentions.
    • View Profile
Re: Stonesense - Official thread
« Reply #3643 on: July 30, 2010, 11:48:55 pm »

This is a masterfully engraved skirting board in limestone. On the skirting board is a demon rat. The demon rat is gnawing.

Dark_Tundra

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #3644 on: July 31, 2010, 04:36:21 am »

Can it also be used to differenciate between floors next to walls, and floors next to open space?
Say, for example, if I wanted non square edges on overhang, but wanted to keep floors next to walls connected?

photoshopped example:


I am hoping this all makes sense...
Logged
Pages: 1 ... 241 242 [243] 244 245 ... 380