Repeatable Random Number
-
@faz808 Can you do me a favour please? Download Tanks (QXK7LRCQ9D) and see if this causes the problem.
-
Tanks loaded and run. No problems. Maybe it was my code. I had about 4700 star points plotted. Together with planet images. Maybe I was pushing my luck with memory requirements. And random planet names. I don't know. Just thinking out loud here. All seems ok now. I am going to rethink my Elite clone. Approach it from a diffent angle. Thanks
-
I deleted my 3d stars code in my eagerness to clear out downloaded code. Luckely under:-
Beginners / Array Problems - 17 days ago, I retreived it.
But ... I didn't notice the error ....
23 star0[i] = (random(50))-25
24 star1[i] = (random(50))-25
25 star2[i] = zdepthshould of course be:-
23 star0[pp] = (random(50))-25
24 star1[pp] = (random(50))-25
25 star2[pp] = zdepthHappy coding, John