the cube is rotating. for some reason, the cube is semi-transparent when it is on one side. when it rotates to the other side, it covers the sprite so you cant see it. the sprite should be on top of the cube(closer to the camera).
it works fine when I do createsprite, but not with load sprite. what do I do? I tried setting the flags parameter, but the docs dont explain nearly enough.
This is why I dont like programming in 3D.
you dont have control of what is on the screen, and all these unexpected things happen
it works fine when I do createsprite, but not with load sprite. what do I do? I tried setting the flags parameter, but the docs dont explain nearly enough.
This is why I dont like programming in 3D.
you dont have control of what is on the screen, and all these unexpected things happen
Graphics3D 800,600,0,2 SetBuffer BackBuffer() light=CreateLight() camera=CreateCamera() TurnEntity camera,90,0,0 PositionEntity camera,0,20,0 s=LoadSprite("ship.bmp") SpriteViewMode s,2 TurnEntity s,90,0,0 PositionEntity s,1,15,0 EntityAlpha s,1 cube=CreateCube() ScaleEntity cube,20,1,10 PositionEntity cube,0,-50,0 EntityAlpha cube,1 Repeat If KeyHit(1) Then End TurnEntity cube,1,0,0 RenderWorld Flip Forever