Björn Ritzl

Results 588 comments of Björn Ritzl
trafficstars

> Just wanted to make sure if my explanation was clear? Or is there some good reason in restricting of `os.execute`? Perfectly clear! We're discussing this request. My opinion is...

> Use case: pivots for particles. This feature request is for sprites only. Pivot for particles should be a separate request.

More drag-n-drop: https://github.com/defold/defold/issues/7055

Double check that the design (see doc above) will work with the new vertex attributes. How to match sampler with vertex attributes.

> > Double check that the design (see doc above) will work with the new vertex attributes. How to match sampler with vertex attributes. > > Not sure I understand...

Is this really specific to the M1? It seems like clock() produces a different value on macOS compared to Windows and Linux. https://stackoverflow.com/questions/16697005/clock-and-clocks-per-sec-on-osx-10-7 Or could it be that CLOCKS_PER_SEC is...

Running this with Lua 5.4 from a terminal actually yield the correct results: ``` for i=1,100 do print(os.clock()) local t = os.time() while os.time() == t do end end ```...

Or simplifed: ``` for i=1,100 do local c = os.clock() print(c) local t = math.floor(c) while math.floor(os.clock()) == t do end end ```

Hmm, I don't get how the recent change makes a difference? Wasn't what you describe also a problem before? The call to `handle_multi_touch()` (which in turn calls clear_gesture_state) is called...

> So maybe it would be more correct to return result only if `#action.touch == 2` Or if the gesture state is cleared regardless of number of touch points? Like...