Current development snapshot is a mess
fix numpad behavior - didn't fix anything, numpad is still broken
lots of random fixes to the legacy lua api - probably introduced a bug, sim.set_property doesn't work
Yes, obviously.
Yep, tpt.set_property, just a typo. Index mode doesn't work: tpt.set_property('temp', 999, 1) does nothing to particle with ID 1. It works fine with x, y and w, h.
UPD: huh, I guess tpt.set_property(string property, object value, string type) is also broken.
tpt.set_property('temp', 999, 'CRAY') yeilds: console:1: bad argument #3 to 'set_property' (number expected, got string)
Since I'm here, I might as well make a couple requests ^__^
Being able to access FPS counter would be very nice. Something like: tpt.fps, sim.fps, sim.getFps(), whatever...
Writable tpt.selectedl, tpt.selectedr and tpt.selecteda:
tpt.selectedl = elem.DEFAULT_PT_CRAY -- change LMB element to CRAY
you can set the fps cap, but I forgot how to.
tpt.setfpscap(100500) -- I want to know the actual FPS, not the cap.
> using os.time()
Yeah... tpt.register_step, count frames and reset every second, I already did that. But there is no point! TPT knows the FPS, why should I count it again? That's redundant and wasteful.
> I guess I just sometimes forget that..
> I'll try to add it eventually
Yes, eventually.
> I convinced Simon to update the game to a new release right now.
With broken numpad? Are you kidding me?