I've been building up a game for almost a week now, and so far things have been great.
However, I sometimes stumble into some things that look easy, but my inexperience holds me back :P
In my game, I have to spawn objects regularly, but they must hold a variable because, with each hit, they will award more points when they are destroyed. However, with the LUA not being very OOPish, I can't seem to make this happen.
Should I create instances of the object with different names? Would that work? If so, how can I do this?
Can you guys please enlighten me?
Thanks in advance!!