The image use in 2d sprite is different from the 3d cube object one...?
EDIT: the right is a 3d object!
// Project: testimgbug
// Created: 2019-01-07
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "testimgbug" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1024, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
SetCameraPosition (1, -5.0, 0.0, 0.0)
SetCameraRotation (1, 0, 0, 0)
LoadImage (994, "bb4.png")
CreateObjectBox (1, 10.0, 10.0, 10.0)
SetObjectPosition (1, 0.0, 0.0, 30.0)
SetObjectImage (1, 994, 0)
createsprite (1, 994)
SetSpriteSize (1, 480.0, 480.0)
SetSpritePosition (1, 30.0, GetVirtualHeight() / 4.0)
do
Print( ScreenFPS() )
Sync()
loop
Any answer as to why is appreciated!