Step 1: Create quiz model, (*1)
Provide a name
in human-language
..., (*2)
Step 2: Create results, (*3)
Provide a name
in human-language, (*4)
Provide a title
, description
and content
to show for player what result is (optional), (*5)
Provide a priority
to indicate one result will be chosen if there are two or more suiable result (optional), (*6)
Provide canvas_with
and canvas_height
, (*7)
===============
The order of step 3, 4, 5, 6 depends on value of their global_exec_order
, (*8)
Step 3: Create params, (*9)
Provide a name
in human-language, (*10)
Provide a var_name
, only contains words, number, underscore, and no starts with number, (*11)
Provide a value
as function body, this function has no argument, and must return a value, (*12)
Provide a global_exec_order
as a number to indicate the order of execution for this param, (*13)
Step 4: Create characters, (*14)
Provide a name
in human-language, (*15)
Provide a var_name
, only contains words, number, underscore, and no starts with number, (*16)
Provide a type
and index
(with some filter
s and sorter
s are optional) for each character to find out a proper one from the run time list, (*17)
Provide a global_exec_order
as a number to indicate the order of execution for this character, (*18)
Step 5: Create character media, (*19)
Provide a name
in human-language, (*20)
Provide a var_name
, only contains words, number, underscore, and no starts with number, (*21)
Provide a type
and index
(with some filter
s and sorter
s are optional) for each character to find out a proper one from the run time list, (*22)
Provide a global_exec_order
as a number to indicate the order of execution for this character medium, (*23)
Provide some style
s to style this medium, (*24)
Step 6.1: Create input groups, (*25)
Provide a name
in human-language, (*26)
Provide a title
for player (optional), (*27)
Provide a global_exec_order
as a number to indicate the order of execution for this input group, (*28)
Step 6.2: Create inputs for each input group, (*29)
Provide a var_name
, only contains words, number, underscore, and no starts with number, (*30)
Provide a type
. Types are consist of text, number, date, datetime, checkbox_group, radio_group, selectbox, (*31)
Provide some validator
s to validate input from player (optional), (*32)
Provide a question
for player (optional), (*33)
Provide row
and column
to indicate position of this input on screen (optional), (*34)
Step 6.3: Create input options for each input, (*35)
Provide a value
, (*36)
Provide a content
, by default, it will be assigned by value
(optional), (*37)
Provide a score
, this score will be added to quiz total_score (optional), (*38)
Provide some result_poll
s to vote for proper result (optional), (*39)
Provide a interpretation
to explain with player that why this option true or false, or any other reasons (optional), (*40)
Provide row
and column
to indicate position of this input on screen (optional), (*41)
This step is required if input type is checkbox_group, radio_group or select_box In these case, player only can choose one (or more with input type is checkbox_group) option, and validator for input is unnecessary. If input type is not checkbox_group, radio_group or select_box, these option is not required, but if provided, its still make sense. That is, if input from player is same with one of these options, score of this option will be added to total_score of quiz. And via result poll(s), corresponding result will be increase its votes., (*42)
===============, (*43)
Step 7: Create shapes, (*44)
Provide a name
in human-language, (*45)
Provide an image_id
to refer to image that will be background of this shape (optional), (*46)
Provide a text
to display on this shape (optional), (*47)
Provide some style
s to style this shape, (*48)
Step 8: Add shapes and mediums to corresponding results, (*49)