Skip to content

Content Tagged "corona-sdk"

Page 1 of 1

Content Tagged "corona-sdk"

Fade colors in Corona using Transitions

March 11, 2018Categories: Software, Tutorial
Corona provides transitions. According to this post , a transitionTo(...) would suffice: The user can also cancel the transition if needed (which is waht I would need to do later in the code). In case you're into custom stuff and the easing functions are not enough, you can create your own . A…

Fade Colors on a Polygon using the Game Loop

March 11, 2018Categories: Software, Tutorial
One of the features I need to implement is to smoothly change the fill/stroke color of a polygon, like this: A manual approach In order to better understand the mechanics, I built my own fading PoC. First, one would need to build the polygon: In this particular case, I have a text field and a…

Antialias a Polygon with Corona SDK

February 27, 2018Categories: Software, Tutorial
The other day I figured I needed to draw a polygon in Corona SDK . With display.newPolygon(...), the job is extremely easy and a result like (apologies for the JPEG artefacts): It is obvious that in non retina cases, one can see the aliasing of the polygon's edges. Hence I've thought and searched…

All tags