Rounded Rectangles display incorrectly as of build v. 767

Not sure if this became broken by the latest build, but rounded rectangles no longer display correctly.

This code will show the issue:

local myRoundedRect = display.newRoundedRect( 0, 0, 250, 20 , 10)  
myRoundedRect:setFillColor( 0,0,0 )  
myRoundedRect.alpha = 0.7  

The top of the rectangle collapses inward. I have only tested this in the simulator, but it happens across each device. [import]uid: 8444 topic_id: 23525 reply_id: 323525[/import]

I believe this is already in the bug tracker. In the interim you should be able to get around it by disabling antialiasing in your config file. It’s the same kind problem that rectangle strokes were experiencing after that big OpenGL update for sprites etc.

Apparently Ansca has to update their daily build delivery system to compile with 5.1 (for the new iPad), or something. So it might still be some days before this (presumably simple) fix gets pushed out unfortunately. [import]uid: 87138 topic_id: 23525 reply_id: 94384[/import]

Hey Joe,

We’re aware of this issue and we’re working on it. (I believe it first appeared in 759 although can’t say for sure off hand.)

Currently our antialiasing feature has some issues on all platforms and we’re suggestion people disable it for the time being.

Peach :slight_smile: [import]uid: 52491 topic_id: 23525 reply_id: 94411[/import]

Hi - any update on when this issue might be resolved? I have about a million buttons in my app which I’m creating dynamically using rounded rectangles but they look horrible with jagged edges.

I’ve read somewhere this is going to be a tough issue to fix so I was hoping to be able to find out what the likelihood of a fix soon is so I can decide whether to swap all my rounded rectangles for images?

Thanks,

Ian [import]uid: 123492 topic_id: 23525 reply_id: 96838[/import]

Hey Ian,

I’ll try to get some info for you on this and report back :slight_smile:

Peach [import]uid: 52491 topic_id: 23525 reply_id: 97032[/import]