Integer vs. decimal coordinates.

Do the coordinates of the objects, always expressed in whole numbers?

By mistake, I did this:

Barra = display.newRect (100,100,1,100)
Barra: setFillColor (0,1,0)

Barra2 = display.newRect (100.5,100,1,100)
Barra2: setFillColor (1,0,0)

Y. … opps … surprise …

Lua only has floats, and depending on  your content scaling in your config.lua you could very well have fractional placement.

Lua only has floats, and depending on  your content scaling in your config.lua you could very well have fractional placement.