Guild icon
DDraceNetwork
Development / bugs
Report client & server bugs, especially but not limited to release candidates.
Between 2024-03-27 00:00:00Z and 2024-03-28 00:00:00Z
Avatar
Is there a way to couple groups in a map to each other so zoom doesnt break? I don't know if this is a bug or a feature request
Avatar
Avatar
texnonik
@Cøke
texnonik
Avatar
Avatar
AssassinTee
Is there a way to couple groups in a map to each other so zoom doesnt break? I don't know if this is a bug or a feature request
What do you mean?
Avatar
@archimede67 I have a sun, it's getting mirrored in the sea like here:
15:12
And as soon as I zoom out, the mirroring effect breaks:
Avatar
does the sun have the same parallax values?
15:14
also could you send the map?
Avatar
no, it must have an other paraY value
15:14
it has the same paraX value tho
15:15
Avatar
does it also break if paraY is smaller than paraX?
Avatar
if the ocean has paraY = 10, and the sun has paraY = 5, the mirror must have paraY=15
15:16
paraX is the same everywhere, because it needs to aling on the X axis
15:16
well the ocean has paraX = 0, so it follows the player
Avatar
why does the mirrored sun have to have a higher paraY?
Avatar
move in the editor and you'll see
Avatar
I'm doing that rn and I'm not seeing it yet o.o
Avatar
because of the mirrored motion around the sea, which has Para 10
Avatar
Avatar
Patiga
I'm doing that rn and I'm not seeing it yet o.o
move up and down (without zoom)
Avatar
hm, so the issue you mean is that the sun moves out of the water?
Avatar
no, if I activate zoom, the mirrored sun changes X axis (edited)
15:23
and it's smaller
Avatar
and what is the issue with setting the same paraY, or setting the paraX higher than the paraY for both?
Avatar
you can't set the same ParaY because this is how the mirror effect works? and why should making ParaX higher than ParaY change anything? (edited)
Avatar
paraX higher than paraY should fix it, because the size of the sun depends on the parallax zoom value, which is the higher of paraX and paraY. to have the same parallax zoom value for both groups, the paraX can simply be bigger than both paraY
Avatar
Tested this, I even need to set the ocean ParaX value to the same for this to work
15:31
While, thank you first of all, that is very unintuitive behaviour oO
15:31
congrats btw, you found one of the first cases where parallax zoom complicates something ^^
Avatar
it actually breaks it, because the needed ParaX is too high
15:32
Or I need to set ParaY lower everywhere
Avatar
though I think I need more context: what is the effect that you want to achieve? do you always want both suns to have the same distance from the water surface? because that is not necessarily how reflections work
Avatar
Avatar
Patiga
though I think I need more context: what is the effect that you want to achieve? do you always want both suns to have the same distance from the water surface? because that is not necessarily how reflections work
they keep the same distance, the difference (of ParaY) to the ocean must the be the same
15:33
I didn't align them perfectly in the testmap tho
Avatar
and you need the sun to rise/lower with movement along the y-axis? if that is optional, you could just set paraY to 0
Avatar
well, that'd be the feature I'd want, cosmically you are right, the ParaY should be extremly close to 0 in reality
15:35
( i am probably the only person who'd like floating point paras)
Avatar
Avatar
AssassinTee
( i am probably the only person who'd like floating point paras)
nope, theyll be really useful for the sorts of projects im working on
Avatar
hm I think this will be impossible to make the suns keep the same distance to the horizon, due to how parallax works (edited)
Avatar
Avatar
Patiga
hm I think this will be impossible to make the suns keep the same distance to the horizon, due to how parallax works (edited)
I already did it with bigger ParaX values, but as I said, it's not desired like this
15:42
here it works, but the sun's ParaX value is too big
Avatar
if all three groups have positive paraY, my understanding is that it can literally not work
15:42
I'll take a look at that map
15:43
welp, I'm proven wrong
Avatar
at first I thought, that I'd need negative paras, too, but it's not mirrored around 0, but 10
15:44
the issue here is, that I can't decide if zoom uses paraX or ParaY
15:45
as I am abusing ParaX=0 for the ocean effect
15:48
With the older solution, you could never run out of ocean, with this one, you can reach the edge of the world and have to adjust ocean size to map size, I hate needing to span quads over the whole map (edited)
Avatar
older solution where you could manually set the parallax zoom value?
Avatar
is this possible?
Avatar
no, right now that is not possible
15:50
you mean the older solution before parallax zoom then?
Avatar
No i mean the first map I send with the issue. In the second map the issue is "fixed", while not working as intended, and another arrives instead
Avatar
extending the quads over the whole map doesn't sound too bad to achieve that effect, no?
Avatar
Still the ParaX is way to high
15:53
My only valid solution for the actual map I am working on is to call it unfixable and don't map with zoom in mind.
Avatar
that is unfortunate, could maybe a lower paraX and paraY decrease the scale of the effect, but result in an alright paraX?
Avatar
hmm, maybe I find okayish values where the scaling issues aren't that bad (edited)
16:00
no it can't work, because whatever I put on the ocean has in the end the same paraX value as the sun (edited)
16:03
If I use the same ParaX on the ocean, the castle can never obstruct the moon, which is exactly why I want this Also you can see another bug, where the top of the castle-quad has a dark edge. This is not in the castle image
16:04
At least it helps to know, that zoom uses the Max of ParaX and ParaY, so I can at least map for this in the future
Avatar
to remove the dark edge, you need to modify the uv values of the upper corners slightly
Avatar
what is the uv value?
Avatar
tex u/tex v
16:05
the texture coordinates
16:06
is that map secret or can you send me that one as well?
Avatar
it's WIP and not release yet, but I can PM it to you, fixed the V values, thank you, worked 👍
👌 1
Avatar
Mr. Teetorial 2024-03-27 16:48:16Z
Hey guys, I have a few problems with ddnet recently. First of all i sometimes cant connect to ger10 servers. It says "Requesting to join the game" for several minutes. Second of all i sometimes get connection problems on ger10 after joining a server and can play anymore because of lags. (Im 100% sure it is not because of my internet. It must be something about ddos protection or some other problem the servers have with me. Does anyone have similar issues?
Avatar
You can try visiting ger10.ddnet.org in your browser (edited)
16:52
At least solves the slow joining for me
Avatar
Mr. Teetorial 2024-03-27 16:53:36Z
hm okay ty
Avatar
Avatar
Mr. Teetorial
Hey guys, I have a few problems with ddnet recently. First of all i sometimes cant connect to ger10 servers. It says "Requesting to join the game" for several minutes. Second of all i sometimes get connection problems on ger10 after joining a server and can play anymore because of lags. (Im 100% sure it is not because of my internet. It must be something about ddos protection or some other problem the servers have with me. Does anyone have similar issues?
Yea a lot of people having issues with the servers atm. Maybe some new kind of dos/ddos attacks
Avatar
Avatar
Stepfunn
Yea a lot of people having issues with the servers atm. Maybe some new kind of dos/ddos attacks
Mr. Teetorial 2024-03-27 16:59:00Z
yeah but i have had that for weeks or months already. but just from time to time
Exported 73 message(s)