Björn Ritzl

Results 578 comments of Björn Ritzl
trafficstars

You should get a drag start event I think. And it should contain a starting position.

Isn't the x & y values the starting position?

Ah, true, it is not the same as the initial pressed position, but rather the position when the drag started (ie when moving the cursor above the drag threshold).

Added: https://github.com/defold/defold.github.io/commit/f1b2543278b5706c9369dfb71fd8dae8eb8620a8

> after scrolling and move moving => the mouse keeps its screen position while the cursor follow the camera movement Yes, this happens since the cursor is based on the...

The translations are community initiatives and we have no control over what and how much of the documentation that is translated. We obviously prefer full and up-to-date translations of all...

Strange, I would have thought that CA2W which is used in DefOS would work out of the box: https://github.com/subsoap/defos/blob/master/defos/src/defos_win.cpp#L251 What you can try is like you suggested and instead use...

Note that there is this NE for Defold (Windows+macOS): https://github.com/andsve/def-mnu

> The idea is that a user could create their template, open it as a text and copy it and use it as the return string. Another idea (not sure...

True. What about a combination? If M.gui_template is a function it will be called and the returned value will be used as the content of the created .gui file. If...