|
-
DOT-INVADER
yes, it works also, with some additional codes...
> each time i press left or right (in order to choose the stage i want to play) i have a var increamenting/decresing (s_selection[my var]), so if there's a "blank" value (i mean undefined or "" like you said) in the array, the correct picture of the stage will not be displayed; that's why i want the array to only have complete values.
of course i said your idea will work "with some additional codes", so i can develop a little bit more your idea, and when we encounter a undefined or "" in the array, it looks the next/previous element.
thanks anyway
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|