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

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
254
S
32
G
13
Posts: 1,796
Reputation: 19,272

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
23
S
10
G
6
Posts: 351
Reputation: 5,151

Post » Fri Jun 14, 2013 9:34 pm

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

Post » Sat Jun 15, 2013 8:37 pm

Try to enable a 1x1 grid ...
B
44
S
18
G
17
Posts: 2,249
Reputation: 17,585

Post » Sat Jun 15, 2013 8:48 pm

@Whiteclaws Again with reading the whole thing. He wants rounded pixels during run-time.
B
48
S
15
G
8
Posts: 603
Reputation: 8,766

Post » Wed Sep 25, 2013 4:25 pm

round(coord) :P
B
90
S
23
G
23
Posts: 545
Reputation: 19,187


Return to Construct 2 General

Who is online

Users browsing this forum: Rice games and 0 guests