;====== FORUM GAME ========================================= ;====== JEREMY ALESSI 9-25-2006 ============================ ;====== INITIALIZE ========================================= Graphics3D( 640, 480, 0, 2 ) SetBuffer BackBuffer() SeedRnd MilliSecs() Global camera = CreateCamera() ;What does sceneMember mean? Type sceneMember Field eHandle ;Entity Handle End Type CreateCube() MoveEntity camera, 0, 0, -11 ;====== MAIN LOOP ========================================= While Not KeyDown(1) Cls ;Control the camera If KeyDown(200) Then MoveEntity camera, 0, 0, 1 If KeyDown(208) Then MoveEntity camera, 0, 0, -1 If KeyDown(017) Then MoveEntity camera, 0, 1, 0 If KeyDown(031) Then MoveEntity camera, 0, -1,0 If KeyDown(030) Then MoveEntity camera,-1, 0, 0 If KeyDown(032) Then MoveEntity camera, 1, 0, 0 UpdateWorld RenderWorld Flip Delay 1 Wend ; Start: Where do you want to go today? errr... Wrong Quote. ;===========================================================
Let's make a B3D game ...
Miscellaneous Forums/General Discussion/Let's make a B3D game ...The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.