Closed trystyncote closed 1 year ago
HEAD
The HEAD keyword will be to define a trait of the video that the program requires. This includes the window width (window_width), window height (window_height), the framerate (framerate), and the intended file name for the finalized video (file_name). These are required to be in the script. I am currently unsure if I should mandate it in the very top of the script or not, but I probably will.
SET
The SET keyword would define a variable within the script that is used for future reference. The parameters are
I'll probably also include the file address where the script is as a keyword, such as __currentaddress_\.
FROM (
The FROM keyword would call to pull a file from the specified location and manage it. The MANAGE keyword would be split into IMAGE, VIDEO, and AUDIO subtypes, each with their own parameters. This is also where the animation would occur, but the keyword for that isn't finalized in my head yet.
<CREATE/MOVE/DELETE> OBJECT
Replacing the would-be FROM keyword, the OBJECT keywords would create, move, and delete an object created for the video, as managed by the program. The object could be a character on the screen, or the overlay that displays over it all. These objects would be layered, to allow them to cross over each other without interfering. As of writing, the sample script and the family of classes in 'class_Compile.py' do not yet support this.
CREATE OBJECT \
MOVE OBJECT \
DELETE OBJECT \
file_name = The name of the file called. scale = The size of the image, in percentage of proper size. layer = The layer the image is on. Lower is in the back. delay = How long the program removes the object
Not guaranteed as of writing this, but perhaps a separate tag for text?
WRITE \
The formatting for the script is following an SQL-inspired style. This means that keywords would come in a specific sequence that the program would understand. Right now, I have ideas for a new traits and will be pasting them in this issue for my own documentation.