Added sprite shape functions
This commit is contained in:
@@ -52,3 +52,12 @@ function GetWorld2DAutoClearForces()
|
||||
function CastRay2D( from_x, from_y, to_x, to_y )
|
||||
function CastRay2D_All( from_x, from_y, to_x, to_y )
|
||||
sub GetRayHit2D( index, ByRef spr_id, ByRef x, ByRef y, ByRef normal_x, ByRef normal_y )
|
||||
Sub SetSpriteCollisionShape(spr_id, shape)
|
||||
Function GetSpriteCollisionShape(spr_id)
|
||||
Sub SetSpriteRadius(spr_id, radius)
|
||||
Function GetSpriteRadius(spr_id)
|
||||
Sub SetSpriteBox(spr_id, w, h)
|
||||
Sub GetSpriteBoxSize(spr_id, ByRef w, ByRef h)
|
||||
Sub SetSpriteChain(spr_id, ByRef vx, ByRef vy, v_count, prev_x, prev_y, next_x, next_y)
|
||||
Sub SetSpriteChainLoop(spr_id, ByRef vx, ByRef vy, v_count)
|
||||
Sub SetSpritePolygon(spr_id, ByRef vx, ByRef vy, v_count)
|
||||
|
||||
Reference in New Issue
Block a user