View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002474 | Infinitode 2 | [All Projects] Infinitode 2 | public | 2024-07-21 20:41 | 2024-07-22 01:59 |
Reporter | Goles | Assigned To | therainycat | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | not fixable | ||
Platform | Desktop | OS | Windows | OS Version | Any |
Product Version | 1.9.0 (Season 3) | ||||
Target Version | Fixed in Version | ||||
Summary | 0002474: [b204] Quad broken display on certain rotation & size | ||||
Description | Bug found not by me, Elfox asked to report this. If you draw quad by certain rotation and size it will be broken, example shown in the script below. | ||||
Steps To Reproduce | Run this script:
| ||||
Additional Information | Bug found not by me, Elfox asked to report this. | ||||
Tags | No tags attached. | ||||
The problem is related to LuaVM. Now the whole picture: I'm not going to fix this, because this would only make the method guessing algorithm more demanding in terms of performance. Speaking of which, the performance is already awful when the VM has to predict such methods all the time.
This will specify the exact method we want to call and it will be stored in a variable (serializable). It can be used like this:
This should result in a much better performance and it should always call the method we need. Overloads also work for constructors, but they are easier to work with (if you have Lua definitions generated). Quad has multiple constructors, and we avoid the quess work by specifying the exact constructor we need (for example, "new_ATR" for (AtlasTextureRegion) or "new_Q_b" for (Quad, boolean)). This issue will be addressed later, because I have no time for that now. I see 2 possible solutions:
|
|
Take a look at |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-07-21 20:41 | Goles | New Issue | |
2024-07-22 01:56 | therainycat | Note Added: 0002556 | |
2024-07-22 01:57 | therainycat | Assigned To | => therainycat |
2024-07-22 01:57 | therainycat | Status | new => closed |
2024-07-22 01:57 | therainycat | Resolution | open => not fixable |
2024-07-22 01:59 | therainycat | Note Added: 0002557 |