Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Object-Oriented Lua Tutorials
Started by ArdentKid Dec 05 2012 01:19 AM

* * * * * 1 votes
51 replies to this topic
[TOPIC CONTROLS]
Page 3 of 3 1 2 3
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#51

cspence

[GLOBAL: userInfoPane.html]
cspence
  • Contributor

  • 338 posts
  • Enterprise

Do you mean that the way the jetpack template implement OOP will not allow inheritance? Is inheritance super important in small/medium size game design? I will think that encapsulation is the first critical thing and it seems that example acheive that. No? I guess I am trying to figure out if that example will be a good start for a beginner then switch to your implementation when I need more "power"? Also, are meta tables an issue for fast arcade games (versus procedural programming) in term of speed? (Table access) OR this is non issue? Sorry for maybe the stupid questions! Thanks. Mo

 

It's up to you, ideally any implementation would include inheritance as that's one of the fundamental concepts.  As far as I know, there are no issues with performance w/ Meta tables, be more concerned about your functions being profiled.



[TOPIC: post.html]
#52

ArdentKid

[GLOBAL: userInfoPane.html]
ArdentKid
  • Observer

  • 18 posts
  • Corona SDK

Hi everyone,

 

I have recently posted a new set of Project Files for download - a OOP Level-Picker! Check it out here: http://www.ardentkid.com/services/codebank/corona-level-picker




[topic_controls]
Page 3 of 3 1 2 3
 
[/topic_controls]