-
-
Notifications
You must be signed in to change notification settings - Fork 18
draw_arrow
drewmccluskey edited this page Jan 23, 2019
·
2 revisions
Draw arrow with specified options
draw_arrow(p1, p2, size)
Argument | Description |
---|---|
Vector2 p1 |
First position |
Vector2 p2 |
Second position |
int size |
size of arrow |
Returns: void
This function will draw basic arrow to the game.
draw_arrow(Position, new Vector2(Position.X,Position.Y+200), 20);
Above code will draw arrow with a downward direction with a 200px length and size of 20px.
Back to Shapes