Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- simon= array( "");// here are the colors in the next function
- function color()
- {
- level.color_random= randomint(4);
- if( color_random == 0)// red
- {
- level thread red();
- here I do not know what to put //here add red in the array "simon"
- }
- if( color_random == 1)// green
- {
- level thread green();
- here I do not know what to put //here add green in the array "simon"
- }
- if( color_random == 2)// yellow
- {
- level thread yellow();
- here I do not know what to put //here add yellow in the array "simon"
- }
- if( color_random == 3)// blue
- {
- level thread blue();
- here I do not know what to put //here add blue in the array "simon"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement