Search found 31 matches

by Rastashmup
Mon Jun 26, 2017 5:52 pm
Forum: Support and Development
Topic: Problem with hump.gamestate and accessing deltatime dt on update
Replies: 1
Views: 1904

Problem with hump.gamestate and accessing deltatime dt on update

Hi, I was trying to restructure some of my code using hump.gamestate, then ran into an error doing a calculation with dt. Apparently it does not access dt as value but as table, the error message is "luas/state_gam.lua:12 attempt to perform arithmetic on local 'dt' (a table value)" I reduc...