[r188] Sine (Angle) seems broken via events

Bugs will be moved here once resolved.

Post » Fri Nov 14, 2014 5:34 pm

Sine (Angle mode) doesn't work anymore IF enabled via events. If i set it enabled right from the start it does work, but if it starts disabled and then i enable it in an event, nothing. Other sine modes seem to work, but not Angle.

Note: there may be possible bugs with the other sines as well, sprites Size / Position changes for example seem to be permanent now, this could have something to do with the last sine fix in r188.
B
63
S
22
G
4
Posts: 357
Reputation: 6,503

Post » Sat Nov 15, 2014 12:54 pm

Yes there are problems with the sine behavior, even with the horizontal movement when you disable then enable the sprite will go set new X position.
I will return to r 187 for now.
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sat Nov 15, 2014 1:12 pm

Its working, its just not using the preset values.
However you can set them directly after you enable the behavior.
Image ImageImage
B
168
S
50
G
164
Posts: 8,239
Reputation: 105,597

Post » Sat Nov 15, 2014 2:32 pm

newt wrote:Its working, its just not using the preset values.
However you can set them directly after you enable the behavior.


Yes it works, but there is something very odd happening, i suspect the Magnitude value isn't working correctly when you enable it via events, and with low values it looks like it's not working at all.
B
63
S
22
G
4
Posts: 357
Reputation: 6,503

Post » Sat Nov 15, 2014 2:54 pm

"Sine behavior: now reads initial state again when being set active, so it respects any changes in the state of the object"

Considering that the only previous state it knew was disabled, it may actually be working, ... sort of.
Image ImageImage
B
168
S
50
G
164
Posts: 8,239
Reputation: 105,597

Post » Sat Nov 15, 2014 3:10 pm

Yes i was aware of that change and it must be caused by it as i wrote previously. I'm preparing a capx with a proper bug report, even though i was sure the bug was explicit.
B
63
S
22
G
4
Posts: 357
Reputation: 6,503

Post » Sat Nov 15, 2014 3:11 pm

Ok what this mean, is't a bug or we should change our games ?
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sat Nov 15, 2014 3:22 pm

The value will be changed if you deactivate then activate the behavior.
You do not have the required permissions to view the files attached to this post.
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sat Nov 15, 2014 3:34 pm

A0Nasser wrote:The value will be changed if you deactivate then activate the behavior.


Exactly, you made if quicker than me, i was doing the same capx.
B
63
S
22
G
4
Posts: 357
Reputation: 6,503

Post » Sat Nov 15, 2014 3:36 pm

Yeah thats pretty buggy.
Someone should submit a proper bug report tho...
OP's is not formatted correctly.
Image ImageImage
B
168
S
50
G
164
Posts: 8,239
Reputation: 105,597

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests