Over the last few days I have been reading and re-reading the OOP tutorial found on develephant: http://www.develephant.net/an-rpg-themed-oop-design-pattern-for-corona-sdk-part-1/
I have come to the conclusion that I’m not experienced enough to understand why it works, but I have a decent concept of how to add to it and make it function for what I need it to do.
My question is when it comes to OOP and getting a “character class” to operate like the simpler plain objects…
normally I would do something like this
local object = displayNewImage …
object.x = 100
object.y = 500
etc
etc
I’m not quite sure how to accomplish this because the usual object.x & object.y don’t seem to work. (ive tried self.x & self.y but no success).
Most of my struggles have been trying to figure out transition to. Does anyone have any answers on how to get this to work?
Sorry I don’t have any code to show, Im at work
stupid work