R102- Noticed now C2 is rounding pos and sizes

Discussion and feedback on Construct 2

Post » Fri Sep 07, 2012 12:53 am

Nice addition Mr. @Ashley

I was thinking in suggest it, but today I was positioning some sprites on the canvas and noticed the plus. Also, it's rounding the sizes too, very nice! Thanks, this little tweak is really useful.TELLES08082012-09-07 01:01:59
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276

Post » Fri Sep 07, 2012 3:00 am

Haha, I'm a little unsure - what exactly is it doing to the values?
Is it rounding them up?
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Fri Sep 07, 2012 11:17 am

Well it's not rounding anything. At 100% zoom, sprite position was always whole number without decimals. Decimals showed up when zoom is bigger then 100%. Same with size, but it gets decimals all the time.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Fri Sep 07, 2012 12:54 pm

I'm not sure what you mean. Nothing like this has changed specifically in r102, I think this has always been there?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Fri Sep 07, 2012 7:00 pm

[QUOTE=shinkan] Well it's not rounding anything. At 100% zoom, sprite position was always whole number without decimals. Decimals showed up when zoom is bigger then 100%. Same with size, but it gets decimals all the time.[/QUOTE]

Oh, okay then, I didn't noticed it. This video was made before I read your post.

Maybe a little button to round the values can help Us a lot! ^^

I was having several problems with collisions because of very little misalignments.

http://www.youtube.com/watch?v=sFnX6xpTE3E

@Ashley , my bad, this was the zoom rounding the numbers ~_~

Maybe later, this can be added, because help a lot while doing collision masks for scenarios (I'm doing primitive forms, because one day you told me to use it, remember? http://www.scirra.com/forum/collision-polygons-and-detection-issues_topic54181.html?KW=).TELLES08082012-09-07 19:10:10
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests