Skip to content

Beta Version 3

Pre-release
Pre-release
Compare
Choose a tag to compare
@Mtax-Development Mtax-Development released this 05 Aug 17:55
· 296 commits to master since this release

The 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 version 2.3.3.570 allowing the declaration of default values for optional arguments, applied when the argument is either not specified or specified as undefined: Named optional arguments that had a constant default value are now declared upon the declaration of its respective named argument in the function 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 of draw_line(), draw_point() and draw_rectangle() functions. The way of usage remains unchanged.
| Line: Added Color4 constructor support for the color 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.