To understand this engine, please read the following Instructions: This engine creates rectangles, each one with unique entity IDs (UEID). to create an entity, you must call the function `add_entity`. ----------add_entity---------- this function expects following arguments: UEID - a unique entity ID width - the width of the rectangle height - the height of a rectangle x - the x-position of the rectangle y - the y-position of the rectangle listener - the type of listener, if you don't know what a listener is, or how to use it, scroll down to "Listeners" broadcast - the name of the broadcast the entity should call on requirement fullfilment. -color - the color the rectangle should have, prefferably as a HEX example entity cration: add_entity [button1] [40] [20] [-20] [-10] [click] [sayhello] [#FF0EED] this will create a pink button, 40 pixels wide, 20 pixels high, centered in the middle of the screen. it will listen for clicks, and as soon as it gets clicked, it broadcasts "sayhello" -------------------- this engine can also modify entities by their respective UEID, if a value should not be modified, put the paramater "keep", as this will leave the value unchanged. example entity modification: modify_entity [button1] [50] [keep] [keep] [-15] [#FFDDEE] this will modify the rectangle of the entity "button1". modifications are permanent. ----------Listeners---------- -what do listeners do? they wait for an event to happen, then triggering the submitted broadcast. -what are the listener types? click : waits for a click hover : broadcasts while the mouse is on top of the rectangle.
Features: -fully customizable buttons -hover interaction broadcast -click interaction broadcast v.e.c.t.o.r. stands for: Virtual Entity Creation Tool or reading