Hi everybody,
I'm am trying to develop a simple soundboard app.
In my app splash screen i created a animated character sprite and a simple start button sprite.
My problem is, i don't know how to slow down the speed of the start button to appear on stage.
I want to set it visible after my animated character sprite appears on stage.For example 2-3 second later.
But my button sprite appearing on the stage first.
Which function code controls this.
My button code is the following."Baslat" is my button name.
local up = Bitmap.new(Texture.new("up.png"))
local down = Bitmap.new(Texture.new("down.png"))
local Baslat = Button.new(up, down)
Baslat:setPosition(100, 450)
stage:addChild(Baslat)
Help please.
Comments
http://docs.giderosmobile.com/reference/gideros/Timer/delayedCall
Mertocan, i tried your code but it didn't worked. is the following code correct?my character sprite name is "bb8".I couldn't find the error
So my questions can be very simple.
I think you are trying to do it on stage. Therefore, your self is nil.
Try this one. It should work.
is better implementation.