Leadwerks Game Engine

Leadwerks Game Engine

Not enough ratings
2d Draw Functions
   
Award
Favorite
Favorited
Unfavorite
Type: Script
File Size
Posted
726.000 B
11 Sep, 2015 @ 1:58pm
1 Change Note ( view )

Subscribe to download
2d Draw Functions

Description
1 Open the desired script.
2 - Make the import script (insert a string at the beginning of the script: import "Scripts / Functions / 2D_Draw.lua" (Example))
3- Profit

functions:

DrawBresenhamLine(Start X, Start Y, End X, End Y)
DrawBresenhamCircle(Start X, Start Y, Radius)
DrawCircle(Start X, Start Y, Radius, Step)
DrawEllipse(Start X, Start Y, Offset X, Offset Y )
DrawArc(Start X, Start Y, Offset X, Offset Y, Starting angle, End angle)
1 Comments
Skulltip 17 Sep, 2015 @ 9:45am 
Love it!