Trying to add a 2d overlay, for my 3d game. Whats the best way of doing this and does any one have an example?
thx
thx
Graphics3D 800, 600, 0, 2 SetBuffer BackBuffer() Global cube = CreateCube() Global cone = CreateCone(32) Global cam = CreateCamera() PositionEntity cube, -1, 0, 0 PositionEntity cone, 1, 0, 0 PositionEntity cam, 0, 0, -3 EntityColor cube, 255, 0, 0 EntityColor cone, 0, 255, 0 Repeat TurnEntity cube, 1, 1, 1 TurnEntity cone, -1, -1, -1 RenderWorld ; 2D Drawing commands Color 255, 255 Rect 0, 0, 800, 200, 1 Color 0, 0, 255 Rect 2, 2, 796, 196, 0 Text 4, 4, "This is 2D on top of 3D!" Text 4, 16, "Press ESC to exit!" Flip Until KeyHit(1)