Beta Version 3
Pre-releaseThe changes in this version focus on several constructors that render graphics, replacing the built-in rendering functionality with a more reliable alternative, as well as providing additions and fixes. Updates following feature additions to GML are also present.
Changes from Beta Version 2:
Changes to the existing content:
| Changes following the addition to GameMaker Language in the version2.3.3.570
allowing the declaration of default values for optional arguments, applied when the argument is either not specified or specified asundefined
: Named optional arguments that had a constant default value are now declared upon the declaration of its respective named argument in thefunction
statement. Their functionality should not change due to that.
|Line.render()
/Point.render()
/Rectangle.render()
: Changed the method of drawing from form drawing to sprite drawing. A sprite of a single pixel is generated from a temporary surface and assigned to a static variable the first time the method is called during the runtime for each constructor type. That sprite is then appropriately stretched and altered to render the shape. This should provide consistent visual results across all devices, which should be otherwise unchanged aside from removing visual glitches that would appear through the use ofdraw_line()
,draw_point()
anddraw_rectangle()
functions. The way of usage remains unchanged.
|Line
: AddedColor4
constructor support for thecolor
property.Additions:
+TextDraw.getBoundaryOffset()
method.Fixes:
-Layer.TilemapElement.setTileAtPoint()
: Reversed the order of the arguments, as an optional argument was listed before a required one.
- General minor code and documentation fixes.Instructions for conversion from the previous version:
•Layer.TilemapElement.setTileAtPoint()
: Adjust the code referring to the method to use the new argument order.