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
Image
B
99
S
22
G
16
Posts: 1,338
Reputation: 21,237

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,254

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
155
S
61
G
41
Posts: 2,577
Reputation: 34,324

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
378
S
220
G
84
Posts: 23,871
Reputation: 188,157

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
Image
B
99
S
22
G
16
Posts: 1,338
Reputation: 21,237


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests