プレイ日記
*J.P.* DEV NEWPICY3
i have tried all night to fix my thingy and am getting fed up again. so PLEASE HELP ME. again, here is what i want. i want to have an array that sets 50 different x/y locations (like x=rnd(800)) then saves those onto a dat file, then loads it and uses it as locations for the sprites cause if you just put in RND in the loop they will keep changing places. also i can use CHKFILE to see if its
4そうだね
プレイ済み
返信[1]
親投稿
*J.P.* DEV NEWPICY3
already created, if it is then load the file (saved file). but when i tried this it just would not work!!! all the x/y were in one place as one location, so instead of saving 50 different ones it saved one random one. please i have been trying for hours to do this so dont ignore this please.
0そうだね
プレイ済み
返信[2]
親投稿
Aaron Krondelo
Pretty certain I can solve this for you. I will have to create a test program to make sure it works.
0そうだね
プレイ済み
返信[3]
親投稿
Aaron Krondelo
So, 50 different locations for the sprites? Doesn't seem like that many will fit in one screen, but that doesn't matter.
0そうだね
プレイ済み
返信[4]
親投稿
Aaron Krondelo
Yup, here you go bro. You need to make sure you are iterating through the array so the previous locations don't get overwritten.
0そうだね
プレイ済み
返信[5]
親投稿
Aaron Krondelo
This is what that code produced.
0そうだね
プレイ済み