How can I create a camera that sort of centers itself on where the character is moving? Also, how can I program it so that it does not center itself when the character reaches the edge of the map?
My main interest here is for tutorials that can help walk me through this. (A Corona Geek Hangout would be optional)
Quick question, then this topic will be wrapped up for good, is a factory similar to a function such as display.newCircle, just with custom properties?
If so, my ‘factories’ are really replacement builders that take parameter tables to configure the objects.
These ‘factories’ internally call the corona functions to do the work, but the ‘factories’ do a lot of bookkeeping and extra work so my code can be short.
I do this, because I HATE typing long sequence of code to do the same things over and over.
Quick question, then this topic will be wrapped up for good, is a factory similar to a function such as display.newCircle, just with custom properties?
If so, my ‘factories’ are really replacement builders that take parameter tables to configure the objects.
These ‘factories’ internally call the corona functions to do the work, but the ‘factories’ do a lot of bookkeeping and extra work so my code can be short.
I do this, because I HATE typing long sequence of code to do the same things over and over.