Hi there… i just wanna share about my script.
concept idea is racing. fake racing game. because i just playing tweening on background.
but i had trouble on button control. the bar meter in top not playing back to the first frame.
and heres is the code.
on(release) {
bar.nextFrame();
}
on(releaseOutside) {
prev.gotoAndPlay(2)
}
*at prev instances, it just looping frame.
frame 1 / stop
frame 2 / prevFrame();
frame 3 / gotoAndPlay(2); / it makes playback animation. my version
is there anything wrong?
i know i cant making a game. this is just tease to opening the page. :)…
almost forgot. here the preview :
http://zhimetcardozo.com/portfolio/prototype/flash/cargame01/car2.swf
dont laugh. :D… it just prototype. thanks my friend
*sorry for my english
Note :
Bar control is a button & UP Arrow key