Suggestion: kill decimals in pixel coords

Discussion and feedback on Construct 2

Post » Fri Jun 14, 2013 5:42 pm

It's no use to put a pixel in coords, i.e.: 101.345, 101.549
Which happens constantly. I'd love an option to disable decimal places.
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Fri Jun 14, 2013 5:51 pm

You can enable pixel rounding in the project properties to fix this. Unfortunately it doesn't round pixel size nor angle though like every other program out there XD; I've asked @Ashley 4 times about it but it doesn't look like it's happening.Tokinsom2013-06-14 18:12:11
Image
B
239
S
28
G
13
Posts: 1,787
Reputation: 18,510

Post » Fri Jun 14, 2013 8:43 pm

Pixel rounding doesn't actually round your position, it's for rendering.

If you enable pixel rounding and track the X/Y of an object, it'll always return the same decimal numbers if you had it off.Thndr2013-06-14 20:43:59
B
21
S
8
G
6
Posts: 346
Reputation: 4,891

Post » Fri Jun 14, 2013 9:34 pm

5 times now :)
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Sat Jun 15, 2013 8:37 pm

Try to enable a 1x1 grid ...
B
41
S
17
G
17
Posts: 2,247
Reputation: 17,436

Post » Sat Jun 15, 2013 8:48 pm

@Whiteclaws Again with reading the whole thing. He wants rounded pixels during run-time.
B
46
S
14
G
7
Posts: 603
Reputation: 8,096

Post » Wed Sep 25, 2013 4:25 pm

round(coord) :P
B
76
S
21
G
22
Posts: 511
Reputation: 18,069


Return to Construct 2 General

Who is online

Users browsing this forum: Tokinsom and 2 guests