Feature todo-list

New releases and general discussions.

Post » Sat Jun 28, 2008 3:59 am

Would be nice if you could use the system object to not only 'convert value to string' but to 'convert string to value' as well.
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Sat Jun 28, 2008 10:36 am

'Value' means either a string, integer or float. So the three 'Convert' expressions - convert value to integer, float and string - can all accept a string, integer or float parameter. So you can convert a string to a value by using 'Convert value to integer' or 'Convert value to float'.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Sun Jun 29, 2008 3:35 am

oh awesome! n_n
There seems to be lots of rotate angle actions but none that rotate an angle towards an angle :(
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Sun Jun 29, 2008 12:46 pm

[quote:3kjcpvrs]There seems to be lots of rotate angle actions but none that rotate an angle towards an angle[/quote:3kjcpvrs]
Wait, er.. what? How do you mean?
B
3
S
2
G
4
Posts: 310
Reputation: 2,120

Post » Sun Jun 29, 2008 12:52 pm

Cant you just do a test if the angle is what you want it to be, and then add or subtract from current angle until it is equal to the angle you want to rotate to?
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Sun Jun 29, 2008 1:56 pm

I guess, although it would be useful to just have it built it.

edit: I tried doing that, but when the angle changes from 0 to 360 it spins the wrong way..
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Sun Jun 29, 2008 8:04 pm

Hmm, possibly have an object that is at the position you want and just "rotate to object", if the position is mouse, give the object the mouse behaviour. Although this is stuff to be discussed in the help and support forums I think. What your asking for in this thread is a command like "adjust to rotation" right?
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Mon Jul 07, 2008 5:27 pm

[quote="alspal":27a0hiid]I guess, although it would be useful to just have it built it.

edit: I tried doing that, but when the angle changes from 0 to 360 it spins the wrong way..[/quote:27a0hiid]

I've had huge problems with this exact thing. rotate towards angle would be really great. The only program able to do this so far was TGF with the direction calculator plugin. It was never converted to MMF. Correct me if i'm wrong. I'm not updated with MMF2 anymore.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Jul 08, 2008 4:30 pm

Yeah you can do it with MMF.
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Tue Jul 08, 2008 4:47 pm

What do you guys mean ? Set two objects to the same angle ? Thats easy. So i guess i am not with you. Plz explain ?
B
3
S
2
G
4
Posts: 322
Reputation: 2,119

PreviousNext

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests