Who has a "most updated and TESTED" version of Director 1.2?

I’m currently in the (fairly complicated) stage of updating my old Director 1.1 to 1.2. The more I do so, and the more I read through the forums, the more confused I get! I see “patches” and long discussions about the recursive “cleanGroups” removal, great solutions by Job Beebe and Frank S. and others (some of which might now be null and void), etc.

So my question is, who has a really solid, tested, and clean version of Director 1.2 running in their apps? If so, are you willing to share it? I want to emphasize again tested… not just “theoretical” code or Simulator code, but tested on actual devices: newer iOS devices, older iOS devices, Android, etc. etc.

My most recent confusion includes:
The suggested patch for a more efficient “cleanGroups” function, posted around late-March. Now it appears that this function is “unnecessary” since the old Corona “recursive group removal” bug was squashed? If so, how should I clean out my groups in Director 1.2, considering this core Corona fix? Reading through Tom’s (Ansca) reply to the thread, does Corona now handle this all internally? Would it now be as simple as calling group:removeSelf() on the current Director scene/group, and Corona clears everything recursively?

I’m sure Ricardo is implementing or planning to implement these key changes in Director 1.3, but I’m just trying to get an advance start on this. If anybody can provide a truly solid and tested version of Director 1.2 (patched or modified or whatever), I’m sure several people here would appreciate it. :slight_smile:

Thanks in advance!

Brent Sorrentino
Ignis Design LLC

[import]uid: 9747 topic_id: 9163 reply_id: 309163[/import]

I’m really interested in the same thing… have the exact same questions. [import]uid: 49372 topic_id: 9163 reply_id: 33940[/import]

Isn’t there a Github repository somewhere? If not, may I suggest setting one up? :slight_smile: [import]uid: 2432 topic_id: 9163 reply_id: 33951[/import]

will there ever be a 1.3 version? If i remember, Ricardo said he havent got many time nowadays…
Maybye someone will retake the project?
What would be awesome, is that director would be included directly in the SDK :slight_smile: [import]uid: 44010 topic_id: 9163 reply_id: 34077[/import]

Dear Ansca Mobile and Jonathon Beebe,

I really appreciate all the helpful resources that Jonathon Beebe has contributed and hope that now that he is on staff with Ansca (http://jonbeebe.net/on-being-an-ansca-staff-member), he can gives us a summary of what was accomplished for Director 1.2a, an update as to the future of the class, and answer some questions such as:

“Will the Director Class features become a part of the Corona SDK?”

Thanks Jonathon for all your help. I hope that you can be instrumental in pulling together all the various blog comments, forum posts, docs, bug lists, etc., into a format that helps all of us (and Ansca Mobile) succeed.

Side Note: Here is a link to a posting the Jon made that is related to this topic:

Proper Group Cleaning in Corona (Script Download)
http://jonbeebe.tumblr.com/post/3760389212/proper-group-cleaning-in-corona-script-download

Sincerely,

Paul Allan Harrington
http://www.pahgroup.com/ [import]uid: 14336 topic_id: 9163 reply_id: 34140[/import]

I also hope that a truly solid and tested version of Director can be established (which is why I started this thread :P). However, it’s clear that Director might be a work in progress for quite some time. As Corona itself develops further, so will Director. I personally don’t think it needs to become “part” of the SDK… there are bigger fish to fry, in my opinion.

The current version (1.2a?) seems to be quite solid. However Jonathan’s new “cleanGroups()” function was causing my app to crash outright… I don’t necessarily blame his function; it’s more likely something else I implemented or failed to implement elsewhere. This function does seem to be working perfectly in other people’s apps.

My vote for the next Director improvement is implementing a cleanGroups() function using the “new” Corona “display.remove(object/group)”. This combines the power of removeSelf() and “~=nil” (see the documentation). More importantly, according to Tom (Ansca) this is recursive in the latest official build! So, using it should prevent the need for Jonathan’s recursive cleaning function while also killing previous memory leaks (knock on wood :slight_smile: ).

I have just implemented this concept in my own modified version of Director, but it’s not fully tested. I would like others to test it, but first I want to see what kind of interest exists in the community. If most people are happy using the current 1.2a, then I’ll just continue developing my version on the side. However if others are curious about my methods and my use of display.remove() I’m willing to type out the basic premise and distribute it for testing. Please chime in with a “+1” if you’re interested.
[import]uid: 9747 topic_id: 9163 reply_id: 34142[/import]

+1 [import]uid: 14336 topic_id: 9163 reply_id: 34145[/import]

Hello everybody,

I could not help you for a while, I had to get away and you can be sure it does not please me at all. I’m working hard to pay my bills, things are getting better now. I read many of the messages you have posted here on the forum, I get notifications by email, but I felt compromised to write a response on this specific topic.

First, let me explain some things. I can’t test Director on every device that has Android or iOS. Just for you to know, here in Brazil the things are too much expensive! For instance, an iPhone costs BRL 1400, this is almost USD 823, imagine if I have to buy more 5 or 6 devices. However, as soon as I could, I’ll try to get a Galaxy Tab or a Droid to build for Android. I wish I could help like sometime ago answering about 20 e-mails a day, but I simply can’t and I have to say THANK YOU for all that help and improve Director 1.2.

Well, let’s talk about what really matter, Director 1.3. Today I’m studing the last release of Corona and the cleanGroup function. I think this will be the only change for this new version. I can’t read all the topics, but if anybody have other requests, please put it here while I have time. If it is possible, I’ll put it as well.

Again, sorry for all and thanks for the help.

Ricardo [import]uid: 8556 topic_id: 9163 reply_id: 34167[/import]

Hi Ricardo,

Nice to have you back. Have you ever considered setting up a PayPal account for those of us who appreciate the efforts you have made to the Corona community and would like to contribute?

Just a thought, but I know I have gone to your site several times hoping to find a PayPal “Donate” link.

Thanks again for your time and efforts.

Sincerely,

Paul Allan Harrington
http://www.pahgroup.com [import]uid: 14336 topic_id: 9163 reply_id: 34172[/import]

Hi Paul,

I really don’t have a “Donate” button, I didn’t made Director thinking on money and it will not change, but thanks for your intention.

I’m changing the cleanGroups function right now to add some features that I found on CoronaUI. I hope that Ansca will understand that it’s just to get it better. I’m also thinking in a way to put a function callPopUp to show a screen without cleaning the currView.

Ricardo [import]uid: 8556 topic_id: 9163 reply_id: 34175[/import]

@ricardo

Just want to give you a big thanks for your director class. I just started learning Corona a few weeks ago and it’s REALLY helped me jump into the whole process.

My suggestion for director: The ability to recall the current scene.

I’m looking forward to new releases if you have any time!
Awinograd [import]uid: 49205 topic_id: 9163 reply_id: 34178[/import]

Hi Awinograd,

Thanks a lot, Corona is really cool and you will like it a lot!

Recall the current scene is not easy just because there are several ways to code your apps and depending on how the developer did it, Director would crash when try to unload the package.

Ricardo [import]uid: 8556 topic_id: 9163 reply_id: 34188[/import]

That’s too bad, but thanks for your response!

Awinograd [import]uid: 49205 topic_id: 9163 reply_id: 34193[/import]

Guys,

I need beta testers for the Director 1.3 on the link below:

https://bitbucket.org/ricardorauber/corona/downloads/director_by_ricardo_rauber_1_3.zip

Please send me some feedback.

Ricardo [import]uid: 8556 topic_id: 9163 reply_id: 34200[/import]

Thanks Ricardo, I should be able to test in the next 24 hours. -Paul [import]uid: 14336 topic_id: 9163 reply_id: 34208[/import]

Testing it now on Android :slight_smile: [import]uid: 9577 topic_id: 9163 reply_id: 34237[/import]

Testing now in the Corona Simulator (MAC) Version 2011.484 (2011.4.12). If all goes well, I should be able to build and test on iPhone 3GS, iPod Touch 4, and iPad2 (various iOS versions)

I’ll keep you posted.

Best wishes,

Paul Allan Harrington
http://www.pahgroup.com [import]uid: 14336 topic_id: 9163 reply_id: 34278[/import]

Update:

Testing Director 1.3 (thanks Ricardo) in the Corona Simulator (MAC) Version 2011.484 (2011.4.12). went well. No issues to report.

I’ll post again after testing on iPhone 3GS, iPod Touch 4, and iPad2 (various iOS versions)

Best wishes,

Paul Allan Harrington
http://www.pahgroup.com [import]uid: 14336 topic_id: 9163 reply_id: 34320[/import]

Just tested it and built it to my HTC incredible android phone. seems to work just fine. Could i ask what benefits are suppose to be apparent in Director Class 1.3? i have been using 1.2 for a long while and its worked great. Why should i start using 1.3? thanks for your hard work ricardo [import]uid: 19620 topic_id: 9163 reply_id: 34322[/import]

Hi rxmarccall,

Thanks for the feedback! The cleanGroups function was changed, it was not ok on v1.2. Also, I created the PopUp to call a scene without cleaning the old one. For instance, you can call a popup with options or pause menu and go back to the same point you were before calling the popup! [import]uid: 8556 topic_id: 9163 reply_id: 34324[/import]