Using a 2Dsprite lib with a ViewPort???

Blitz3D Forums/Blitz3D Programming/Using a 2Dsprite lib with a ViewPort???

FBEpyon(Posted 2004) [#1]
Is there a way to make a viewport like they have for 2D but for a 2DSprite lib??? I did the cameraviewport, but that just scales the images all funky.. if someone could suggest something I would be greatful thanks


big10p(Posted 2004) [#2]
You'll probably have to set CameraZoom or scale your cameras relative to their viewport size. I don't know the formula to use off the top of my head but experiment a bit - it'll probably be quite a simply formula. Only concern yourself with the viewports' width - ignore the height as this doesn't affect the scale of the sprites, anyway.