Beta Version 2
Pre-releaseThe changes in this version focus on constructors that perform calculations, introducing several methods assisting in them, as well as a few quality of life changes. It also introduces the SpriteDraw
constructor for storing the information used in Sprite
rendering.
Changes from Beta Version 1:
Changes to the existing content:
| Changed the name of theRangedValue.add()
method toRangedValue.modify()
.
| Changed the name of theRangedValue.addWrap()
method toRangedValue.modifyWrap()
.
|Range.toString()
/RangedValue.toString()
: Added spaces between the in-line separator of theRange
values to improve the readability of negative numbers.
|Surface.setSize()
: Added a validation for the target size values.Additions:
+SpriteDraw
constructor.
+Angle.set()
method.
+Range.percent()
method.
+RangedValue.percent()
method.
+RangedValue.modifyBounce()
method.
+Scale.getMinimum()
,Scale.getMaximum()
methods.
+Scale.approach()
method.
+Scale.set()
method.
+Vector2.getMinimum()
,Vector2.getMaximum()
methods.
+Vector2.approach()
method.
+Vector2.set()
method.
+Vector4.getMinimum()
,Vector4.getMaximum()
methods.
+Vector4.approach()
method.Fixes:
- General minor code and documentation fixes.Instructions for conversion from the previous version:
•RangedValue
: Adjust the code referring to theadd()
method to refer to its new name,modify()
.
•RangedValue
: Adjust the code referring to theaddWrap()
method to refer to its new name,modifyWrap()
.
•Range
/RangedValue
: Adjust the code that relied on parsing the result of thetoString()
method call andstring()
conversion to incorporate the new format.