Expect retrieved value to be the same as assigned value #235
Labels
No Label
RGSS accuracy
bug
compilation
discussion
documentation
duplicate
enhancement
invalid
performance issue
port request
question
ruby incompatibility
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MapleShrine/mkxp#235
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Example:
In original RPG Maker XP engine, it prints 0.9
But it prints 0.8999999761581421 in mkxp (OSX binary)
mkxp uses the single-precision floating-point format for this and similar attributes while RGSS uses double-precision.
However even if it would be changed to double-precision you would still be able to find differences in very few cases. 1.8.1 is ancient and the code to convert between floating-point numbers and strings contained some bugs.
Maybe a wrapper class is one possible solution?
Sprite
class implemented by mkxp asMkxpSprite
Sprite
class that inherits fromMkxpSprite
zoom_x
andzoom_x=
method.It will be nice if mkxp can implement it. Make mkxp behave more consistent with original engine.
The following is a surprising behavior I found in current implementation:
I am curious what exact in-game issues this inaccuracy is causing.