Hi all!
I've updated the first post with a link to the engine.
This is an alpha version without any help files.
You need to have kLine.bb, kShape.bb and glow.png in the same folder as your main source.
A basic program that do nothing else than showing a centered ShapeEntity:
Please try and ask questions, cause I need to know what I could add to make a better system.
I haven't so much time atm to make a simple help file so if someone can help! NicolasATEK@...
I've updated the first post with a link to the engine.
This is an alpha version without any help files.
You need to have kLine.bb, kShape.bb and glow.png in the same folder as your main source.
A basic program that do nothing else than showing a centered ShapeEntity:
Include "kShape.bb" ; Main Init Graphics3D 640, 480, 32, 2 SetBuffer BackBuffer() cam = CreateCamera() ;-> kDL_Create(camera to assign, blended: true/false, smoothed: true/false, glowing texture) dl = kDL_Create(cam, True, True, "glow.png") ; Create a DrawingLayer ;-> kCreateCircleShape(x#, y#, radius#, number of segments, "POINT" or "SEGMENT" based) shape_circle.kShape = kCreateCircleShape(0, 0, 50, 10, "POINT") ;-> Create a ShapeEntity(based on an existing Shape) on the specified DrawingLayer circle = kSE_Create(shape_circle, dl) kSE_Position(circle, 320, 240); Position the ShapeEntity in the center of the screen While Not KeyDown(1) kDL_Clear(dl); Clear the DrawingLayer kSE_Render(); Render all ShapeEntities RenderWorld Flip Wend
Please try and ask questions, cause I need to know what I could add to make a better system.
I haven't so much time atm to make a simple help file so if someone can help! NicolasATEK@...