Hey guys.
OK brand new and jumped in the deep end.
I started a new project and in the main.la file I wanted to have a splash screen video play. I also wanted to have the back ground the same colour as the video.
I assumed I had to put the local background image first and assumed the video would would play onto of that?
No, I messed around and moved things left right and centre. What I get is my video play with a black background at completion the screen changed to the title page.
While that is good. I don’t understand (and really need to understand) how the screen showed the titler screen after the video was complete. You will see in my code here the entire thing is on the main.lua file. From what I have read and looked up some of this needs to be on a 2nd TAB but I am not understanding what part or how to move to another screen/scene after the video completes.
Hope someone can point me in the right direction. (sorry this was so log winded)
[lua]-- SPlash screen of logo
media.playVideo(“1.mp4”,false)
– sets title screen to background image
local iImage = display.newImage( “background.png”)
– sets image on title page
local balls = display.newImage( “6balls.png” ,157,75)
– game titl5 and developer information
LabelRe = display.newText (“A Red Engine Project”, 155,360, native.sys,019)
LabelRe:setTextColor(282,0,0)
LabelGT = display.newText (“6 in sixty”, 156,160, native.sys,069)
LabelGT:setTextColor(0,255,0)
LabelGT = display.newText (“6 in sixty”, 160,155, native.sys,069)
LabelGT:setTextColor(245,245,245)
[/lua]