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
234
S
27
G
13
Posts: 1,784
Reputation: 18,274

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
38
S
16
G
17
Posts: 2,230
Reputation: 17,220

Post » Sat Jun 15, 2013 8:48 pm

@Whiteclaws Again with reading the whole thing. He wants rounded pixels during run-time.
B
44
S
13
G
7
Posts: 603
Reputation: 7,936

Post » Wed Sep 25, 2013 4:25 pm

round(coord) :P
B
73
S
19
G
21
Posts: 492
Reputation: 17,237


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests