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
Image
B
108
S
24
G
18
Posts: 1,372
Reputation: 22,817

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
37
S
11
G
6
Posts: 962
Reputation: 11,259

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
157
S
66
G
42
Posts: 2,603
Reputation: 35,343

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
397
S
236
G
88
Posts: 24,423
Reputation: 194,560

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
Image
B
108
S
24
G
18
Posts: 1,372
Reputation: 22,817


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests