nSprite 1.0.0 Released!

Miscellaneous Forums/Blitz Showcase/nSprite 1.0.0 Released!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

GoSsE - very impressed with the lib.
heres a function that I wrote that could/should be included..
; ----------------------------------------------------------------------

; PAINTS SPECIFIED VERTEX OF SPRITE
; use the below consts for vertexIDs
Const nS_BottomLeft = 0
Const nS_TopLeft = 1
Const nS_TopRight = 2
Const nS_BottomRight = 3

Function nS_PaintVertex(image, vertexID, ir, ig, ib, alpha#)
	sprite.nS_Sprite = Object.nS_Sprite(Image)
	VertexColor GetSurface(sprite\sprImage,1),vertexID,ir,ig,ib,alpha
End Function


to use PaintVertex you need
nS_ImageFX image,3


keep up the good work...