Early blitzmax Trinity footage

Miscellaneous Forums/Blitz Showcase/Early blitzmax Trinity footage

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.

Just send you one amon,

thought I'd cut and paste the code here for anyone interested in trinity.(Which is going to be a seperate product from the game. Though the game is likely to be finished before hand.)

MainEng:TEngine = New TEngine
MainEng.FindMode( 640,480,32,T_Window )
 
MyCam:TCamera = New TCamera
Visuals:TBatch = new TBatch 'Spawn high speed batch visualizer.
 
Car:TEntity = TFileIO.LoadEntity( "MyCar.b3d")
Car.UsePipeline( New TVertexArrays )

Visuals.AddEntity( Car ) 'can add more than one.
 
Cam.y = 15
Cam.Z = 20
 
Cam.WatchEntity( Car )  'Automatically tracks car
 
Visuals.Camera = Cam 
Visuals.Sync() '
 
Repeat
   MainEng.Cls( T_Color | T_Z )
 
  Car.Turn(0,2,0)
  Visuals.Render()     
 
   MainEng.Flip()
Forever