I’ve developed a fairly comprehensive game in Director. I’m looking at Corona. What I wonder is how do I handle large projects with a lot of code and multiple screens? It looks like the code is contained in just one huge text file. This could get extremely cumbersome. [import]uid: 151957 topic_id: 26795 reply_id: 326795[/import]
Hey,
If you are using Director then you can split the code up into as many text (Lua) files as you wish - that’s the key benefit of using Director.
Peach
[import]uid: 52491 topic_id: 26795 reply_id: 108805[/import]
Hi prothero
If you are talking about that Director then I think that it’s the best for you to start with this:
http://blog.anscamobile.com/2011/08/tutorial-simple-modular-coding-technique/
http://lua-users.org/wiki/ModuleDefinition
http://blog.anscamobile.com/2011/09/tutorial-modular-classes-in-corona/
http://developer.anscamobile.com/reference/index/require
For multiple scenes:
http://developer.anscamobile.com/content/storyboard [import]uid: 101952 topic_id: 26795 reply_id: 108809[/import]
I am evaluating corona for my project. One comment I got from one of the folks on mt Director email list is that corona does not implement many of the iOS ui features, so it’s only good for games. I wonder if this is true, as corona seems to be evolving, and perhaps the situation has changed.
So, I ask… How much of the native iOS ui interface does corona implement? [import]uid: 151957 topic_id: 26795 reply_id: 108833[/import]
Thanks, srdjan this is very helpful. [import]uid: 151957 topic_id: 26795 reply_id: 108835[/import]
@prothero, for UI elements, you may want to look into widget:
http://blog.anscamobile.com/2012/05/adding-buttons-to-your-games-and-apps/
http://developer.anscamobile.com/content/widget
Naomi [import]uid: 67217 topic_id: 26795 reply_id: 108883[/import]
Thanks for the links. It looks like the widgets stuff will do what I want re native ui capability. I hope,that development on this code continues and that apps creation for osx and win systems are eventually supported.
What really convinced me, finally, was the reviewer who said corona was more fun to develop with. After spending two days with CSS and hours to figure out how to set a font style in Drupal, I really know what he was talking about. Progress, thus gratification, can be glacially slow when learning these technologies. Corona looks to be much quicker to implement the behavior that is wanted.
One thing that’s hard is for someone who know a particular technology , to determine if another technology will fill the needs. The corona starting tutorials are very helpful, but tell little about where the developer will run up against lImitations. I was looking for overviews of how large projects might be organized, corona’s limitations, etc, . But, this is a tall order, I realize. Anyway, I’m enthusiastic about getting going with corona and know I’ll be taking advantage of the forums as I wend my way through the docs to do my project. [import]uid: 151957 topic_id: 26795 reply_id: 108986[/import]