Need Help Sprite and Image Size not the same

Blitz3D Forums/Blitz3D Beginners Area/Need Help Sprite and Image Size not the same

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.

How can i acces that the "Sprite" has the same size as the "Image" in 3 D.

It makes me crazy have tried "resize" and cant handle it. Pls help

thx



Graphics3D 800,600,16

cam = CreateCamera()
CameraRange cam,1,1000

MoveEntity cam,0,0,-10

sp = CreateSprite()
tex = CreateTexture(56,84)
SetBuffer TextureBuffer( tex )

; Clear texture buffer with background white color
ClsColor 255,255,255
Cls
EntityTexture sp,tex
SetBuffer BackBuffer()


;



Img=CreateImage(56,84)
SetBuffer ImageBuffer(img)
ClsColor 255,255,255
Cls
SetBuffer BackBuffer()

While KeyHit(1)<>True

If KeyDown( 205 )=True Then TurnEntity cam,0,-1,0
If KeyDown( 203 )=True Then TurnEntity cam,0,1,0
If KeyDown( 208 )=True Then MoveEntity cam,0,0,-0.1
If KeyDown( 200 )=True Then MoveEntity cam,0,0,0.1


UpdateWorld
WireFrame 0
RenderWorld
DrawImage img,MouseX(),MouseY() ; Draw the image!
Flip

Wend

End