want to ask something here.
how do i make an intro screen before my program starts? I tried making an image at 800 by 600, then tried loading it as a sprite. Here's the basic code:
Graphics3D 800, 600
cam = CreateCamera()
PositionEntity cam, 0, 0, -5
splash = LoadSprite("splash_screen.jpg")
SpriteViewMode splash, 1
PositionEntity splash, 0, 0, 0
While Not KeyHit(1)
Wend
End
however, i cannot see the sprite anywhere. It just return a black screen.
Another funny thing is, i tried creating a cube at the point 0,0,0 and have a camera positioned a bit back from the cube. When i run the program, i can see the cube clearly. But when i remove the cube and place a sprite at the same 0, 0, 0 position, i couldn't see the sprite!
thanks!
terry
how do i make an intro screen before my program starts? I tried making an image at 800 by 600, then tried loading it as a sprite. Here's the basic code:
Graphics3D 800, 600
cam = CreateCamera()
PositionEntity cam, 0, 0, -5
splash = LoadSprite("splash_screen.jpg")
SpriteViewMode splash, 1
PositionEntity splash, 0, 0, 0
While Not KeyHit(1)
Wend
End
however, i cannot see the sprite anywhere. It just return a black screen.
Another funny thing is, i tried creating a cube at the point 0,0,0 and have a camera positioned a bit back from the cube. When i run the program, i can see the cube clearly. But when i remove the cube and place a sprite at the same 0, 0, 0 position, i couldn't see the sprite!
thanks!
terry