Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Flip creature sprites based on the direction they're looking  (Read 1347 times)

aSpatula66

  • Bay Watcher
  • Hoarder of Knowledge
    • View Profile
Flip creature sprites based on the direction they're looking
« on: April 07, 2024, 12:08:16 pm »

 Most of the existing creature sprites already face left by default, although a few face right so that would need to be changed.

Creature sprites should be flipped right when the creature is looking NE, E or SE.

The sprites wouldn't need to be flipped if they are looking NW, W or SW.

If they are facing N or S the sprite should be flipped right only if the last direction they looked that wasn't N or S was NE, E or SE.

I think this would help make it easier to see the direction people are facing in adventure mode without using sneak mode. It would also make it possible to see which way people are looking in fort mode.
Logged

JasonMel

  • Bay Watcher
    • View Profile
Re: Flip creature sprites based on the direction they're looking
« Reply #1 on: April 23, 2024, 11:15:48 pm »

Does facing even exist in fort mode?

They could always go whole hog and create eight sprites, one per direction. Of course, it would be lots of work, and less easy to recognize north-facing dwarves by sight. That would be less convenient since, somewhat amazingly, I have actually gotten familiar enough with each dwarf's appearance to do that routinely. Maybe the best thing would be an optional sprite overlay that indicates everyone's facing direction, like a small triangle on the sprite's border. But players would probably ask for that to be represented in ASCII mode as well.
Logged

DPh Kraken

  • Bay Watcher
  • [PRONOUN:she:her:herself][PRONOUN:it:its:itself]
    • View Profile
Re: Flip creature sprites based on the direction they're looking
« Reply #2 on: May 06, 2024, 10:34:58 am »

Face direction exists in adventure mode, it's based on the last motion/attack you've done and is shown using ASCII tiles. Any visual indicator is unimplemented in premium but it's likely to be a sprite overlay like that.
Logged
[CHEESE_PLANT] and [CHEESE_GRAPHICS] biggest fan
My mods:
Language & symbolsMiscellanyGraphics resourcesPseudo-ASCII

aSpatula66

  • Bay Watcher
  • Hoarder of Knowledge
    • View Profile
Re: Flip creature sprites based on the direction they're looking
« Reply #3 on: May 11, 2024, 07:09:41 pm »

If facing doesn't exist in fort mode, (I'm not sure if it does or doesn't) members of your fortress should face right and non-members should face left. (Or vice versa)
Logged