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
95
S
21
G
16
Posts: 1,337
Reputation: 20,985

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: 960
Reputation: 11,125

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
147
S
58
G
38
Posts: 2,557
Reputation: 32,526

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
367
S
217
G
82
Posts: 23,262
Reputation: 183,839

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
95
S
21
G
16
Posts: 1,337
Reputation: 20,985


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest