setinterval in arrays

Don't know how to make something and can't find a tutorial? Ask for one here.

setinterval in arrays

Postby qwertykey » Wed Nov 05, 2014 2:22 am

hi iam anew learner of programming
I want somebody help me to bbuild script with setinterval and arrays because I can't figure out at all
my plan is make a simple game such as bounce game, here is the concept
when user hits button A 1 time, 1 red pacman will be shown after 2 seconds, if he hits twice 2 pacmans willbe shown one by one., if he hits button B one time ,1 green pacman will be shown after 4 seconds, and so on, minimum of the total of pacmans depends on level he can play through
so he must hits button A, button B and button Ready! after that he must kill them all.

I want to ask about script which creates pacman , in my mind it can be made by setinterval after red and green pacman were listed
if this tut doesn't use script or just uses editor I will be more glad.
example:
5 red and 3 green in lvl 1 , after button READY is hitted pacman is out one by one

thanks for advance
and sorry for my english
qwertykey
 
Posts: 1
Joined: Mon Oct 27, 2014 10:39 pm
Score: 0 Give a positive score

Return to Tutorial Requests

Who is online

Users browsing this forum: No registered users and 1 guest