我进行了大量搜索,甚至升级到了Graphics 2.0,因为我看到在Corona中矢量图形的抗锯齿功能现在已经可用。但是,无论是在模拟器上还是我的手机上,所有内容仍然要么是像素化的,要么是多边形的(在我的Nexus 7上)。
我在配置文件中打开了抗锯齿功能,但没有更改任何绘制圆形的代码:
config.lua
application = {
content = {
width = 320,
height = 480,
scale = "letterBox",
fps = 60,
antialias = true,
xalign = "center",
yalign = "center",
imageSuffix = {
["@2x"] = 2
}
}
}
main.lua
local function newDot (i,j)
local newCircle = display.newCircle( i*40-20, -60, 15)
newCircle:setFillColor( .2, .6, .86 )
return newDot
end
这会创建平滑的圆吗?
谢谢!