Bay 12 Games Forum

Please login or register.

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

Author Topic: Suggestions for the graphical release: Animate z-level change  (Read 2440 times)

juhdanad

  • Escaped Lunatic
    • View Profile

Motivation:
As the graphical release comes out, I expect that more people will stream their gameplay on the Internet. Players understand what happens at z-level changes, as they press the corresponding key. But for viewers it is hard to tell if a z-level change is upwards or downwards. Giving a pleasant experience to them could persuade more people to try out the game.

Here is an example image:


For this I needed three images:
Image A: level 0
Image B: level 1 (only background, note the missing cobwebs and ogre)
Image C: level 1 (only current layer)

Going up:
First I render image A, then image B on top of it, then image C on top of them. The opacity of image B and C grows gradually from 0 to 100%. The position of image C also changes during the animation.
Going down is similar.

The advantage of this method is that it requires minimal modifications to the current rendering code (I suppose).
This is a simple effect, but the point is to make the game more understandable. I hope others will find it a good idea too, even just as a setting. Do you also think this can make the game more understandable, if implemented correctly? With proper animation speed, of course, otherwise it would be disturbing.
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #1 on: April 09, 2021, 01:04:06 pm »

Wouldn't this slow things down when you're just trying to scroll down a bunch of levels?
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Hl_Handgranate

  • Bay Watcher
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #2 on: April 09, 2021, 01:42:58 pm »

I like the idea - the gif convinces me, thanks for the effort. Would be nice for Let's Plays if it doesn't look too weird when scrolling 100 levels to your magma forge.
Logged
“A floor is just a wall that’s horizontal. It’s the same thing.”
“That’s the dumbest thing you’ve ever said.”

DwarfStar

  • Bay Watcher
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #4 on: April 10, 2021, 10:25:01 am »

Wouldn't this slow things down when you're just trying to scroll down a bunch of levels?

You would definitely need to be able to still change z levels while the animation played. If you changed multiple a levels quickly you’d just see this effect blending the final z level with the previous one.

+1 for the suggestion!
Logged

NEANDERTHAL

  • Bay Watcher
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #5 on: April 10, 2021, 12:17:33 pm »

What about an animation with less movement-- the tiles don't "shift" up/down, but they do fade smoothly in and out. This would feel more comfortable, and if someone wanted it faster, it would still look good. It's also less noticeable if the animation lags or skips.
Logged

juhdanad

  • Escaped Lunatic
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #6 on: April 10, 2021, 02:34:18 pm »

What about an animation with less movement-- the tiles don't "shift" up/down, but they do fade smoothly in and out...
The whole point of this suggestion is that you can tell if you are going up or down. A fading animation without movement is the same in both directions, so unfortunately it is not enough.

I agree that this effect could be disturbing. It also does not fit to the "jumping" movement of the x-y plane and creatures. Maybe we should start a separate, more general thread, something like "Make z-level changes visually more intuitive". Others might have a better idea to achieve this goal.
Logged

Moeteru

  • Bay Watcher
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #7 on: April 10, 2021, 02:55:38 pm »

I like this idea. It wouldn't bother me as long as it didn't restrict my ability to move through z levels quickly.

The only other animation that comes to mind is a fade-and-zoom effect. Imagine looking down on a stack of layers so the top ones appear larger than the bottom ones.
Moving up would make the layer above start out larger and shrink as it fades in. Moving down would make the current layer fade out as the one below grows to fill the screen.
Logged

juhdanad

  • Escaped Lunatic
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #8 on: April 10, 2021, 03:20:24 pm »

...The only other animation that comes to mind is a fade-and-zoom effect.
Yes, thank you, that is the other idea. It is less disturbing as movement is only visible at the edge of the screen. What about something like this?
Logged

DwarfStar

  • Bay Watcher
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #9 on: April 10, 2021, 03:56:38 pm »

I finally watched the last video update more closely, and it’s clear that the Steam version will have multi-z level rendering. The levels below the current level are drawn with a fog over them and they look great. To me that completely solves the OP problem of not being able to tell from watching whether the camera is going up or down.

Doing a nice blend when changing levels would still look pretty sweet, though. Could even have the fog distance change at a different speed.
Logged

juhdanad

  • Escaped Lunatic
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #10 on: April 11, 2021, 12:06:29 pm »

Yes, fog is sufficient in most cases. However, my suggestion is mainly for underground fortress levels, as there are no visible fog,  since each level has a floor.
Logged

A_Curious_Cat

  • Bay Watcher
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #11 on: April 11, 2021, 05:45:10 pm »

Why do the walls in your animations move left and right as you go up and down?
Logged
Really hoping somebody puts this in their signature.

NW_Kohaku

  • Bay Watcher
  • [ETHIC:SCIENCE_FOR_FUN: REQUIRED]
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #12 on: April 12, 2021, 01:50:43 am »

I'd like to add my backing the notion that this would be unnecessary for most people playing the game on their own, who often are jumping between different z-levels fairly quickly, so this is best as an option for those who are those (likely very rare) few who are going to be DFTubers.  (At least, I sure move up and down a lot, I build much more vertical fortresses than a lot of others do.)

That said, the second example, with the "zoom in"/"zoom out" effect rather than the slide up/down effect is much less disorienting, and better gives the idea that you're moving "toward" the screen's axis (Z-axis) rather than just shifting along the Y-axis and having the walls rearrange for no reason.
Logged
Personally, I like [DF] because after climbing the damned learning cliff, I'm too elitist to consider not liking it.
"And no Frankenstein-esque body part stitching?"
"Not yet"

Improved Farming
Class Warfare

juhdanad

  • Escaped Lunatic
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #13 on: April 12, 2021, 06:31:40 am »

Why do the walls in your animations move left and right as you go up and down?
I meant that as a zooming animation. As it gets closer, you see the layer grow in size.
Logged

sanchezman

  • Bay Watcher
    • View Profile
Re: Suggestions for the graphical release: Animate z-level change
« Reply #14 on: April 16, 2021, 02:09:31 pm »

Why not have a less-intrusive animation in, say, the top-right corner of the screen?  Maybe something like this:

Logged
Pages: [1] 2