Hello Again!
im running into a wall but i believe its something very simple.
i have a variable fallRate
fallRate = 100
i want to increase this fallrate by say 10 for every three points scored
i can do this by of course writing out tons of functions similar to this
local function increaseFallRate() if (score == 3) then fallRate = fallRate + 2000 end
but im sure there is a much easier way to do this rather than writing out 30 functions.
i tried
local function increaseFallRate() if (score = score + 3) then fallRate = fallRate + 2000 end
but this produced no results at all
i set the fallRate to 2000 just so there is a dramatic change and i could see it immediately within the simulator.
fallRate if the variable i use to set the linear Velocity of spawned objects.
thanks in advance