get_fid: get all frame id in game content in order
engine_meta: get the metadata about the engine
append_frame: append one frame into the game content, you can see a more detailed description about this part below
commit: commit all the changes you made after the last commit, you can use it to achieve save function
meta: get the metadata about the game content, include frame number, head/tail of frame, etc..
about append_frame
except task_id, its argument also include force, by setting it to be True, engine will skip checking if the given frame is valid or not. For the request body, it likes:
{
"background": "background file name, not directory",
"chara": [
"character file name, not directory"
],
"chara_pos": [
[
"coordinate of character at background, e.g. [12.1, 22.133]"
]
],
"music": "music file name, not directory",
"dialog": "dialogue in this frame",
"dialog_character": "dialogue by who"
}
I'll finish the get_frame during this week, comment in issue to report bugs
support four manipulation on the engine, include:
get_fid
: get all frame id in game content in orderengine_meta
: get the metadata about the engineappend_frame
: append one frame into the game content, you can see a more detailed description about this part belowcommit
: commit all the changes you made after the last commit, you can use it to achieve save functionmeta
: get the metadata about the game content, include frame number, head/tail of frame, etc..about append_frame
except
task_id
, its argument also includeforce
, by setting it to be True, engine will skip checking if the given frame is valid or not. For the request body, it likes:I'll finish the get_frame during this week, comment in issue to report bugs