Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Need Your help!
Started by jekadveri Jan 19 2019 04:26 AM

3 replies to this topic
scene parameters brightness contrast image
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jekadveri

[GLOBAL: userInfoPane.html]
jekadveri
  • Observer

  • 5 posts
  • Corona SDK

Help me please!
1. How to transfer parameters between scenes? For example, how many and what objects are created in the first scene.
2. Is it possible to - how to change the brightness of the image? Contrast?


[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 762 posts
  • Corona SDK

1) There are several ways of doing that, such as by using globals, modules or saving to external file, or you can just pass parameters to another scene by including them in the options table in composer.gotoScene. You can read about that in the documentation: https://docs.coronalabs.com/api/library/composer/gotoScene.html

2) Have a look at filter.brightness and filter.contrast at https://docs.coronalabs.com/guide/graphics/effects.html

3) Welcome to the forums, but try to google first as your questions yield immediate results on the forums and in the documentation. :D

 


  • jekadveri likes this

[TOPIC: post.html]
#3

jekadveri

[GLOBAL: userInfoPane.html]
jekadveri
  • Observer

  • 5 posts
  • Corona SDK

Thanks, filters i found before you answered)But can`t find about parameters...



[TOPIC: post.html]
#4

nick_sherman

[GLOBAL: userInfoPane.html]
nick_sherman
  • Corona Geek

  • 1,803 posts
  • Corona SDK

Look for the work params on the documentation....


  • jekadveri likes this


[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: scene, parameters, brightness, contrast, image