Do you know how to make a function that show an object at certain time? For example, I would like an arrow to show at the 59 second and disappear at 1:10. Thank you.
@YiFongCheng I know some actionscript and I think I could do that. Though I thought showing you this little tutorial would be more convineant, newgrounds . com/portal/view/423637
isnt there any book or site that will have the detail like Zodifreak`s Question? m also stuck in many things like that i.e myTimer = NewTimer likewise.
i was wondering about 1 thing though. When you were assigning the myTimer (at 3.00 minutes), what does the "TimerEvent.TImer" mean? - Like what is its function
Well, the first part is the event listener, it waits for something to happen then it runs the function doThis. In this case its a TimerEvent, it could be a MouseEvent or KeyboardEvent and wait for those kinds of things to happen. The next part TIMER is what it is waiting for, in this case TIMER means every time our timer clicks once its started, it is set to 2000 miliseconds in this example. If it was Mouse.CLICK it would be waiting for a mouseclick to happen.
Hello,
Do you know how to make a function that show an object at certain time? For example, I would like an arrow to show at the 59 second and disappear at 1:10. Thank you.
YiFongCheng 11 months ago
@YiFongCheng I know some actionscript and I think I could do that. Though I thought showing you this little tutorial would be more convineant, newgrounds . com/portal/view/423637
TheGameStrike 9 months ago
isnt there any book or site that will have the detail like Zodifreak`s Question? m also stuck in many things like that i.e myTimer = NewTimer likewise.
ionezation 2 years ago
hey great video,
i was wondering about 1 thing though. When you were assigning the myTimer (at 3.00 minutes), what does the "TimerEvent.TImer" mean? - Like what is its function
thanks
zoidfreak 2 years ago
Thanks!
Well, the first part is the event listener, it waits for something to happen then it runs the function doThis. In this case its a TimerEvent, it could be a MouseEvent or KeyboardEvent and wait for those kinds of things to happen. The next part TIMER is what it is waiting for, in this case TIMER means every time our timer clicks once its started, it is set to 2000 miliseconds in this example. If it was Mouse.CLICK it would be waiting for a mouseclick to happen.
Hope that helps =)
CerebralFusioncom 2 years ago