Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Best performance with objects in composer
Started by jdsmedeirosbr May 27 2018 06:09 AM

1 reply to this topic

Best Answer Rob Miracle , 27 May 2018 - 09:02 AM

I generally would create it outside of composer if the buttons and text are not changing. If the nav bar has a lot of scene dependency then it might be best to create it in the scene.

 

Rob

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jdsmedeirosbr

[GLOBAL: userInfoPane.html]
jdsmedeirosbr
  • Enthusiast

  • 94 posts
  • Corona SDK

I have 3 scenes, each one has a rect and a text simulating a navigation bar for ios, in case what is the best way to work with this situation? put the navigation bar only in the main and not include it in a sceneGroup so that all scenes have only one instance of the navigation, or put an instance of it in each scene to be able to have total control over the scenes in case remove the scenes in hide to optimize performance?

[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,613 posts
  • Enterprise

  Best Answer

I generally would create it outside of composer if the buttons and text are not changing. If the nav bar has a lot of scene dependency then it might be best to create it in the scene.

 

Rob




[topic_controls]
[/topic_controls]