Hello everyone!
I wonder if there is any free lib for manipulating layouts of display objects? For example, native iOS comes with very large set of CGRect functions, which significantly speeds development. Looks like Corona lacks such utility functions and you have to perform calculations manually every time.
So, the question is: if there anything for Corona which resembles CGRect functions in native iOS?
There are a couple of options:
display.newRect() will create a visible rectangle, but you can fill it with various things.
The other option is:
display.newContainer() which creates a group for holding other display objects.
Rob
Thank you for answer, Rob! display.newRect is not exactly what I’m looking for. I meant some utility functions which helps to easy resize and layout displayObjects.
I decided to start my own lib, https://github.com/alexdoloz/CoronaGeometry
Check it out, any bug reports or contribution will be appreciated
There are a couple of options:
display.newRect() will create a visible rectangle, but you can fill it with various things.
The other option is:
display.newContainer() which creates a group for holding other display objects.
Rob
Thank you for answer, Rob! display.newRect is not exactly what I’m looking for. I meant some utility functions which helps to easy resize and layout displayObjects.
I decided to start my own lib, https://github.com/alexdoloz/CoronaGeometry
Check it out, any bug reports or contribution will be appreciated