Cobra 3D has been released. :)

Miscellaneous Forums/General Discussion/Cobra 3D has been released. :)

Just looked at the syntax, kinda looks like pascal / blitz!

Although I did see some code that had ; on the end of every line... not sure if that's optional or what.

Var
    cam, cam2, camPiv, light : Element
    cube,blur, ground, tex : Element

Begin
    OpenScreen

    // Create the first camera and attach it to a pivot
    camPiv = CreatePivot
    cam = CreateCamera(camPiv)   
    EntitySetAttribute(cam, 'focallength', 100)
    EntitySetAttribute(cam, 'depthofview', 1000)
       
    UseCamera(cam)
    PositionEntity(cam, 0, 0, 5)
   
    light = CreateLight
    SetShadowLight(ground, light)
    PositionEntity(light, -20, 30, 40)
   
    cube = CreateVirtObject(C3DSPACETEXT)   
    EntitySetAttribute(cube, 'text', 'COBRA')   
    EntitySetAttribute(cube, 'extrusion', 1)
    EntitySetAttribute(cube, 'textheight',0.5) 
    PositionEntity(cube, 0, 0, 0)
   
    blur = CreateVirtObject(C3DBLURFX)

    Repeat
        TurnEntity(cube, 0, 0.05*FrameTime, 0.05*FrameTime)
        Flip   
    Until KeyDown(VK_ESCAPE)

    CloseScreen
End