ok, here is what we mean by -complete code that illustrates the problem-
if you move the
Graphics3D 800,600
to the top (above the createxxx commands) it works. you need to create a 3D context before doing any loading of textures/sprites/meshes
SuperStrict Import sidesign.MiniB3D Local foo:TTexture = CreateTexture(19,19) Local sprite:Tsprite = CreateSprite() EntityTexture sprite,foo Local cam:Tcamera = CreateCamera() ; MoveEntity cam,0,0,-10 Graphics3D 800,600 Repeat RenderWorld ; Flip Until KeyDown(KEY_ESCAPE)
if you move the
Graphics3D 800,600
to the top (above the createxxx commands) it works. you need to create a 3D context before doing any loading of textures/sprites/meshes