Corona Geek #124 - Composer Library Scene Management and Creating Motion Using Transitions

Got a topic or guest suggestion? Share it here.

Want to be on the Hangout  to discuss your app or a specific topic? Let us know and we’ll set something up.

Once the Hangout is published you can discuss the show topics on this thread.

Join Monday’s Hangout

During this week’s Hangout we’ll look at how to use the Composer library and scene template to create and manage scenes in our apps. We’ll discuss the various Composer library events and point out some important concepts to be aware of when working with scenes using the Composer library.

We’ll also look at the transition library to see how we can create “motion” in our apps using images, text, and more. The transition library is a powerful tool in the Corona app developer toolbox. We won’t be able to cover everything in one Hangout, but we’ll touch on the concepts that will let you hit the ground running.

January’s Geek Games – Let’s Play!

In January we’re playing Chip Chain on iOS or Android ( http://chip-chain.com/ )  for the chance to win a $50 gift card. The rules are simple. Match chips in under 2 minutes, then post a photo of your high score on the Corona Geek Facebook wall (https://www.facebook.com/CoronaGeek ) for a chance to win. The winner will be announced on February 2 when we announce the next game to play. Download Chip Chain now and start playing ( http://chip-chain.com/ ). Good luck!

Discuss the Hangouts
http://forums.coronalabs.com/forum/591-corona-geek/

Suggest Hangout Topics
http://forums.coronalabs.com/topic/53368-2015-hangout-topics-and-guest-suggestions/

Ask Questions
http://coronageek.com/questions

Be a Hangout Guest
Email coronageek@coronalabs.com and let us know.

Rate Corona Geek on iTunes:
http://bit.ly/18b9A8r
Your 5 star ratings help us grow the community.

Thanks to Ed, Brian, Greg, Jay, Eric, Laura, and Mo for being on today’s Hangout panel.

https://www.youtube.com/watch?v=-GPjsu_GNeM

Links to the repo code and other resources are in the show notes:

http://coronalabs.com/blog/coronageek/corona-geek-124/

If you have questions about what was discussed today or a question to be discussed on the next Hangout, post them below.

That was a really good one. Some things I did not know and somethings I never really used or thought of that I should go back and investigate like overlays.  Downloading the resources and checking this out further today.

Really looking forward to next week’s continuation.  EVERYONE doing Corona should watch this one.  It was mentioned in this that there was another Corona geek episode that goes over variables and declaring them. (much like the beginning of this episode did) I would really like to find that one.

This is kind of in the advanced scope but…

One thing that I am doing right now, is moving my display.newSprites into a module that I require. I can change the anims and stuff, but alas its scope is outside of the Scenegroup that called it.  So I can successfully animate them once the are put on display. But I must remove them before I transition the screen or of course they stay on the top layer. I am currently looking over my old SpriteLoq code that managed to do this successfully (but alas I didnt write it).

@Lava Level, I’m glad you enjoyed the Hangout. I’m splitting the video into snack size segments so everyone can just to the parts that interest them. I should have that done in the next couple of days. 

As for declaring variables, this might not be what you have in mind, but check out CG#97. Ed talked about “variable localization”, which was an interesting topic.

http://youtu.be/5rfS5r-UB-o

Thanks for this Hangout.  Found information given by Ed really useful.

Could you also discuss managing persistent data between scenes?

Many Thanks

That’s a great idea, @simonmw13. We’ll see what we can do. Do you have any specific use cases in mind?

Hi Charles

I was thinking of looking at scene one having a list view menu which when an item was tapped on it passed an index value to Scene two to retrieve more information on menu item tapped. Also was it better to use params or a global variable or like in http://coronalabs.com/blog/2013/05/28/tutorial-goodbye-globals/ a global space table for index value?

Thanks again

Join Monday’s Hangout

During this week’s Hangout we’ll look at how to use the Composer library and scene template to create and manage scenes in our apps. We’ll discuss the various Composer library events and point out some important concepts to be aware of when working with scenes using the Composer library.

We’ll also look at the transition library to see how we can create “motion” in our apps using images, text, and more. The transition library is a powerful tool in the Corona app developer toolbox. We won’t be able to cover everything in one Hangout, but we’ll touch on the concepts that will let you hit the ground running.

January’s Geek Games – Let’s Play!

In January we’re playing Chip Chain on iOS or Android ( http://chip-chain.com/ )  for the chance to win a $50 gift card. The rules are simple. Match chips in under 2 minutes, then post a photo of your high score on the Corona Geek Facebook wall (https://www.facebook.com/CoronaGeek ) for a chance to win. The winner will be announced on February 2 when we announce the next game to play. Download Chip Chain now and start playing ( http://chip-chain.com/ ). Good luck!

Discuss the Hangouts
http://forums.coronalabs.com/forum/591-corona-geek/

Suggest Hangout Topics
http://forums.coronalabs.com/topic/53368-2015-hangout-topics-and-guest-suggestions/

Ask Questions
http://coronageek.com/questions

Be a Hangout Guest
Email coronageek@coronalabs.com and let us know.

Rate Corona Geek on iTunes:
http://bit.ly/18b9A8r
Your 5 star ratings help us grow the community.

Thanks to Ed, Brian, Greg, Jay, Eric, Laura, and Mo for being on today’s Hangout panel.

https://www.youtube.com/watch?v=-GPjsu_GNeM

Links to the repo code and other resources are in the show notes:

http://coronalabs.com/blog/coronageek/corona-geek-124/

If you have questions about what was discussed today or a question to be discussed on the next Hangout, post them below.

That was a really good one. Some things I did not know and somethings I never really used or thought of that I should go back and investigate like overlays.  Downloading the resources and checking this out further today.

Really looking forward to next week’s continuation.  EVERYONE doing Corona should watch this one.  It was mentioned in this that there was another Corona geek episode that goes over variables and declaring them. (much like the beginning of this episode did) I would really like to find that one.

This is kind of in the advanced scope but…

One thing that I am doing right now, is moving my display.newSprites into a module that I require. I can change the anims and stuff, but alas its scope is outside of the Scenegroup that called it.  So I can successfully animate them once the are put on display. But I must remove them before I transition the screen or of course they stay on the top layer. I am currently looking over my old SpriteLoq code that managed to do this successfully (but alas I didnt write it).

@Lava Level, I’m glad you enjoyed the Hangout. I’m splitting the video into snack size segments so everyone can just to the parts that interest them. I should have that done in the next couple of days. 

As for declaring variables, this might not be what you have in mind, but check out CG#97. Ed talked about “variable localization”, which was an interesting topic.

http://youtu.be/5rfS5r-UB-o

Thanks for this Hangout.  Found information given by Ed really useful.

Could you also discuss managing persistent data between scenes?

Many Thanks

That’s a great idea, @simonmw13. We’ll see what we can do. Do you have any specific use cases in mind?

Hi Charles

I was thinking of looking at scene one having a list view menu which when an item was tapped on it passed an index value to Scene two to retrieve more information on menu item tapped. Also was it better to use params or a global variable or like in http://coronalabs.com/blog/2013/05/28/tutorial-goodbye-globals/ a global space table for index value?

Thanks again