|
|
|||||
Topic, Game "Path 4 Mouse (old)" | ||||||
| ||||||
You must register or log in to post a message.function stringToArray(x) { var x2=x.split("| ") var x3=x2.split("|") for (var n=0; n<x3.length; n++) { x3[n]=x3[n].split(",") } return x3 } Looking for "| " and "|" is solving that ;) But you can use that as an example, try using "| " to set x2 and split x2 with "|" to make x3 then use that for the rest of it... I might not have known if I wasn't a tester in Draw. I just copied what THeNiNJa did for his game. Wait, can we already use enters? New string to array: function stringToArray(x) =x2[n].split(",") } return x2 } str=x [edit] Commented on it... Btw, I just uploaded a music video to YouTube! Check it out! [edit] Those are good ideas! [edit] Sell fish and buy bonuses like more rare fish! There is also this whole thing about rarity. Rarer fishes are less likely to appear, and will pull down more, and are less likely to bite. |
[edit] Gecko he asked me too, that's my evidence!