A
alberted
Guest
In my game I have this line of code at the top of the create event for the enemies in my game:
The code determines the size of the enemy. The maximum size of the enemies is suppose to grow through out the game. If I make the maximum size grow linearly, it works fine, however, it's suppose to grow exponentially. I've tried to program it a million different ways but when I make it grow exponentially, it just doesn't work, and i have no idea why. The code above is my latest try. The maximum size is essentially decided by a variable from another object, which grows exponentially. However, i've tried many completely different methods, and none of them work.
The game always shuts down about 30 seconds to 2 minutes into the game, and the only error message i get is "FAILED: Run Program Complete".
Can anybody help?
GML:
size=random_range(0.5,oplayer.thl*3)
The game always shuts down about 30 seconds to 2 minutes into the game, and the only error message i get is "FAILED: Run Program Complete".
Can anybody help?