Does corona or lua better to use with oop for Game development or App development..?

Hello

 

can any one  tell me that is it better to use corona with OOP… for Game development or App development ??.

 

Is ti better to use OOP for game development or we can do more flexible without implementing OOP using corona…??

 

Does corona or lua supports all the features of oop…??.

 

I am new to lua and corona.

 

Please reply me Asap.

 

Thanks

Corona can be used for both. OOP doesn’t really having an pros over using Lua, they are different approaches to solving the same problem. It’s simply a different method of programming.

As for support, Lua can be used just like OOP is. So if there are any OOP “features” you’re wanting, it can probably be made to work the same. Lua is extremely flexible.

Hello

 

can any one  tell me that is it better to use corona with OOP… for Game development or App development ??.

 

Is ti better to use OOP for game development or we can do more flexible without implementing OOP using corona…??

 

Does corona or lua supports all the features of oop…??.

 

I am new to lua and corona.

 

Please reply me Asap.

 

Thanks

While lua doesn’t have any classes or objects by default there is a way to bring OOP to it using metatables. 

Here is a tutorial that tells you how to create and use classes in lua. I am using this aproach for my game and it’s really helping me organize everything.

http://lua-users.org/wiki/SimpleLuaClasses

Thanks abtekk,euphetar for fast Reply.

I am planing to create games and app with oop approach and new to corona.

Really no idea whether simple coding would be good or with oop.

But anyway  I am going to implement OOP approach coding in corona. 

:rolleyes:   :smiley:

Corona can be used for both. OOP doesn’t really having an pros over using Lua, they are different approaches to solving the same problem. It’s simply a different method of programming.

As for support, Lua can be used just like OOP is. So if there are any OOP “features” you’re wanting, it can probably be made to work the same. Lua is extremely flexible.

Hello

 

can any one  tell me that is it better to use corona with OOP… for Game development or App development ??.

 

Is ti better to use OOP for game development or we can do more flexible without implementing OOP using corona…??

 

Does corona or lua supports all the features of oop…??.

 

I am new to lua and corona.

 

Please reply me Asap.

 

Thanks

While lua doesn’t have any classes or objects by default there is a way to bring OOP to it using metatables. 

Here is a tutorial that tells you how to create and use classes in lua. I am using this aproach for my game and it’s really helping me organize everything.

http://lua-users.org/wiki/SimpleLuaClasses

Thanks abtekk,euphetar for fast Reply.

I am planing to create games and app with oop approach and new to corona.

Really no idea whether simple coding would be good or with oop.

But anyway  I am going to implement OOP approach coding in corona. 

:rolleyes:   :smiley: