S
spoonsinbunnies
Guest
Hey all, been spending 3 days developing a neat algorithm for the lols to play a top down shooter, the problem Ive found though is unless I just add a bunch of garbled new code, even after throwing in randomize in create, game start, and even in desperation right before the array of random weights is made it doesn't seem to change the weights of my generated lists. At first I was just thinking it was the editor but making it as a executeable has yielded the same results. Is this something to do with me using Irandom_range? Did they mess it up in game maker studios one and im missing it now because im so far behind? since I don't want people grasping at straws on what I mean code incoming. Ive been using gamemaker for coding random gibberish for close to ten years, and maybe I just fried my brain from overcoding but seriously, I don't get it. ive
create:
game start
EDIT: Whelp apparently whatever old version of game maker I have is glitched, putting randomize in level start works although game start does not? At any rate leaving this for any other poor soul like 15 updates behind as well...
create:
Code:
randomize();
image_speed=0;
for (var a=0; a<31 a++;)//connection strengths for nureal network
{
b=irandom_range(-100,100)/100
i[a]=b
}
Code:
randomize();
Last edited by a moderator: