[REQUEST] Designate Sin Values

Discussion and feedback on Construct 2

Post » Mon Jan 13, 2014 3:52 pm

I'm using the value selection in the sine behaviour for a sprite, and for what I'm using it for, it's working fine.

In setting it up, I created a text box to see exactly what values were being displayed, and was surprised to see that in setting the magnitude to 2, the value moved from a positive 2 to a sudden positive 358. This means that this behaviour, as far as I can tell, can only really be used for angles.

Luckily that's just what I needed for, so it didn't bother me, but I did recall a question I asked a few weeks back, which was relating to an EasyEase behaviour.

Wouldn't the angle issue also work if the figure went from 2 to -2? This would allow people to use the behaviour with both angle and position. Also, I wonder if it's possible to set the to and from figures, so it could be 2 to -20 if I wanted it to be.

Thoughts?
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
84
S
15
G
7
Posts: 990
Reputation: 11,229

Post » Mon Jan 13, 2014 6:15 pm

It shouldn't do that. Post a bug report with a .capx, it should be linear by default. I'm pretty sure it is actually, maybe you made some mistake.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095

Post » Mon Jan 13, 2014 6:42 pm

Ah, yes! My mistake. I had set the text to show the angle, rather than the value.

In any case, I'd still like to set it up so that I can choose my own custom values either side of the scale.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
84
S
15
G
7
Posts: 990
Reputation: 11,229


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests