Jabbertoon error codes
When Jabbertoon checks a move, a character or a cartoon, every problem it finds has a code: a short name made of lower-case words, such as the ones below. The block editor and the studio show the problem in words; the tools for AI assistants give the code as well, with where the problem is, what is wrong and how to fix it, and each answer links to the code's place on this page. The tools have codes of their own as well, from their own checks and for a call, a file or a video they cannot make; those have no example here, and each says why.
An error stops the program from being used until it is fixed. A warning lets it play, because the program is still valid, but points at something that will probably not do what you meant, such as a part that no character has. Each code below says which of the two it is, in a tag before what it means: Error or Warning. Under each, open its example to see a program that gets it and what the check says about it.
The codes are also published as data, in the error catalog, and a program can be checked against the JSON Schemas before Jabbertoon sees it.
All 469 codes, A to Z
background_not_drawable_herebad_argumentsbad_fpsbad_optionbad_scalebad_sizebad_timebeat_without_tempoblock_has_no_bodyblock_needs_opblocks_after_remove_meblocks_never_runbody_bone_orphanbody_limits_badbody_loopbody_not_listbody_role_unknownbody_shape_badbody_socket_unknownbody_too_bigbounce_badbox_badbranches_not_listbrowser_neededbuild_invalidbuild_step_refusedbusycall_args_mismatchcamera_follow_badcamera_in_negativecamera_look_and_followcamera_look_badcamera_needs_somethingcamera_outsidecamera_shows_mostly_groundcamera_zoom_out_of_rangecanvas_unavailablecaption_cutcaption_hiddencaption_needs_textcaption_too_longcartoon_emptycartoon_fails_when_playedcartoon_file_field_unknowncartoon_file_no_programcartoon_over_limitcartoon_script_needs_scene_hatcast_at_field_unknowncast_at_not_numbercast_at_not_objectcast_entry_badcast_field_unknowncast_has_no_designcast_id_badcast_is_a_listcast_legs_badcast_missingcast_name_not_textcast_not_drawable_herecast_not_objectcast_over_studio_limitcast_pack_badcast_pack_id_badcast_pack_version_not_textcast_voice_not_textchain_channel_badchain_needs_channelchain_not_a_chainchain_on_legschain_part_is_a_raisechain_part_segmentchannel_badchannel_values_not_objectchar_foot_offchar_fx_neededchar_path_badchar_tex_badcharacter_invalidcharacter_too_tallcharacter_too_wideclip_badcollide_badcondition_badcontent_hash_wrongcut_in_gamecut_needs_place_or_mooddamping_negativedoes_also_not_booleandoes_needs_movedoes_setting_unknowndoes_settings_not_objectdoor_blockeddoor_floatingdoor_wrong_sizedrive_needs_channel_and_valuedur_unknown_hereeach_needs_a_groupease_unknownedges_mode_unknownempty_stageevery_needs_secondsexpression_invalidexpression_unknown_functionfacing_badfails_when_playedfalloff_largefalloff_not_positivefeet_off_stageffmpeg_failedffmpeg_missingffmpeg_no_h264ffmpeg_no_webpfield_ignoredfile_existsfile_not_foundfile_unreadableflood_too_bigfolder_not_writablefollow_after_badfollow_after_segmentfollow_channels_emptyfollow_moodfollow_needs_channel_and_sourcefollow_source_badformat_1_projectgait_bob_badgame_failedgame_needs_a_rigged_charactergame_view_unknowngaze_at_badgaze_needs_atglide_cutgoal_in_solidgoal_unreachablegravity_needs_gh_ignored_in_worldhabit_gravityhabit_jumphabit_outsidehabit_speedhand_unknownhat_never_fireshat_unknownhold_negativehold_nothinghud_kind_unknownid_takenimage_unreadableinput_badinput_hat_in_videoinput_in_the_pastinvalid_programitem_out_of_rangejob_unknownjump_without_gravitykey_badkey_fullkey_hat_never_pressedladder_reaches_nothinglag_negativelag_slowlayer_unknownlayout_item_badlayout_not_listlevel_badlevel_name_longlevel_never_reachedlevel_start_badlevel_unknownlevels_not_objectline_cutlink_bad_namelink_too_biglist_item_badlist_not_listlist_too_longlist_unknownlist_value_missinglook_colors_not_objectlook_colour_badlook_colour_outside_colorslook_colour_unknownlook_facing_badlook_field_unknownlook_given_twicelook_name_not_textlook_not_objectlook_options_not_objectlook_outside_picturelook_stretch_badlook_stretch_field_unknownlook_stretch_not_objectlook_target_unknownloud_hat_in_gamemark_name_badmark_outsidemark_unknownmaterial_loopmissing_fieldmood_missingmove_block_in_scenemove_cutmove_does_not_fitmove_id_badmove_travels_in_gamemove_version_not_textmove_wrong_bodyname_clashname_not_identifiername_of_a_charactername_takenname_unknownno_goalno_spawnno_way_to_endnode_missingnode_too_oldnot_a_cartoonnot_a_numbernot_a_piecenot_a_worldnot_built_yetnot_foundnot_jsonnot_on_gridnot_supported_herenot_wholenumber_not_finitenumber_too_bigofflineoffstageop_unknownoption_unknownoption_value_unknownoutline_colour_ignoredoutside_worldoverlapown_move_not_a_movepack_invalidpart_not_a_namepart_not_drawnpart_role_unknownpart_unknownpath_outside_folderpickup_unreachablepiece_floatingpiece_not_datapiece_outsidepiece_ref_missingpieces_overlappinned_scene_squeezedplace_entry_badplace_needs_a_valueplace_not_a_nameplace_unknownplaced_twiceplaces_not_objectplay_stuckplay_warningpoint_field_unknownpoint_needs_bx_and_bypoint_needs_x_and_ypoint_not_objectpoint_not_wholeprocedure_badprocedure_too_deepprocedure_unknownprogram_kind_unknownprogram_kind_wrongprogram_not_objectprogram_scripts_not_listprogram_versionproperty_badpts_not_from_cornerreach_needs_targetreach_not_a_limbreach_offset_without_spotreach_to_and_atrecipe_adjust_out_of_rangerecipe_body_unknownrecipe_color_badrecipe_colours_aliasrecipe_drawn_badrecipe_lib_unknownrecipe_not_checkedrecipe_op_badrecipe_part_unknownrecipe_part_wrong_bodyrecipe_slider_out_of_rangerecipe_slot_unknownrecipe_tweak_badremove_characterrender_failedreplay_game_changedreport_not_sentretired_2drot_not_degreesrow_length_mismatchrows_countrunaway_tickruntime_capsay_needs_textscene_block_in_movescene_hat_conflictscene_hat_field_ignoredscene_hat_invalidscene_pinned_before_earlierscene_program_one_scenescene_script_hatscene_start_badscene_unknownscript_badscript_unreadsegments_badsegments_not_a_chainserver_errorshape_crosses_itselfshape_too_smallshape_too_thinshape_unknownside_unknownsingle_equalssize_badsize_not_positivesize_out_of_rangeslope_too_steepsong_file_neededsound_not_placedsound_unknownsound_unreadablespawn_floatingspawn_in_solidspeed_given_twicespeed_not_positivespot_unknownspring_fastspring_not_positivespring_too_faststart_mark_unknownstate_arrow_badstate_badstate_unknownstates_badsteer_axes_unknownsteer_badsteer_keys_unknownstructure_buriedstructure_floatingstructure_not_datastructure_too_bigstuck_insidesync_badtalks_offstagetempo_badtext_bad_indenttext_bad_jsontext_bad_valuetext_block_outside_scripttext_branch_alonetext_cast_field_unknowntext_cast_unknown_idtext_child_not_allowedtext_else_alonetext_expectedtext_form_remote_unsupportedtext_heading_latetext_heading_not_firsttext_heading_twicetext_not_texttext_program_not_alonetext_unclosed_brackettext_unclosed_quotetext_unknown_linetexture_unavailablething_badthing_has_no_movesthing_never_madething_shape_unknownthing_unknownthings_not_objectthrust_needs_bytimeouttogether_action_comingtogether_bad_valuetogether_how_manytogether_pack_invalidtogether_role_missingtogether_role_twicetogether_role_unknowntogether_unknowntogether_who_unknowntoo_fasttoo_largetoo_many_cellstoo_many_cornerstoo_many_crossingstoo_many_drawn_pointstoo_many_edgestoo_many_library_piecestoo_many_markstoo_many_materialstoo_many_partstoo_many_piecestoo_many_pointstoo_many_runningtoo_many_stepstoo_many_structurestoo_many_thingstoo_many_this_ticktoo_many_tilestoo_many_writestouch_pair_never_meetstouch_target_badtouch_target_unknownturn_needs_byturn_view_instantunknown_backgroundunknown_gradeunknown_keyunknown_letterunknown_materialunknown_moodunknown_moveunknown_packunknown_pieceunknown_propertyunknown_shapeunknown_structureunknown_styleunknown_templateunknown_toolunknown_voiceunreadablevalue_not_booleanvalue_not_numbervalue_not_textvariable_not_a_namevariable_start_not_numbervariable_unknownview_needs_toview_unknownvoices_failedvoices_not_installedwater_buriedwater_spillswave_needs_channelwhen_never_changeswho_missingwho_not_in_castwindow_end_unknownwink_eye_badword_in_mathworld_badworld_cast_invalidworld_clip_baselineworld_clip_invalidworld_edits_fullworld_fields_on_paintingworld_file_invalidworld_invalidworld_place_retiredworld_refusedworld_shot_invalidworld_too_bigworld_unknownworld_warningworlds_not_objectwrong_door_gamewrong_door_recipe
background_not_drawable_here
Error A scene's background is not one of the six this renderer draws, so it would be drawn as another.
How to fix it: Use one of beach, meadow, classroom, stage, space or city as the place's background, or pass allow_substitutes: true to draw the meadow instead (listed in the result).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}}
},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "kitchen"
},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: places: A background cannot be drawn here: kitchen (it is not one of the six backgrounds (beach, meadow, classroom, stage, space, city)).
bad_arguments
Error The call's arguments are not ones the tool can use: one is missing, unknown or of the wrong type.
How to fix it: Send the arguments the tool's inputSchema gives, as the message says.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
bad_fps
Error That frame rate is not one this renderer makes.
How to fix it: Use 24 (the default) or any whole number up to 30. The cartoon itself always runs on its 24 frames-a-second clock.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
bad_option
Error An option has a value this renderer does not take.
How to fix it: See the option named in the message, and the values it takes.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
bad_scale
Error The raster was asked for a scale it does not sample at.
How to fix it: Use 1, 0.5 or 0.125: a block, half a block or an eighth of a block a cell.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 10,
"h": 10,
"sky": "day",
"pieces": [
{
"id": "box",
"shape": "rect",
"x": 1,
"y": 1,
"w": 2,
"h": 2,
"material": "stone"
}
]
}What the check says: The raster's scale is 0.3.
bad_size
Error That frame size is not one this renderer makes.
How to fix it: Use 1280x720 (the default), 1920x1080 or 1080x1920 for a video; a frame or a contact sheet takes any size from 16 to 3840 pixels a side.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
bad_time
Error That time is not in the cartoon.
How to fix it: Give a time in seconds from 0 to the cartoon's length.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
beat_without_tempo
Warning "on every beat" needs the game's tempo.
How to fix it: Give the game a tempo, like {bpm: 120}. Then the beat hat fires.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [{"hat": {"on": "beat"}, "body": []}]
}What the check says: scripts[0].hat: on every beat needs the game's tempo {bpm}
block_has_no_body
Warning A block that holds no body was given one; its body never runs.
How to fix it: Move the blocks out of it, or into a block that holds a body (for, repeat, forever, while, if, between).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{
"op": "move",
"dx": 10,
"body": [{"op": "wait", "s": 1}]
}
]
}
]
}What the check says: scripts[0].body[0]: "move" has no body
block_needs_op
Error A block has no "op" saying what it is.
How to fix it: Give each block an "op": {"op": "say", ...}.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"do": "wait"}]}]
}What the check says: scripts[0].body[0]: block needs an "op"
blocks_after_remove_me
Warning Blocks after "remove me" did not run. Removing a thing stops its scripts, this one too.
How to fix it: Put those blocks above "remove me", so they run before it goes.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "appear", "who": "Shot"},
"body": [
{"op": "remove", "who": "me"},
{"op": "sound", "name": "pop"}
]
}
],
"things": {"Shot": {"shape": "ball"}}
}What the check says: scripts[0].body[1]: the block after "remove me" never runs: removing a thing ends the script it runs. Put it above "remove me"
blocks_never_run
Warning The scene ends before a script reaches some of its blocks, so they never run.
How to fix it: Let the script reach its end before the scene ends: pin the next scene later, or take out the wait the script was held at.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "window", "from": -1, "body": []}]
}
]
}What the check says: Blocks of a script in scene "s" never run: the scene ends at 0 s before the script reaches them.
body_bone_orphan
Error A bone of the body is not joined to the root bone. It may hang from a bone that is not there. Or the body has more than one bone with no parent, or none. Or an edit names a bone that is not there.
How to fix it: Give the bone the id of a bone it hangs from; only the one root bone has no parent.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
body_limits_bad
Error A bone's limits are how far a move may turn it. They must be two whole numbers of degrees, the low one first, with 0 (its rest) between them.
How to fix it: Write limits as [least, most] around 0, for example [-60, 45].
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
body_loop
Error A bone's parents come back to it, so the body is not a tree of bones.
How to fix it: Make every chain of parents end at the root bone.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
body_not_list
Error A body is not a list of blocks.
How to fix it: Make the body a list: "body": [{...}, {...}].
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "forever", "body": {"op": "wait"}}]}
]
}What the check says: scripts[0].body[0].body: body must be an array
body_role_unknown
Error A bone has a role that no move can turn. The message lists the roles a bone can have.
How to fix it: Use one of those roles (the message suggests the nearest).
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
body_shape_bad
Error The body or one of its bones is not written the way a body is. A field may be extra or missing. Or a shape, a number, a list or a name may be the wrong kind.
How to fix it: Write the field the way the message says. A body has v, kind, art, name, plan, views, bones and sockets. A bone has id, role, parent, at, side, shape, w, h, rot and look.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
body_socket_unknown
Error A socket is on a bone the body does not have. Or its name is not one a socket can have.
How to fix it: Put the socket on a bone of the body. Name it in small letters, like head_top, face, neck, back or waist.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
body_too_big
Error The body is too big. It can have at most 64 bones, 16 legs and 8 arms. A chain can be at most 8 bones long, and each number must be within 3,000 tree units. A recipe has 2 to 16 legs.
How to fix it: Use fewer bones, legs or arms, or smaller numbers. The message names the bone or the number.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
bounce_bad
Error A bounce says how much of its speed a thing keeps when it hits. It is a number from 0 to 1, or true.
How to fix it: Use 1 to keep all its speed, 0.8 to lose a little, or true.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"things": {"Ball": {"shape": "ball", "bounce": 2}}
}What the check says: things.Ball.bounce: a bounce is a number from 0 to 1 (the part of its speed it keeps), or true
box_bad
Error A box is {w, h}, its width and height. Each must be more than 0. A character's box is in tree units, 110 to a block. A thing's box is in blocks.
How to fix it: Give w and h as numbers more than 0. Or leave the box out, and the character's own box is used.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {
"Sunny": {
"pack": "c4c:char:kid",
"box": {"w": 0, "h": 2}
}
},
"scripts": []
}What the check says: cast.Sunny.box: must be {w, h} in tree units (110 a block), each more than 0
branches_not_list
Error The branches of an at-the-same-time block are not a list of bodies.
How to fix it: Write branches as a list of lists of blocks: [[...], [...]].
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "together", "branches": "two"}]}
]
}What the check says: scripts[0].body[0].branches: must be an array of bodies
browser_needed
Error An editor world's video is made by the editor itself, in this computer's Edge or Chrome, and none was found.
How to fix it: Install Microsoft Edge or Google Chrome, or set JABBERTOON_BROWSER to one; or open the world in the editor and press Record video.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
build_invalid
Error What the steps made, or the build that was given, is not a build the Studio keeps: a part's id, shape, size, place, turn, colour, role or parent is not one the builder takes.
How to fix it: Change the step that set it (or the part, in a build you give) as the problem says: sizes are three lengths above 0, colours #rrggbb, roles one of the builder's, and every part hangs off one that is there.
Why there is no example: This code is about the steps sent to the build tool (a thing made in the Forge's builder, or a move made from its keys), not about a program, so this page has no program for it. The message names the step it is about, what is wrong and how to fix it; get_guide {"topic": "build"} has every step.
build_step_refused
Error A step of the build cannot be taken: it is not one of the builder's steps, or the part, the ready part or the field it names is not there, or the build would hold too many parts. The steps after it are not taken.
How to fix it: Change the step as its fix says (name a part an earlier step made with "as", or one the build has), then send the steps again; get_guide {"topic": "build"} has every step.
Why there is no example: This code is about the steps sent to the build tool (a thing made in the Forge's builder, or a move made from its keys), not about a program, so this page has no program for it. The message names the step it is about, what is wrong and how to fix it; get_guide {"topic": "build"} has every step.
busy
Error The online tools are busy: they have answered all they take today, or as many at once as they take.
How to fix it: Try again after the time Retry-After gives; the editor at https://jabbertoon.com/cartoon/ and the tool on your own computer work without them.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
call_args_mismatch
Warning A block of your own is called with more or fewer values than it takes.
How to fix it: Give it one value for each of its inputs, in order.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "call", "name": "hop"}]
}
],
"procedures": {"hop": {"params": ["h"], "body": []}}
}What the check says: scripts[0].body[0].args: "hop" takes 1 value (h) and is given 0: the ones left out are 0
camera_follow_bad
Error A camera block follows something that is not a character.
How to fix it: Give a character's id, or null to stop following.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "camera", "follow": 5}]
}
]
}What the check says: 5 is not a character to follow (or null, to stop following)
camera_in_negative
Error A camera block takes less than 0 seconds to move.
How to fix it: Give in 0 (at once) or more seconds.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "camera", "look": "A", "in": -1}]
}
]
}What the check says: in is -1 s; how long the camera takes is 0 s or more
camera_look_and_follow
Error A camera block both looks at a place and follows a character.
How to fix it: Keep one: look to move the camera once, follow to keep it on a character.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [
{"op": "camera", "look": "door", "follow": "A"}
]
}
]
}What the check says: the camera cannot look at one place and follow a character at once: give look or follow
camera_look_bad
Error A camera block looks at something that is not a character, a mark or a point {x, y}.
How to fix it: Give a character's id, a mark's name, or a point {x, y}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "camera", "look": 5}]
}
]
}What the check says: 5 is not a character, a mark or a point {x, y} to look at
camera_needs_something
Error A camera block says nothing to do: it has no look, zoom or follow.
How to fix it: Give look (a character, a mark or a point), zoom (2 shows half as much) or follow (a character).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "camera", "in": 1}]
}
]
}What the check says: a camera block needs look, zoom or follow (or more than one)
camera_outside
Error The camera's centre is outside the world, or it is higher than the world or 0 high.
How to fix it: Put its centre inside the world and its height from 1 to the world's height.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
}
],
"camera": {"x": 50, "y": 9, "h": 18}
}What the check says: The camera at (50, 9), 18 high, looks outside the 32 x 18 world.
camera_shows_mostly_ground
Warning The world's camera shows more than 70% solid ground.
How to fix it: Move the camera up (a smaller y) so it shows the world above the ground.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
}
],
"camera": {"x": 16, "y": 11, "h": 10}
}What the check says: The camera at (16, 11), 10 high, shows 100% solid ground.
camera_zoom_out_of_range
Error A camera block zooms outside 0.25 (four times as much) to 8 (an eighth as much).
How to fix it: Give a zoom from 0.25 to 8: 1 is the cut's own view, 2 shows half as much.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "camera", "look": "A", "zoom": 20}]
}
]
}What the check says: zoom is 20; a zoom is from 0.25 (four times as much) to 8 (an eighth as much)
caption_cut
Warning A caption is cut off before its time is up, when its scene ends.
How to fix it: A caption does not wait: put a wait after it (as long as its for), or end the scene later.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": 0.4}}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "say",
"who": "A",
"text": "And they swam all day."
},
{"op": "caption", "text": "The end", "for": 2}
]
}
]
}What the check says: The caption "The end" is cut off when scene "s" ends at 1.57 s: 0 of 2 s shown.
caption_needs_text
Error A caption has no words.
How to fix it: Give the caption as text: "text": "Later that day".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "caption"}]
}
]
}What the check says: scripts[0].body[0].text: caption needs text, as a string
caption_too_long
Warning A caption (or a line, which shows as one) takes more than about three lines of the picture.
How to fix it: Split the words into two captions (or lines), each of at most about three lines.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": 0.4}}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "caption",
"text": "This caption goes on and on and on, far longer than three lines of the picture can ever hold at the size the studio writes them, so the end of it is lost below the frame.",
"for": 4
},
{"op": "wait", "s": 4}
]
}
]
}What the check says: The caption "This caption goes on and on and on, far…" at 0 s takes about 5 lines on the picture; 3 fit.
cartoon_empty
Error The cartoon has no scenes, so there is nothing to play, and render_video and preview refuse it.
How to fix it: Add a scene: {"hat": {"on": "scene", "name": "Hello"}, "body": [{"op": "say", "who": "dog", "text": "Hi!"}]}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}}
},
"scripts": []
}What the check says: scripts: has no scenes, so there is nothing to play
Only in the downloadable tool, not yet published: preview, render_video
cartoon_fails_when_played
Error The cartoon stopped with an error while it was being played, so it was not drawn.
How to fix it: Fix what the message names, as validate's play check does (fails_when_played, at the same time): a name in a formula that is not a setting, a variable or one the engine has; a character (who) that is not in the cast; or a loop that never waits (put a wait in it).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "wait", "s": "=nope + 1"}]
}
]
}What the check says: The cartoon stopped with an error before its first frame: expression: unknown name "nope"
cartoon_file_field_unknown
Error A cartoon file holds its cast, its places and its program, and nothing else.
How to fix it: Move the field into the program where it belongs, or leave it out.
An example that gets this code
{
"pack": 1,
"id": "c4c:cartoon:happy_now",
"type": "cartoon",
"version": "1.0.1",
"name": "Happy now?",
"description": "Sunny brings Grump a cake with sprinkles. Two characters, two scenes, about 23 seconds.",
"author": {"id": "you", "name": "You"},
"license": "cc0",
"remixable": true,
"derived_from": [],
"preview": {"seconds": 23},
"content_hash": "sha256:28ac64431d1fac33415608eb770bb63fd22de03c84953fe5369bec79925cc505",
"content": {
"cast": {
"A": {
"name": "Sunny",
"legs": 2,
"look": {
"template": "person",
"colors": {"body": "#ffcf77", "acc": "#6a4c93"}
}
},
"B": {
"name": "Grump",
"legs": 4,
"at": {
"x": 0.68,
"y": 0.92,
"h": 0.34,
"facing": -1
},
"look": {
"template": "dog",
"colors": {
"skin": "#9e8a78",
"body": "#d9cbbd",
"acc": "#5a4636"
}
}
}
},
"places": {"park": {"background": "meadow"}},
"program": {
"v": 1,
"kind": "cartoon",
"name": "Happy now?",
"scripts": [
{
"hat": {
"on": "scene",
"name": "Morning",
"place": "park"
},
"body": [
{
"op": "does",
"who": "B",
"behaviour": "c4c:beh:sadidle"
},
{
"op": "caption",
"text": "Grump was having a grey sort of morning.",
"for": 2.6
},
{"op": "wait", "s": 1.2},
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:walk",
"for": 2,
"params": {"from": 0, "to": 0, "t_in": 2}
},
{
"op": "enter",
"who": "A",
"from": "left",
"over": 2,
"x": 0.3
},
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:wave_hello"
},
{
"op": "say",
"who": "A",
"text": "Good morning, Grump!",
"mood": "happy"
},
{
"op": "does",
"who": "B",
"behaviour": "c4c:beh:annoyed"
},
{
"op": "say",
"who": "B",
"text": "Is it?",
"mood": "angry"
},
{"op": "wait", "s": 0.5},
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:bounce"
},
{
"op": "say",
"who": "A",
"text": "I baked you a cake. It has sprinkles!",
"mood": "happy"
},
{
"op": "does",
"who": "B",
"behaviour": "c4c:beh:sadidle"
},
{
"op": "say",
"who": "B",
"text": "I don't like sprinkles.",
"mood": "sad"
},
{"op": "wait", "s": 0.8}
]
},
{
"hat": {"on": "scene", "name": "One bite later"},
"body": [
{
"op": "caption",
"text": "One bite later...",
"for": 1.6
},
{
"op": "does",
"who": "B",
"behaviour": "c4c:beh:idle"
},
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:point"
},
{"op": "wait", "s": 1},
{
"op": "say",
"who": "A",
"text": "Are you happy now?",
"mood": "happy"
},
{"op": "wait", "s": 0.9},
{
"op": "does",
"who": "B",
"behaviour": "c4c:beh:wag"
},
{
"op": "say",
"who": "B",
"text": "...Maybe a little."
},
{"op": "cut", "place": "park", "mood": "bloom"},
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:jump_for_joy"
},
{
"op": "say",
"who": "A",
"text": "Hooray! Cake for everyone!",
"mood": "happy"
},
{
"op": "say",
"who": "B",
"text": "Don't make it weird.",
"mood": "angry"
},
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:walk",
"for": 2.4,
"params": {"from": 0, "to": 0, "t_in": 2.4}
},
{
"op": "together",
"branches": [
[
{
"op": "exit",
"who": "A",
"to": "left",
"over": 2.4
}
],
[
{"op": "wait", "s": 1.2},
{
"op": "say",
"who": "B",
"text": "Thanks for the cake.",
"speed": 0.85
}
]
]
},
{"op": "mood", "who": "B", "mood": "happy"},
{"op": "wait", "s": 1.2}
]
}
]
},
"extra": 1
}
}What the check says: content.extra: a cartoon pack holds {cast, places, program} only
cartoon_file_no_program
Error A cartoon file needs its program.
How to fix it: Give {"cast": {...}, "program": {"v": 1, "kind": "cartoon", "scripts": [...]}}.
An example that gets this code
{
"format": "jabbertoon-project",
"version": 2,
"cartoon": 5,
"assets": {"characters": {}, "sounds": {}}
}What the check says: cartoon: a project file holds its cartoon in "cartoon"
cartoon_over_limit
Error The cartoon is longer than 600 seconds (or never ends), so it was not drawn.
How to fix it: Make it 10 minutes or shorter: end every scene (a "forever" loop needs a scene that ends it), or split it into parts.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "wait", "s": 700}]
}
]
}What the check says: The cartoon is still playing after 601 seconds (it is longer than the limit of 600 seconds, or a scene never ends), so it was not drawn.
cartoon_script_needs_scene_hat
Error A cartoon script does not start with a scene hat that has a name.
How to fix it: Start every script of a cartoon with {"on": "scene", "name": "..."}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {},
"scripts": [{"body": []}]
}What the check says: scripts[0].hat: every cartoon script needs a scene hat {"on":"scene","name":"…"}
cast_at_field_unknown
Warning A cast member's "at" has a field other than x, y, h and facing; it is ignored.
How to fix it: Keep only x, y, h and facing in "at".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": 0.5, "z": 1}}},
"scripts": []
}What the check says: cast.A.at: unknown field "z"
cast_at_not_number
Error A value of a cast member's "at" is not a number.
How to fix it: Give x, y, h and facing as numbers (a formula is not allowed there): x from 0 to 1, y the feet line (the ground is 0.92), h a share of the stage's height.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": "=t"}}},
"scripts": []
}What the check says: cast.A.at.x: must be a number
cast_at_not_object
Error A cast member's "at" is not {x, y, h, facing}.
How to fix it: Write where it stands as {"x": 0.3, "y": 0.92, "h": 0.5, "facing": 1} (stage fractions; facing 1 right, -1 left).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": 0.5}},
"scripts": []
}What the check says: cast.A.at: must be {x, y, h, facing}
cast_entry_bad
Error A cast member is neither a role description (text) nor an object.
How to fix it: Write the member as {"name", "legs", "at", "voice", "pack", "look"}, or as text describing its role.
An example that gets this code
{"v": 1, "kind": "cartoon", "cast": {"A": 5}, "scripts": []}What the check says: cast.A: must be a role description or {name, legs, at, voice, pack, look}
cast_field_unknown
Warning A cast member has a field the language does not use; it is ignored.
How to fix it: Remove the field, or move it where it belongs (colours go in look.colors, the template in look.template).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"colour": "red"}},
"scripts": []
}What the check says: cast.A: unknown field "colour"
cast_has_no_design
Error A cast member is only a role (a few words), with no look, pack or picture to draw, so render_video refuses it.
How to fix it: Give it a look with one of the six characters as its template, keeping its words as its name: {"name": "Biscuit", "look": {"template": "dog"}}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": "a friendly dog"},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: cast.A: is only a role ("a friendly dog"): it has no look, pack or picture to draw, so render_video refuses it
Only in the downloadable tool, not yet published: render_video
cast_id_bad
Error A cast id has a letter it cannot have.
How to fix it: Use letters, digits, _ or - in a cast id (A, sunny, dog_2), and the same id in every "who".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"my dog": {}},
"scripts": []
}What the check says: cast.my dog: a cast id is letters, digits, _ or -
cast_is_a_list
Warning The cast is a list, so its members are named "0", "1", ... and each who must say one of those.
How to fix it: Write the cast as an object keyed by the ids the who fields use: {"dog": {"name": "Biscuit"}, "cat": {"name": "Mia"}}.
An example that gets this code
{
"cast": [{"name": "Ann", "look": {"template": "kid"}}],
"program": {
"v": 1,
"kind": "cartoon",
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "0", "text": "Hi!"}]
}
]
}
}What the check says: cast: is a list, so its entries are named "0", "1", ... and each "who" must say one of those
cast_legs_bad
Error A cast member's legs is not a whole number.
How to fix it: Give legs as 0, 2 or 4 (a whole number, 0 or more).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"legs": 2.5}},
"scripts": []
}What the check says: cast.A.legs: must be a whole number
cast_missing
Warning The scene has no cast, so every "who" must name a character the page adds itself.
How to fix it: Add a cast: {"A": {"name": "Sunny"}}, and use its ids in "who".
An example that gets this code
{
"v": 1,
"kind": "scene",
"scripts": [{"body": [{"op": "wait", "s": 1}]}]
}What the check says: cast: no cast declared: "who" must name characters added with addCharacter
cast_name_not_text
Error A cast member's name is not text.
How to fix it: Give the name as text in quotes: "name": "Sunny".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": 7}},
"scripts": []
}What the check says: cast.A.name: must be a string
cast_not_drawable_here
Error A character in the cast cannot be drawn here: it is a picture from the internet, a role with no design, a character pack this renderer does not have, or a design it does not know.
How to fix it: Give the character a look ({"template": "dog", "style": "outlined"}) or one of the shipped character packs (c4c:char:person, kid, dog, cat, bird, monster), or a picture of its own in a project file; or pass allow_substitutes: true to draw a stand-in, listed in the result.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {
"name": "Ann",
"look": {
"template": "kid",
"image": "https://example.com/ann.png"
}
}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: cast.A: Character A (Ann) cannot be drawn here: a picture from outside (image) (pictures from the internet (emoji, Open Peeps, DiceBear) are never fetched by the renderer).
cast_not_object
Error The cast is not an object of members by id.
How to fix it: Write the cast as {"A": {"name": "Sunny"}, "B": {...}}: one entry per character, keyed by its id.
An example that gets this code
{"v": 1, "kind": "cartoon", "cast": ["A"], "scripts": []}What the check says: cast: must be {id: entry}
cast_over_studio_limit
Warning The cast has more characters than the editor opens.
How to fix it: Keep the cast to twelve characters or fewer to open the cartoon in the editor; a longer cast still validates and plays.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"at": {"x": 0.05}},
"B": {"at": {"x": 0.125}},
"C": {"at": {"x": 0.2}},
"D": {"at": {"x": 0.275}},
"E": {"at": {"x": 0.35}},
"F": {"at": {"x": 0.425}},
"G": {"at": {"x": 0.5}},
"H": {"at": {"x": 0.575}},
"I": {"at": {"x": 0.65}},
"J": {"at": {"x": 0.725}},
"K": {"at": {"x": 0.8}},
"L": {"at": {"x": 0.875}},
"M": {"at": {"x": 0.95}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "wait", "s": 1}]
}
]
}What the check says: The cast has 13 characters; the editor opens 12.
cast_pack_bad
Error A cast member's pack is neither an id nor {id, version}.
How to fix it: Give the pack as "c4c:char:dog" or {"id": "c4c:char:dog", "version": "1.0.0"}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"pack": ["c4c:char:sunny"]}},
"scripts": []
}What the check says: cast.A.pack: must be an id or {id, version}
cast_pack_id_bad
Error A cast member's pack is not a pack id.
How to fix it: Give the pack id as written in the pack, like "c4c:char:dog".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"pack": "sunny"},
"B": {"pack": {"id": "Sunny"}}
},
"scripts": []
}What the check says: cast.A.pack: "sunny" is not a pack id like "c4c:char:sunny"
cast_pack_version_not_text
Error A cast member's pack version is not text.
How to fix it: Give the version as text, like "1.0.0", or leave it out.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"pack": {"id": "c4c:char:sunny", "version": 1}}
},
"scripts": []
}What the check says: cast.A.pack.version: must be a string
cast_voice_not_text
Error A cast member's voice is not text.
How to fix it: Give the voice as text, one of the editor's voices such as "grok:ara".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"voice": 1}},
"scripts": []
}What the check says: cast.A.voice: must be a string
chain_channel_bad
Error A chain wave runs down something that is not one part.
How to fix it: Give a part channel without a #number, like "part:tail".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "chain", "ch": "part:tail#1"}]}
]
}What the check says: scripts[0].body[0].ch: chain runs down one part: a part channel without a #number, like "part:tail", not "part:tail#1"
chain_needs_channel
Error A chain wave does not say which part it runs down.
How to fix it: Give "ch", the part, like "part:tail".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "chain"}]}]
}What the check says: scripts[0].body[0]: chain needs "ch": the part the wave runs down, like "part:tail"
chain_not_a_chain
Warning A chain wave runs down a part that is drawn in one piece, so only its first segment moves.
How to fix it: Run the chain down a tail, the body, the ears or the hair, or use a wave on the part.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "chain", "ch": "part:arm:1"}]}
]
}What the check says: scripts[0].body[0].ch: the arm is not drawn as a chain, so nothing draws "part:arm:1#1" …
chain_on_legs
Warning A chain wave on legs runs from leg to leg (a leg's #number says which leg), not down one leg.
How to fix it: Run the chain down a tail, the body, the ears or the hair; move legs with their own blocks.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "chain", "ch": "part:leg"}]}
]
}What the check says: scripts[0].body[0].ch: a leg's #number says which leg it is (#0 back left … #3 front right), so this wave runs from leg to leg
chain_part_is_a_raise
Error A block that turns a part was given a raise (lift:).
How to fix it: Name the part itself ("tail"), not its raise.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "swish", "part": "lift:tail"}]}
]
}What the check says: scripts[0].body[0].part: swish turns a part: name the part, not a raise ("lift:tail")
chain_part_segment
Error A chain block was given one segment of a chain; it numbers the segments itself.
How to fix it: Name the whole part ("tail"), not "part:tail#2".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "swish", "part": "part:tail#2"}]}
]
}What the check says: scripts[0].body[0].part: name the whole tail (the block numbers its segments), not "part:tail#2"
channel_bad
Error A channel is not one the language has.
How to fix it: Use dx, dy, rot, sx, sy, mouth, blink, or part:<part> or lift:<part>, like part:arm:-1 (the left arm).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "set", "to": {"dz": 1}}]}]
}What the check says: scripts[0].body[0].to.dz: bad channel "dz"
channel_values_not_object
Error A set or glide's channels are not {channel: value}.
How to fix it: Write them as {"dx": 40, "part:arm:1": 30}.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "set", "to": [1]}]}]
}What the check says: scripts[0].body[0].to: must be {channel: value}
char_foot_off
Error The character's lowest point at rest is not where its foot point says it stands: they are more than 1 pixel apart when the character is drawn 512 pixels tall, so it would float above the ground or sink into it.
How to fix it: Set game.foot to the lowest point the message names, or move the feet down to the foot point.
Why there is no example: This code is about a character's drawing (format v2), not about a program, so no program gets it. The character checks give it (in the studio, the character maker and the downloadable tool) for a part's path, texture or outline, or for where the character stands; the message names the part and the number to change.
char_fx_needed
Warning A part has a format v2 field (group, band, clip, inner or opacity) that only a character in format v2 (content.fx 2) draws; this character is drawn the classic way, as if the field were not there.
How to fix it: Set content.fx to 2 to draw it, or remove the field.
Why there is no example: This code is about a character's drawing (format v2), not about a program, so no program gets it. The character checks give it (in the studio, the character maker and the downloadable tool) for a part's path, texture or outline, or for where the character stands; the message names the part and the number to change.
char_path_bad
Error A part's path shape cannot be drawn as written: its outline must be absolute SVG commands M, L, Q, C and Z, each with all its numbers, every outline closed with Z, at most 512 commands, every number within 10,000 either way, and at most 131,072 letters in all.
How to fix it: Rewrite the path's d with absolute commands, each outline "M x y ... Z", for example "M 0 0 L 40 0 Q 50 20 40 40 Z" (a relative m, l, q, c or z is not read).
Why there is no example: This code is about a character's drawing (format v2), not about a program, so no program gets it. The character checks give it (in the studio, the character maker and the downloadable tool) for a part's path, texture or outline, or for where the character stands; the message names the part and the number to change.
char_tex_bad
Error A part's texture is not one Jabbertoon draws: a texture is a name (fur, stripes, spots, scales, shell, feathers or grain) and a few numbers, each in its range.
How to fix it: Give the texture one of the seven names and only its own numbers, for example {"name": "fur", "length": 3, "density": 0.4}.
Why there is no example: This code is about a character's drawing (format v2), not about a program, so no program gets it. The character checks give it (in the studio, the character maker and the downloadable tool) for a part's path, texture or outline, or for where the character stands; the message names the part and the number to change.
character_invalid
Error A part, a shape or the face of the character is not one the editor can draw.
How to fix it: Fix the part named, as its fix says (the character format: https://jabbertoon.com/docs/packs/).
An example that gets this code
{
"name": "Rex",
"content": {
"tree": 5,
"legs": 4,
"kind": "dog",
"height": 178.4,
"footprint": 120,
"look": "outlined",
"views": [
{"view": "side"},
{
"view": "front",
"tree": {
"id": "root",
"role": "root",
"pos": {"x": 0, "y": 0},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [
{
"id": "torso",
"role": "torso",
"shape": {
"type": "ellipse",
"w": 87.5,
"h": 77
},
"pos": {"x": 0, "y": -91},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#b8793f",
"children": [
{
"id": "bib",
"role": null,
"shape": {
"type": "ellipse",
"w": 43.4,
"h": 43.4
},
"pos": {"x": 0, "y": 7},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#f7d9b0",
"children": []
},
{
"id": "tail",
"role": "tail",
"index": 0,
"shape": {
"type": "taper",
"w": 18,
"w2": 11,
"h": 59.5
},
"pos": {"x": 15.4, "y": -15.4},
"rot": 196,
"sx": 1,
"sy": 1,
"z": -3,
"fill": "#b8793f",
"children": [
{
"id": "tail1",
"role": "tail",
"index": 1,
"pos": {"x": 0, "y": 14.875},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [
{
"id": "tail2",
"role": "tail",
"index": 2,
"pos": {"x": 0, "y": 14.875},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [
{
"id": "tail3",
"role": "tail",
"index": 3,
"pos": {"x": 0, "y": 14.875},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [],
"limits": {
"min": -70,
"max": 70
},
"tip": {"x": 0, "y": 14.875}
}
],
"limits": {"min": -70, "max": 70}
}
],
"limits": {"min": -70, "max": 70}
}
],
"limits": {"min": -120, "max": 120},
"bend": true
},
{
"id": "leg0",
"role": "leg",
"side": -1,
"index": 0,
"shape": {
"type": "capsule",
"w": 21,
"h": 35.42
},
"pos": {"x": -28, "y": 9.8},
"rot": 0,
"sx": 1,
"sy": 1,
"z": -2,
"fill": "#a26a37",
"children": [
{
"id": "low0",
"role": "shin",
"side": -1,
"index": 0,
"shape": {
"type": "capsule",
"w": 18,
"h": 32.2
},
"pos": {"x": 0, "y": 32.2},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#a26a37",
"children": [
{
"id": "paw0",
"role": "foot",
"side": -1,
"index": 0,
"shape": {
"type": "hcapsule",
"w": 26,
"h": 15
},
"pos": {"x": 0, "y": 32.268},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#6b4120",
"children": [],
"limits": {"min": -45, "max": 45}
}
],
"limits": {"min": -60, "max": 60},
"flex": 1,
"fold": true
}
],
"limits": {"min": -75, "max": 60},
"fold": true
},
{
"id": "leg1",
"role": "leg",
"side": 1,
"index": 1,
"shape": {
"type": "capsule",
"w": 21,
"h": 35.42
},
"pos": {"x": 28, "y": 9.8},
"rot": 0,
"sx": 1,
"sy": 1,
"z": -2,
"fill": "#a26a37",
"children": [
{
"id": "low1",
"role": "shin",
"side": 1,
"index": 1,
"shape": {
"type": "capsule",
"w": 18,
"h": 32.2
},
"pos": {"x": 0, "y": 32.2},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#a26a37",
"children": [
{
"id": "paw1",
"role": "foot",
"side": 1,
"index": 1,
"shape": {
"type": "hcapsule",
"w": 26,
"h": 15
},
"pos": {"x": 0, "y": 32.268},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#6b4120",
"children": [],
"limits": {"min": -45, "max": 45}
}
],
"limits": {"min": -60, "max": 60},
"flex": -1,
"fold": true
}
],
"limits": {"min": -60, "max": 75},
"fold": true
},
{
"id": "leg2",
"role": "leg",
"side": -1,
"index": 2,
"shape": {
"type": "capsule",
"w": 21,
"h": 38.5
},
"pos": {"x": -17.5, "y": 15.4},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 1,
"fill": "#b8793f",
"children": [
{
"id": "low2",
"role": "shin",
"side": -1,
"index": 2,
"shape": {
"type": "capsule",
"w": 18,
"h": 35
},
"pos": {"x": 0, "y": 35},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#b8793f",
"children": [
{
"id": "paw2",
"role": "foot",
"side": -1,
"index": 2,
"shape": {
"type": "hcapsule",
"w": 26,
"h": 15
},
"pos": {"x": 0, "y": 32.9},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#7a4a24",
"children": [],
"limits": {"min": -45, "max": 45}
}
],
"limits": {"min": -60, "max": 60},
"flex": 1,
"fold": true
}
],
"limits": {"min": -75, "max": 60},
"fold": true
},
{
"id": "leg3",
"role": "leg",
"side": 1,
"index": 3,
"shape": {
"type": "capsule",
"w": 21,
"h": 38.5
},
"pos": {"x": 17.5, "y": 15.4},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 1,
"fill": "#b8793f",
"children": [
{
"id": "low3",
"role": "shin",
"side": 1,
"index": 3,
"shape": {
"type": "capsule",
"w": 18,
"h": 35
},
"pos": {"x": 0, "y": 35},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#b8793f",
"children": [
{
"id": "paw3",
"role": "foot",
"side": 1,
"index": 3,
"shape": {
"type": "hcapsule",
"w": 26,
"h": 15
},
"pos": {"x": 0, "y": 32.9},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#7a4a24",
"children": [],
"limits": {"min": -45, "max": 45}
}
],
"limits": {"min": -60, "max": 60},
"flex": -1,
"fold": true
}
],
"limits": {"min": -60, "max": 75},
"fold": true
},
{
"id": "head",
"role": "head",
"shape": {
"type": "ellipse",
"w": 76.96000000000001,
"h": 66.56,
"oy": -19.2
},
"pos": {"x": 0, "y": -29.4},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 2,
"fill": "#b8793f",
"face": {
"eyeX": 14.8,
"eyeY": -28.16,
"eyeR": 7.77,
"brows": true,
"mouthW": 22.2,
"mouthH": 10.88,
"mouthY": 3.2,
"z": 1.5
},
"children": [
{
"id": "snout",
"role": "snout",
"shape": {
"type": "ellipse",
"w": 38.480000000000004,
"h": 24.32
},
"pos": {"x": 0, "y": -4.48},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 1,
"fill": "#f7d9b0",
"children": [],
"limits": {"min": -20, "max": 20}
},
{
"id": "nose",
"role": "nose",
"shape": {
"type": "ellipse",
"w": 14.8,
"h": 9.6
},
"pos": {"x": 0, "y": -10.88},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 3,
"fill": "#222",
"outline": false,
"children": [],
"limits": {"min": -20, "max": 20}
},
{
"id": "ear-1",
"role": "ear",
"side": -1,
"index": 0,
"shape": {
"type": "teardrop",
"w": 23.68,
"h": 49.92
},
"pos": {"x": -32.56, "y": -39.68},
"rot": 26,
"sx": 1,
"sy": 1,
"z": -1,
"fill": "#7a4a24",
"children": [
{
"id": "ear-1_1",
"role": "ear",
"side": -1,
"index": 1,
"pos": {"x": 0, "y": 24.96},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [],
"limits": {"min": -60, "max": 60},
"tip": {"x": 0, "y": 24.96}
}
],
"limits": {"min": -90, "max": 90},
"bend": true
},
{
"id": "ear1",
"role": "ear",
"side": 1,
"index": 0,
"shape": {
"type": "teardrop",
"w": 23.68,
"h": 49.92
},
"pos": {"x": 32.56, "y": -39.68},
"rot": -26,
"sx": 1,
"sy": 1,
"z": -1,
"fill": "#7a4a24",
"children": [
{
"id": "ear1_1",
"role": "ear",
"side": 1,
"index": 1,
"pos": {"x": 0, "y": 24.96},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [],
"limits": {"min": -60, "max": 60},
"tip": {"x": 0, "y": 24.96}
}
],
"limits": {"min": -90, "max": 90},
"bend": true
}
],
"limits": {"min": -40, "max": 40}
}
],
"limits": {"min": -30, "max": 30}
}
]
},
"footprint": 64
},
{
"view": "back",
"tree": {
"id": "root",
"role": "root",
"pos": {"x": 0, "y": 0},
"rot": 0,
"sx": -1,
"sy": 1,
"z": 0,
"children": [
{
"id": "torso",
"role": "torso",
"shape": {
"type": "ellipse",
"w": 87.5,
"h": 77
},
"pos": {"x": 0, "y": -91},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#b8793f",
"children": [
{
"id": "tail",
"role": "tail",
"index": 0,
"shape": {
"type": "taper",
"w": 18,
"w2": 11,
"h": 59.5
},
"pos": {"x": 15.4, "y": -15.4},
"rot": 196,
"sx": 1,
"sy": 1,
"z": 3,
"fill": "#b8793f",
"children": [
{
"id": "tail1",
"role": "tail",
"index": 1,
"pos": {"x": 0, "y": 14.875},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [
{
"id": "tail2",
"role": "tail",
"index": 2,
"pos": {"x": 0, "y": 14.875},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [
{
"id": "tail3",
"role": "tail",
"index": 3,
"pos": {"x": 0, "y": 14.875},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [],
"limits": {
"min": -70,
"max": 70
},
"tip": {"x": 0, "y": 14.875}
}
],
"limits": {"min": -70, "max": 70}
}
],
"limits": {"min": -70, "max": 70}
}
],
"limits": {"min": -120, "max": 120},
"bend": true
},
{
"id": "leg0",
"role": "leg",
"side": -1,
"index": 0,
"shape": {
"type": "capsule",
"w": 21,
"h": 38.5
},
"pos": {"x": -17.5, "y": 15.4},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 1,
"fill": "#b8793f",
"children": [
{
"id": "low0",
"role": "shin",
"side": -1,
"index": 0,
"shape": {
"type": "capsule",
"w": 18,
"h": 35
},
"pos": {"x": 0, "y": 35},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#b8793f",
"children": [
{
"id": "paw0",
"role": "foot",
"side": -1,
"index": 0,
"shape": {
"type": "hcapsule",
"w": 26,
"h": 15
},
"pos": {"x": 0, "y": 32.9},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#7a4a24",
"children": [],
"limits": {"min": -45, "max": 45}
}
],
"limits": {"min": -60, "max": 60},
"flex": 1,
"fold": true
}
],
"limits": {"min": -75, "max": 60},
"fold": true
},
{
"id": "leg1",
"role": "leg",
"side": 1,
"index": 1,
"shape": {
"type": "capsule",
"w": 21,
"h": 38.5
},
"pos": {"x": 17.5, "y": 15.4},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 1,
"fill": "#b8793f",
"children": [
{
"id": "low1",
"role": "shin",
"side": 1,
"index": 1,
"shape": {
"type": "capsule",
"w": 18,
"h": 35
},
"pos": {"x": 0, "y": 35},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#b8793f",
"children": [
{
"id": "paw1",
"role": "foot",
"side": 1,
"index": 1,
"shape": {
"type": "hcapsule",
"w": 26,
"h": 15
},
"pos": {"x": 0, "y": 32.9},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#7a4a24",
"children": [],
"limits": {"min": -45, "max": 45}
}
],
"limits": {"min": -60, "max": 60},
"flex": -1,
"fold": true
}
],
"limits": {"min": -60, "max": 75},
"fold": true
},
{
"id": "leg2",
"role": "leg",
"side": -1,
"index": 2,
"shape": {
"type": "capsule",
"w": 21,
"h": 35.42
},
"pos": {"x": -28, "y": 9.8},
"rot": 0,
"sx": 1,
"sy": 1,
"z": -2,
"fill": "#a26a37",
"children": [
{
"id": "low2",
"role": "shin",
"side": -1,
"index": 2,
"shape": {
"type": "capsule",
"w": 18,
"h": 32.2
},
"pos": {"x": 0, "y": 32.2},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#a26a37",
"children": [
{
"id": "paw2",
"role": "foot",
"side": -1,
"index": 2,
"shape": {
"type": "hcapsule",
"w": 26,
"h": 15
},
"pos": {"x": 0, "y": 32.268},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#6b4120",
"children": [],
"limits": {"min": -45, "max": 45}
}
],
"limits": {"min": -60, "max": 60},
"flex": 1,
"fold": true
}
],
"limits": {"min": -75, "max": 60},
"fold": true
},
{
"id": "leg3",
"role": "leg",
"side": 1,
"index": 3,
"shape": {
"type": "capsule",
"w": 21,
"h": 35.42
},
"pos": {"x": 28, "y": 9.8},
"rot": 0,
"sx": 1,
"sy": 1,
"z": -2,
"fill": "#a26a37",
"children": [
{
"id": "low3",
"role": "shin",
"side": 1,
"index": 3,
"shape": {
"type": "capsule",
"w": 18,
"h": 32.2
},
"pos": {"x": 0, "y": 32.2},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#a26a37",
"children": [
{
"id": "paw3",
"role": "foot",
"side": 1,
"index": 3,
"shape": {
"type": "hcapsule",
"w": 26,
"h": 15
},
"pos": {"x": 0, "y": 32.268},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"fill": "#6b4120",
"children": [],
"limits": {"min": -45, "max": 45}
}
],
"limits": {"min": -60, "max": 60},
"flex": -1,
"fold": true
}
],
"limits": {"min": -60, "max": 75},
"fold": true
},
{
"id": "head",
"role": "head",
"shape": {
"type": "ellipse",
"w": 76.96000000000001,
"h": 66.56,
"oy": -19.2
},
"pos": {"x": 0, "y": -29.4},
"rot": 0,
"sx": 1,
"sy": 1,
"z": -1,
"fill": "#b8793f",
"children": [
{
"id": "ear-1",
"role": "ear",
"side": -1,
"index": 0,
"shape": {
"type": "teardrop",
"w": 23.68,
"h": 49.92
},
"pos": {"x": -32.56, "y": -39.68},
"rot": 26,
"sx": 1,
"sy": 1,
"z": 1,
"fill": "#7a4a24",
"children": [
{
"id": "ear-1_1",
"role": "ear",
"side": -1,
"index": 1,
"pos": {"x": 0, "y": 24.96},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [],
"limits": {"min": -60, "max": 60},
"tip": {"x": 0, "y": 24.96}
}
],
"limits": {"min": -90, "max": 90},
"bend": true
},
{
"id": "ear1",
"role": "ear",
"side": 1,
"index": 0,
"shape": {
"type": "teardrop",
"w": 23.68,
"h": 49.92
},
"pos": {"x": 32.56, "y": -39.68},
"rot": -26,
"sx": 1,
"sy": 1,
"z": 1,
"fill": "#7a4a24",
"children": [
{
"id": "ear1_1",
"role": "ear",
"side": 1,
"index": 1,
"pos": {"x": 0, "y": 24.96},
"rot": 0,
"sx": 1,
"sy": 1,
"z": 0,
"children": [],
"limits": {"min": -60, "max": 60},
"tip": {"x": 0, "y": 24.96}
}
],
"limits": {"min": -90, "max": 90},
"bend": true
}
],
"limits": {"min": -40, "max": 40}
}
],
"limits": {"min": -30, "max": 30}
}
]
},
"footprint": 64
}
],
"spots": {
"side": {
"hip": {
"node": "torso",
"at": [-51, -3.5],
"hands": false
},
"chest": {
"node": "torso",
"at": [82.45, 7],
"alt": [105.4, 10.5]
},
"head": {
"node": "head",
"at": [11.1, 7.36],
"alt": [23.68, 16]
},
"mouth": {
"node": "head",
"at": [44.4, 6.4],
"alt": [24.42, 19.2]
}
},
"front": {
"hip": {
"node": "torso",
"at": [35, 7],
"mirror": true,
"hands": false
},
"chest": {
"node": "torso",
"at": [0, 3.5],
"hands": false
},
"head": {
"node": "head",
"at": [22.2, -48],
"mirror": true,
"hands": false
},
"mouth": {
"node": "head",
"at": [0, 1.28],
"hands": false
}
},
"back": {
"hip": {
"node": "torso",
"at": [35, 7],
"mirror": true,
"hands": false
},
"chest": {
"node": "torso",
"at": [0, 3.5],
"hands": false
},
"head": {
"node": "head",
"at": [22.2, -48],
"mirror": true,
"hands": false
},
"mouth": {
"node": "head",
"at": [0, 1.28],
"hands": false
}
}
}
}
}What the check says: character.content: must be a character pack's content, with its node tree in content.tree
character_too_tall
Warning A character of the cast is taller than 2.9 blocks, so it does not go through a 2 x 3 door (an error for the shipped cast, a warning for your own).
How to fix it: Make it at most 2.9 blocks tall.
Why there is no example: This code is about a world and the characters of a game or a cartoon together (a character that does not fit the doors, or the walker the play check plays with the real physics), so a world on its own never gets it. The message names the character, or where the walker stopped and what was in its way.
character_too_wide
Warning A character of the cast is wider than 1.8 blocks, so it does not go through a 2 x 3 door (an error for the shipped cast, a warning for your own).
How to fix it: Make it at most 1.8 blocks wide.
Why there is no example: This code is about a world and the characters of a game or a cartoon together (a character that does not fit the doors, or the walker the play check plays with the real physics), so a world on its own never gets it. The message names the character, or where the walker stopped and what was in its way.
clip_bad
Error A wave's clip is neither "pos" nor "neg".
How to fix it: Use "pos" (only the upper half) or "neg" (only the lower half), or leave it out.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "wave", "ch": "dy", "clip": "up"}]}
]
}What the check says: scripts[0].body[0].clip: must be "pos" or "neg"
collide_bad
Error A collide rule is two names and what they do: solid, touch, or both, each true or false.
How to fix it: Write it like {a: Shell, b: Tank, solid: false}. Name a character or a thing as a, and a character, a thing or a piece as b.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"things": {"Shell": {"shape": "ball"}},
"collide": [{"a": "Shell", "b": "Sunny", "solid": "no"}]
}What the check says: collide[0].solid: solid is true or false
condition_bad
Error An arrow needs a test. It can be a formula. It can also be a key held, on the ground, in the air, moving, touching, a distance, time in the state, or a variable.
How to fix it: Write the test as a formula, like =distance(Grump, Sunny) < 5.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {
"Sunny": {
"pack": "c4c:char:kid",
"states": {
"list": {"a": {"go": [{"to": "a", "when": true}]}}
}
}
},
"scripts": []
}What the check says: cast.Sunny.states.list.a.go[0].when: a condition is a formula, or {key}, {on}, {moving}, {touching}, {distance, below|above}, {after} or {var, op, value}
content_hash_wrong
Error The pack's content_hash is not the hash of its content.
How to fix it: Set content_hash to the value the fix gives: sha256 of the canonical JSON of the content.
An example that gets this code
{
"pack": 1,
"id": "c4c:beh:wave_hello",
"type": "behaviour",
"version": "1.0.0",
"name": "Wave hello",
"description": "Raises the right arm and waves, with a happy little bob. Written with friendly blocks.",
"author": {"id": "you", "name": "You"},
"license": "cc0",
"remixable": true,
"derived_from": [],
"preview": {"moves": ["wave_hello"], "seconds": 6},
"content_hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
"content": {
"v": 1,
"kind": "behaviour",
"name": "wave_hello",
"scripts": [
{
"body": [
{"op": "mood", "mood": "happy"},
{"op": "bob", "amp": 4, "every": 1.2},
{
"op": "setPart",
"part": "right forearm",
"deg": 20
},
{
"op": "setPart",
"part": "right arm",
"deg": 150,
"over": 0.35,
"ease": "out"
},
{
"op": "forever",
"body": [
{
"op": "turnPart",
"part": "right forearm",
"deg": -40,
"over": 0.2
},
{
"op": "turnPart",
"part": "right forearm",
"deg": 40,
"over": 0.2
}
]
}
]
}
]
}
}What the check says: content_hash: is not the hash of this content
cut_in_game
Error A game has no cuts: its levels change with next and go to level.
How to fix it: Use next, go to level or restart level.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "cut", "to": "two"}]
}
]
}What the check says: scripts[0].body[0]: a game has no cuts: change the level with next or goLevel
cut_needs_place_or_mood
Error A cut changes neither the place nor the mood.
How to fix it: Give a place, a mood (the grade), or both: {"op": "cut", "place": "park", "mood": "bloom"}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "cut"}]
}
]
}What the check says: scripts[0].body[0]: cut needs a place, a mood, or both
damping_negative
Error A spring's damping is below 0.
How to fix it: Give damping of 0 or more (0 swings on and on, 1 settles without swinging past).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "letFollow", "damping": -1}]}
]
}What the check says: scripts[0].body[0].damping: must be 0 or more (0 swings on and on, 1 settles without swinging past)
does_also_not_boolean
Error A does's "also" is not true or false.
How to fix it: Give "also": true to add the move to what the character does, or leave it out.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:walk",
"also": "yes"
}
]
}
]
}What the check says: scripts[0].body[0].also: true or false
does_needs_move
Error A does does not say which move.
How to fix it: Give "behaviour": a move's id like "c4c:beh:wave_hello", or a move written out.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "does", "who": "A"}]
}
]
}What the check says: scripts[0].body[0].behaviour: needs a pack id like "c4c:beh:bounce" or an inline behaviour program
does_setting_unknown
Warning A does gives a setting its own move does not have; the move ignores it.
How to fix it: Use a setting of the move, or add it to the move's settings.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": {
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "wait", "s": 1}]}]
},
"params": {"speed": 2}
}
]
}
]
}What the check says: scripts[0].body[0].params.speed: the inline behaviour has no such param
does_settings_not_object
Error A does's settings (params) are not {name: value}.
How to fix it: Write them as {"t_in": 2}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:walk",
"params": [1]
}
]
}
]
}What the check says: scripts[0].body[0].params: must be {name: value}
door_blocked
Warning A door is shut on a side by a solid piece: a door leads from open space to open space.
How to fix it: Clear that side (at least 3 blocks high), or move the door; a door between two walls leads nowhere.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "door_a",
"shape": "rect",
"x": 10,
"y": 13,
"w": 2,
"h": 3,
"material": "wood",
"collide": "none",
"layer": "back",
"trigger": "door"
},
{
"id": "wall",
"shape": "rect",
"x": 12,
"y": 10,
"w": 1,
"h": 6,
"material": "brick"
}
]
}What the check says: The rect door_a (wood, x 10-12) is shut on its right by the rect wall (brick, x 12-13): a door leads from open space to open space.
door_floating
Warning A door stands on nothing.
How to fix it: Drop it (fix_ops), or put a floor under it.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "door_a",
"shape": "rect",
"x": 10,
"y": 11,
"w": 2,
"h": 3,
"material": "wood",
"collide": "none",
"layer": "back",
"trigger": "door"
}
]
}What the check says: The rect door_a (wood, x 10-12) stands 2 blocks above the grass cells of grid_main (x 0-32).
door_wrong_size
Warning A door is not 2 x 3 blocks, so not every character goes through it.
How to fix it: Make it 2 x 3 (fix_ops sizes it).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "door_a",
"shape": "rect",
"x": 10,
"y": 13,
"w": 1,
"h": 3,
"material": "wood",
"collide": "none",
"layer": "back",
"trigger": "door"
}
]
}What the check says: The rect door_a (wood, x 10-11) is 1 x 3; a door is 2 x 3 blocks, so every character (at most 1.8 wide and 2.9 tall) goes through it.
drive_needs_channel_and_value
Error A drive block lacks "ch" or "value".
How to fix it: Give both: "ch": "dy", "value": "=sin(t) * 10".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "drive", "ch": "dy"}]}]
}What the check says: scripts[0].body[0]: drive needs "ch" and "value"
dur_unknown_here
Warning A scene reads "dur", the scene's length, which is known only when the next scene is pinned with "at"; here it is Infinity.
How to fix it: Pin the next scene with "at" (seconds from the start), or use a number of seconds.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "wait", "s": "=dur"}]
}
]
}What the check says: scripts[0].body[0].s: "dur" is the scene's length only when the next scene is pinned with "at"; here it is Infinity
each_needs_a_group
Warning Each and group are for every one of a thing, all at once. This names just one, so they change nothing.
How to fix it: Name a thing, such as Invader, or take each or group out.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "speed",
"who": "Sunny",
"vx": 2,
"each": true
}
]
}
]
}What the check says: scripts[0].body[0].each: each runs a block once for every one of a thing; "Sunny" is one, so each changes nothing
ease_unknown
Error A block names an ease the language does not have.
How to fix it: Use linear, smooth, inout, in, out or snappy.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{"op": "enter", "who": "A", "ease": "bouncy"}
]
}
]
}What the check says: scripts[0].body[0].ease: unknown ease "bouncy"
edges_mode_unknown
Error Edges say what happens at the side of the world: stop, bounce, wrap or off. Give one for all four sides, or one a side.
How to fix it: Use stop, bounce, wrap or off ("off" lets it fall out). For one a side, write {left: bounce, right: bounce, top: bounce, bottom: off}.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "edges", "who": "Sunny", "mode": "sticky"}
]
}
]
}What the check says: scripts[0].body[0].mode: must be one of stop, bounce, wrap, off, or {left, right, top, bottom} with one of them a side
empty_stage
Warning Nobody is on the stage for two seconds or more (a character with half of it, or its face, in the picture is on it).
How to fix it: Bring a character on (enter, or place with x) sooner, or shorten the wait, or end the scene there.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {},
"scripts": [
{
"hat": {"on": "scene", "name": "a", "at": 4},
"body": []
},
{
"hat": {"on": "scene", "name": "b", "at": 2},
"body": []
}
]
}What the check says: Nobody is on the stage from 0 s to 4 s.
every_needs_seconds
Error The every hat needs the time between two runs, in seconds. It must be more than 0.
How to fix it: Give every a number of seconds, like 1.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [{"hat": {"on": "every", "s": 0}, "body": []}]
}What the check says: scripts[0].hat.s: every needs a number of seconds more than 0
expression_invalid
Error A formula does not read: a sign, a bracket or a word is out of place.
How to fix it: Check the formula: numbers, names, + - * / ^ % and brackets, functions like sin(t); in JSON it starts with =.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "wait", "s": "=1 +"}]}]
}What the check says: scripts[0].body[0].s: expression: unexpected end of "1 +"
expression_unknown_function
Error A formula uses a function the language does not have.
How to fix it: Use one of its functions (sin, cos, abs, min, max, clamp, floor, round, sqrt and the others the spec lists).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "wait", "s": "=wobble(1)"}]}
]
}What the check says: scripts[0].body[0].s: expression: unknown function "wobble" in "wobble(1)"
facing_bad
Error A facing given as a number is neither 1 nor -1.
How to fix it: Use 1 for facing right or -1 for facing left.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "place", "who": "A", "facing": 2}]
}
]
}What the check says: scripts[0].body[0].facing: must be 1 (facing right) or -1 (facing left)
fails_when_played
Error The program fails when it is played: a formula, a block or a character it names cannot run.
How to fix it: Fix what the message names: a name in a formula that is not a setting, a variable or one the engine has; a character (who) that is not in the cast (give the cartoon a cast line with every character); or a loop that never waits (put a wait in it).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"name": "Hello, Mia",
"scripts": [
{
"hat": {"on": "scene", "name": "Hello"},
"body": [
{
"op": "enter",
"who": "dog",
"from": "left",
"x": 0.3
},
{
"op": "does",
"who": "dog",
"behaviour": "c4c:beh:wave_hello"
},
{
"op": "say",
"who": "dog",
"text": "Hi, Mia! Do you want to play?"
},
{
"op": "does",
"who": "cat",
"behaviour": "c4c:beh:bounce"
},
{
"op": "say",
"who": "cat",
"text": "Yes, please!",
"mood": "happy"
}
]
}
]
}What the check says: The cartoon cannot start: no character "dog".
falloff_large
Warning A falloff over 2 makes each segment swing more than twice the one before.
How to fix it: Use a falloff of 2 or less.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "flop", "falloff": 3}]}]
}What the check says: scripts[0].body[0].falloff: a falloff of 3 makes each segment swing more than twice the one before
falloff_not_positive
Warning A falloff of 0 or less stops or flips every segment after the first.
How to fix it: Give a falloff more than 0 (1 keeps every segment the same).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "flop", "falloff": 0}]}]
}What the check says: scripts[0].body[0].falloff: a falloff of 0 stops or flips every segment after the first
feet_off_stage
Warning A character's feet (y) are outside the picture, so it stands out of frame.
How to fix it: Keep y between 0 (the top edge) and 1 (the bottom edge); the ground is 0.92.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "place", "who": "A", "y": 1.4}]
}
]
}What the check says: scripts[0].body[0].y: y 1.4 is off the stage (0 is the top edge, 1 the bottom edge, the ground 0.92): the character's feet are out of frame
ffmpeg_failed
Error ffmpeg stopped with an error, so the video was not made.
How to fix it: Read the last lines of ffmpeg's own message (in the result), and try again; a full disk or a folder you cannot write to are the usual causes.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
ffmpeg_missing
Error Making a video needs ffmpeg, and none was found. Frames and contact sheets work without it.
How to fix it: Get ffmpeg one of three ways: install it from https://ffmpeg.org/download.html or your package manager (winget install ffmpeg, brew install ffmpeg, apt install ffmpeg) so it is on your PATH; point at one you have with --ffmpeg <path> or JABBERTOON_FFMPEG=<path>; or run npm install ffmpeg-static where you run jabbertoon. Jabbertoon does not ship ffmpeg.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
ffmpeg_no_h264
Error The ffmpeg found cannot write H.264 video (it has none of libx264, h264_mf, h264_videotoolbox or libopenh264).
How to fix it: Use a full build of ffmpeg (https://ffmpeg.org/download.html), or point at another with --ffmpeg <path>.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
ffmpeg_no_webp
Error The ffmpeg found cannot write animated WebP (it has no libwebp_anim encoder).
How to fix it: Use a build of ffmpeg with libwebp (the full builds at https://ffmpeg.org/download.html have it).
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
field_ignored
Warning A block has a field it does not take; it is ignored.
How to fix it: Remove the field, or check its spelling.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{
"2": 1,
"10": 1,
"op": "set",
"to": {"dx": 1},
"note": "hi",
"id": "b1",
"extra": 2
}
]
}
]
}What the check says: scripts[0].body[0]: "set" ignores "2"
file_exists
Error A file with that name is already there, and it was not replaced.
How to fix it: Give another name, or pass overwrite: true to replace it.
Why there is no example: This code is about a file, a folder or the computer the jabbertoon tool runs on, not about a program, so no program gets it. The message the tool gives with it names the file or the folder, or what the computer needs, such as Node.js.
file_not_found
Error There is no file of that name in the output folder.
How to fix it: Give the name of a .json or .txt file in the output folder (jabbertoon doctor says where the folder is).
Why there is no example: This code is about a file, a folder or the computer the jabbertoon tool runs on, not about a program, so no program gets it. The message the tool gives with it names the file or the folder, or what the computer needs, such as Node.js.
file_unreadable
Error That file could not be read: it is not a cartoon's JSON or screenplay text, or not UTF-8.
How to fix it: Save the cartoon as UTF-8 JSON (.json) or screenplay text (.txt), then give its name again.
Why there is no example: This code is about a file, a folder or the computer the jabbertoon tool runs on, not about a program, so no program gets it. The message the tool gives with it names the file or the folder, or what the computer needs, such as Node.js.
flood_too_big
Error A flood would fill more than 65,536 cells (the space it starts in is open that far), so nothing was changed.
How to fix it: Fill a closed space: put walls round it first, or use fill with corners.
An example that gets this code
{
"v": 1,
"kind": "build",
"start": {"w": 512, "h": 256},
"body": [
{"op": "flood", "x": 1, "y": 1, "material": "water"}
]
}What the check says: This flood would fill more than 65,536 cells (the space it starts in is open that far), so nothing was changed (at body[0]).
folder_not_writable
Error The output folder cannot be made or written to.
How to fix it: Choose another folder with --out <folder> or JABBERTOON_OUT, one you can write to.
Why there is no example: This code is about a file, a folder or the computer the jabbertoon tool runs on, not about a program, so no program gets it. The message the tool gives with it names the file or the folder, or what the computer needs, such as Node.js.
follow_after_bad
Error A let-follow block follows something other than the body or a part.
How to fix it: Follow "body" or a part, like "head".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "letFollow", "after": "lift:head"}]}
]
}What the check says: scripts[0].body[0].after: follows "body" or a part, not "lift:head"
follow_after_segment
Error A let-follow block follows one segment or one leg, not a whole part.
How to fix it: Follow the whole part ("tail", "head").
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "letFollow", "after": "part:tail#2"}]}
]
}What the check says: scripts[0].body[0].after: follows a whole part, not one segment or leg ("part:tail#2")
follow_channels_empty
Error A follow block's list of channels is empty.
How to fix it: Give at least one channel in "ch".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "follow", "ch": [], "source": "dy"}]}
]
}What the check says: scripts[0].body[0].ch: needs at least one channel
follow_mood
Error A follow block follows or moves "mood", which is not a number.
How to fix it: Follow a number channel (dy, rot, a part).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{
"op": "follow",
"ch": "part:tail",
"source": "mood"
},
{"op": "follow", "ch": "mood", "source": "dy"}
]
}
]
}What the check says: scripts[0].body[0].source: mood is not a number: follow a number channel
follow_needs_channel_and_source
Error A follow block lacks "ch" (what moves) or "source" (what it follows).
How to fix it: Give both: "ch": "part:tail", "source": "dy".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "follow", "ch": "part:tail"}]}
]
}What the check says: scripts[0].body[0]: follow needs "ch" and "source"
follow_source_bad
Error A follow block's source is not one channel.
How to fix it: Give the source as one channel, like "dy".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{
"op": "follow",
"ch": "part:tail",
"source": ["dy"]
}
]
}
]
}What the check says: scripts[0].body[0].source: must be one channel, like "dy", not ["dy"]
format_1_project
Error That project file is the first studio's older format (format 1), which this renderer does not read.
How to fix it: Open it in the editor at https://jabbertoon.com/cartoon/ (☰, then 📂 Open…), which opens it as a world, and save it again, or give the cartoon program itself.
An example that gets this code
{
"jabbertoon": "cartoon",
"format": 1,
"name": "Old",
"cast": [null, null],
"names": ["A", "B"],
"scenes": []
}What the check says: That project file is the first studio's older format (format 1), which this renderer does not read.
gait_bob_bad
Error A walk cycle's bob is neither [base, amp] nor null.
How to fix it: Give bob as [-2, 3] (two numbers), or null for no bob.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "gait", "bob": [1]}]}]
}What the check says: scripts[0].body[0].bob: must be [base, amp] or null
game_failed
Error The game stopped because of a problem in its blocks.
How to fix it: Check the blocks the game was running when it stopped.
Why there is no example: No program of today gets this code. It is kept for a fault inside the game engine itself while it plays, so that such a fault ends the game with a code and words rather than stopping the page.
game_needs_a_rigged_character
Error A picture character has no bones, so it cannot walk, jump or play a move in a game.
How to fix it: In a game, use a character made from parts or from a template. Keep picture characters for cartoons.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": {"picture": "sunny.png"}},
"scripts": []
}What the check says: cast.Sunny: a picture character has no bones, so it cannot walk, jump or play a move in a game
game_view_unknown
Error A game is seen from the side, from the top, or in space. Its view is side, top or space.
How to fix it: Use side for a game with a ground, top for a game seen from above, or space for one with no ground.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"view": "isometric"
}What the check says: view: there is no view "isometric": a game is seen from the side, from the top, or in space (side, top, space)
gaze_at_bad
Error A look block looks at something that is not a character, a mark or a point {x, y}.
How to fix it: Give a character's id, a mark's name, a point {x, y}, or null to look ahead.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "gaze", "who": "A", "at": 5}]
}
]
}What the check says: 5 is not a character, a mark or a point {x, y} to look at (or null, to look ahead)
gaze_needs_at
Error A look block does not say where to look.
How to fix it: Give at: a character, a mark, a point {x, y}, or null to look ahead.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "gaze", "who": "A"}]
}
]
}What the check says: a look needs at: a character, a mark, a point {x, y}, or null to look ahead
glide_cut
Warning An enter, an exit or a glide (place … in N s) is cut off before it lands, when its scene ends; an exit cut off leaves the character on the stage.
How to fix it: Give the enter, exit or place time to land: a wait after it, or pin the next scene later.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"B": {"look": {"template": "cat"}, "at": {"x": 0.5}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "a"},
"body": [
{"op": "place", "who": "B", "x": 0.5},
{"op": "wait", "s": 0.1},
{
"op": "exit",
"who": "B",
"to": "right",
"over": 0.2
}
]
},
{
"hat": {"on": "scene", "name": "b", "at": 0.3},
"body": [{"op": "wait", "s": 1}]
}
]
}What the check says: B's exit to the right lands just after it should, when scene "a" ends at 0.3 s, so B stays on stage, just out of the frame.
goal_in_solid
Warning The goal's feet are inside a solid piece.
How to fix it: Move it up to the top of what it is in (the fix gives the y).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
}
],
"marks": {"goal": {"x": 28, "y": 17}}
}What the check says: The goal at (28, 17) is inside the grass cells of grid_main (x 0-32): the feet are in the grass.
goal_unreachable
Warning In a level (check level), the cautious search from the spawn finds no way to the goal for a walker as big as the cast, jumping as high and as far as its rules.
How to fix it: Do what the message says about the place the walker stopped and the piece in its way: make it lower than the jump, add a ledge, a ladder, a ramp or a door.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "wall",
"shape": "rect",
"x": 16,
"y": 6,
"w": 2,
"h": 10,
"material": "brick"
}
],
"marks": {
"spawn": {"x": 3, "y": 16},
"goal": {"x": 28, "y": 16}
}
}What the check says: From the spawn (3, 16), a walker 2 wide and 3 tall that jumps 3 up and 4 across gets no nearer the goal (28, 16) than (15, 16): in its way is the rect wall (brick, x 16-18), its left side, rising 10 blocks above the walker's feet (y 16 up to y 6).
gravity_needs_g
Error falls with gravity needs how strong the gravity is.
How to fix it: Give it g in blocks a second per second, like 40.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "gravity", "who": "Sunny"}]
}
]
}What the check says: scripts[0].body[0]: needs g
h_ignored_in_world
Warning A placement gives h (a height as a share of the stage), which a world place does not use: a character in a world is its own height there.
How to fix it: Take h out, and give size (0.5 to 2) to make the character smaller or bigger.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [
{"op": "place", "who": "A", "at": "door", "h": 0.4}
]
}
]
}What the check says: h is not used in a world place: a character there is its own height, times size
habit_gravity
Warning That gravity looks like the wrong unit. Gravity is in blocks a second per second now.
How to fix it: Try 40 for a good fall. The real world numbers 9.8 and 980 are too small or too big here.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "gravity", "who": "Sunny", "g": 980}]
}
]
}What the check says: scripts[0].body[0].g: a gravity of 980: gravity is in blocks a second per second now (40 is a good fall; 9.8 and 980 are real-world numbers)
habit_jump
Warning That jump looks like the wrong unit. A jump is how many blocks high it goes now.
How to fix it: Try 3.2, which clears 3 blocks.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "gravity", "who": "Sunny", "g": 40},
{"op": "jump", "who": "Sunny", "h": 40}
]
}
]
}What the check says: scripts[0].body[1].h: a jump of 40 blocks: jumps are in blocks now (3.2 clears 3 blocks)
habit_outside
Warning That place is far outside the world. Positions are in blocks now, from 0 at the left and 0 at the top.
How to fix it: Use x and y in blocks, inside the world. The default world is 32 x 18 blocks.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "make", "thing": "Star", "x": 300, "y": 4}
]
}
],
"things": {"Star": {"shape": "star"}}
}What the check says: scripts[0].body[0]: x 300, y 4 is more than 8 blocks outside the world (32 x 18 blocks): positions are in blocks now
habit_speed
Warning That speed is very fast. Speeds are in blocks a second now.
How to fix it: Try a speed from 2 to 12 (8 is a brisk walk).
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "speed", "who": "Sunny", "vx": 400}]
}
]
}What the check says: scripts[0].body[0].vx: a speed of 400: speeds are in blocks a second now (8 is a brisk walk)
hand_unknown
Error A character holds things in hand_r or hand_l.
How to fix it: Use hand_r or hand_l.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "hold",
"who": "Sunny",
"thing": "Key",
"hand": "foot"
}
]
}
],
"things": {"Key": {"shape": "key"}}
}What the check says: scripts[0].body[0].hand: hand_r or hand_l
hat_never_fires
Warning A move starts a script with a hat that never fires in a cartoon (touch, beat, loud, every), so those blocks never run.
How to fix it: Use a hat that fires in a cartoon: when it starts, when the scene starts, when I start talking, when I stop talking.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "hop", "amp": 20}]},
{"hat": {"on": "beat"}, "body": [{"op": "squash"}]}
]
}What the check says: The "beat" hat in this move never fires: nothing in a cartoon sends it, so its blocks never run.
hat_unknown
Error A move's script starts with a hat the language does not have.
How to fix it: Start the script with a hat it has: start, talk-start, talk-end, scene, key, click (and beat, loud, every, touch, which never fire).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"hat": {"on": "wink"}, "body": []}]
}What the check says: scripts[0].hat: unknown hat "wink"
hold_negative
Warning A reach holds for less than 0 s, so it lets go at once.
How to fix it: Give hold 0 or more seconds.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "reach", "at": "head", "hold": -1}]}
]
}What the check says: scripts[0].body[0].hold: a hold below 0 lets go at once
hold_nothing
Warning A hold block names no thing and no pickup piece, so nothing was held.
How to fix it: Hold a thing of the game, other in a touch hat, or a pickup piece by its id.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "hold", "who": "Sunny", "thing": "key_1"}
]
}
]
}What the check says: A hold block names no thing and no pickup piece, so nothing was held. (hold key_1)
hud_kind_unknown
Error show can show a variable as a number, hearts, a bar or a clock. It can show a list as a list.
How to fix it: Use number, hearts, bar, clock or list.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "show", "name": "score", "as": "dial"}
]
}
],
"vars": {"score": 0}
}What the check says: scripts[0].body[0].as: must be one of number, hearts, bar, clock, list
id_taken
Error Two pieces have one id (or a command makes a piece with an id that is taken), so a fix could hit the wrong one.
How to fix it: Give each piece an id of its own, or leave id out to get one.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "wall",
"shape": "rect",
"x": 2,
"y": 10,
"w": 1,
"h": 6,
"material": "brick"
},
{
"id": "wall",
"shape": "rect",
"x": 8,
"y": 10,
"w": 1,
"h": 6,
"material": "brick"
}
]
}What the check says: Two pieces have the id "wall" (the 1st and the 2nd); every piece's id is its own, so a fix names the right one.
image_unreadable
Error A picture in the project could not be read as an image.
How to fix it: Give the picture as a PNG data URL ("data:image/png;base64,..."), as the editor saves it.
An example that gets this code
{
"format": "jabbertoon-project",
"version": 2,
"cartoon": {
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Ann"}},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
},
"assets": {
"characters": {
"A": {
"kind": "drawn",
"png": "data:image/png;base64,aGVsbG8="
}
},
"sounds": {}
}
}What the check says: assets.characters.A.png: Character A's picture could not be read (that is not an image this renderer can read (Unsupported image type)).
input_bad
Error An input is [tick, "down" or "up", key] or [tick, "click", x, y].
How to fix it: Write the input in that shape: the tick, then what happened.
Why there is no example: This code is about a log of a game's inputs, not about the game. A replay or a tool that sends inputs gets it for an input that is not [tick, "down" or "up", key] or [tick, "click", x, y]; the game itself never does.
input_hat_in_video
Warning A move starts a script with key or click, which fire only in the block editor, never in a video.
How to fix it: In a video nobody presses a key or clicks: start it with "when it starts" or "when the scene starts" instead.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"template": "cat"}, "at": {"x": 0.5}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": {
"v": 1,
"kind": "behaviour",
"scripts": [
{
"hat": {"on": "key"},
"body": [{"op": "hop", "amp": 30}]
}
]
},
"for": 1
},
{"op": "wait", "s": 1}
]
}
]
}What the check says: The "key" hat in A's move fires only in a game, when the player presses a key; in a video it never fires.
input_in_the_past
Error That input is for a tick that has already run.
How to fix it: Send inputs for the tick the game is at, or later.
Why there is no example: This code is about a log of a game's inputs, not about the game. It is given to an input sent for a tick the game has already played, and that input is not used.
invalid_program
Error The program does not validate, so it cannot be played.
How to fix it: Validate the program and fix the errors it lists (each names its block by its path), then play it again.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "nope"}]}]
}What the check says: It does not validate, so it cannot be played: scripts[0].body[0]: unknown op "nope" (op_unknown).
item_out_of_range
Warning A list was read past its end, so 0 was used.
How to fix it: Check the item number against length of the list.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "setVar",
"var": "v",
"value": "=item(l, 3)"
}
]
}
],
"lists": {"l": []},
"vars": {"v": 0}
}What the check says: A list was read past its end, so 0 was used. (l)
job_unknown
Error There is no render with that job here: a job lives only while the tool that started it runs.
How to fix it: Start the render again with render_video.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
Only in the downloadable tool, not yet published: render_video
jump_without_gravity
Warning A jump needs gravity to come down again, so nothing jumped.
How to fix it: Give it gravity first. Use the block that says it falls with gravity, and set it to 40.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "jump", "who": "Sunny", "h": 2}]
}
]
}What the check says: A jump needs gravity to come down again, so nothing jumped. (Sunny)
key_bad
Error A cells piece's key cannot be read: it is not an object of letters, a letter is not one printable letter, or a letter's value is not a material's name.
How to fix it: Write the key as {"q": "my_ice"}: one printable letter (not a space, ", \, _ or .) to the name of a material.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "wall",
"shape": "cells",
"x": 2,
"y": 10,
"rows": ["qq"],
"key": {"q": 7}
}
]
}What the check says: The key gives "q" 7, not the name of a material.
key_full
Error A cells piece's key has more than 64 letters, or more materials than the key's letters can name.
How to fix it: Use fewer materials in one cells piece, or split it.
Why there is no example: This code is about a world past one of its limits (its size in bytes, its pieces, its drawn points, its marks, its own structures, pieces and materials, or a key's letters), so the smallest world that gets it is far too long to show here. The message says how far past the limit it is and what to make smaller.
key_hat_never_pressed
Warning A key hat waits for a key the touch pad does not have. On a phone or a tablet, no one can press it.
How to fix it: Use one of the pad's keys: left, right, up, down or space.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "key", "key": "q"},
"body": [{"op": "win"}]
}
]
}What the check says: The hat "when the q key is pressed" (scripts[0]) waits for a key the touch pad does not have (it has left, right, up, down, space).
ladder_reaches_nothing
Warning A ladder or a vine has nothing to step onto at its top: no floor, ledge or ground beside it there.
How to fix it: Make it reach a floor or a ledge (its top a little above the floor it leads to), or add a ledge at its top.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "up",
"shape": "rect",
"x": 10,
"y": 8,
"w": 1,
"h": 8,
"material": "ladder"
}
]
}What the check says: The rect up (ladder, x 10-11) reaches y 8 with nothing to step onto at its top: no floor, ledge or ground there or within a jump (6 blocks) beside it.
lag_negative
Warning A lag below 0 runs the wave from the tip toward the body.
How to fix it: Give a lag of 0 or more (0.08 s is the usual).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "swish", "lag": -0.1}]}]
}What the check says: scripts[0].body[0].lag: a lag below 0 (-0.1 s) runs the wave from the tip toward the body
lag_slow
Warning A lag of more than 1 s for each segment is very slow.
How to fix it: Use a lag under 1 s (0.08 s is the usual).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "swish", "lag": 2}]}]
}What the check says: scripts[0].body[0].lag: a lag of 2 s for each segment is very slow
layer_unknown
Error That is not a layer of the world.
How to fix it: Use back, main or front. Only cells in the main layer stop a body.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "setblock",
"x": 3,
"y": 3,
"material": "stone",
"layer": "middle"
}
]
}
]
}What the check says: scripts[0].body[0].layer: there is no layer "middle": a world's layers are back, main, front
layout_item_bad
Error A placed thing is {thing, id, x, y, size, facing}.
How to fix it: Give it the thing's name, an id and x and y in blocks.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"things": {"Star": {"shape": "star"}},
"levels": {"One": {"layout": ["Star"]}}
}What the check says: levels.One.layout[0]: must be {thing, id, x, y, size?, facing?}
layout_not_list
Error A level's layout is a list of placed things: [{thing, id, x, y}].
How to fix it: Write the layout in square brackets.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": {"One": {"layout": {"thing": "Star"}}}
}What the check says: levels.One.layout: must be a list of {thing, id, x, y}
level_bad
Error A level is {world, start, layout}.
How to fix it: Give the level a world (or leave it out for the default world).
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": {"One": "the first"}
}What the check says: levels.One: must be {world, start, layout}
level_name_long
Error A level's name can have at most 40 letters.
How to fix it: Use a shorter name.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": {
"A very long name for a level that goes on and on": {}
}
}What the check says: levels.A very long name for a level that goes on and on: a level name is 40 characters or fewer
level_never_reached
Warning A level is never reached. No next block and no "go to level" block takes the game there.
How to fix it: Add a next block, say in the hat for touching the goal. Or add a "go to level" block. Or take the level out.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{"hat": {"on": "click"}, "body": [{"op": "win"}]}
],
"levels": {"One": {}, "Two": {}}
}What the check says: The level "Two" is never reached: no next block, and no "go to level" block names it, so the game never gets there.
level_start_bad
Error A level's start says where each character starts: a mark's name, or {x, y} in blocks.
How to fix it: Use a mark of the world, like "spawn", or {x: 4, y: 16}.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": {"One": {"start": 7}}
}What the check says: levels.One.start: must be {Id: mark name | {x, y}}
level_unknown
Error A block or hat names a level the game does not have.
How to fix it: Check the level's name in levels.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{"hat": {"on": "scene", "name": 7}, "body": []}
]
}What the check says: scripts[0].hat.name: there is no level "7"
levels_not_object
Error levels is a list of named levels: {"Level 1": {world, start, layout}}.
How to fix it: Write levels as {Name: {...}}.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": ["One", "Two"]
}What the check says: levels: must be {Name: {world, start, layout}}
line_cut
Warning A line is cut off before it ends, when its scene ends.
How to fix it: Give the line time to end: a wait after it, or pin the next scene later; a "stop all" ends lines too.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": 0.4}}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "together",
"branches": [
[
{
"op": "say",
"who": "A",
"text": "This is a long line that will not finish."
}
],
[{"op": "stopAll"}]
]
}
]
},
{
"hat": {"on": "scene", "name": "t"},
"body": [{"op": "wait", "s": 1}]
}
]
}What the check says: A's line "This is a long line that will not finis…" is cut off at 0 s, when scene "s" ends.
link_bad_name
Error This holds a name a link cannot carry (__proto__, constructor or prototype), so no link was made.
How to fix it: Rename that setting, variable or key.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"name": "wave_hello",
"scripts": [
{
"body": [
{"op": "mood", "mood": "happy"},
{"op": "bob", "amp": 4, "every": 1.2},
{
"op": "setPart",
"part": "right forearm",
"deg": 20
},
{
"op": "setPart",
"part": "right arm",
"deg": 150,
"over": 0.35,
"ease": "out"
},
{
"op": "forever",
"body": [
{
"op": "turnPart",
"part": "right forearm",
"deg": -40,
"over": 0.2
},
{
"op": "turnPart",
"part": "right forearm",
"deg": 40,
"over": 0.2
}
]
}
]
}
],
"params": {"constructor": 1}
}What the check says: program: That uses a name a link cannot carry (__proto__, constructor or prototype), so no link was made. Rename it, then make the link again.
link_too_big
Error This holds more than a link can carry (over 1 MB), so no link was made.
How to fix it: Make it smaller: fewer scenes, shorter moves, or save it to a file instead.
Why there is no example: The tools give this code from their own checks of what they are sent (the cast and its looks, a cartoon's file, a pack, a link, or the video it would make), which the engine's checks this page takes its examples from do not make. The message the tool gives with it names the part to change.
list_item_bad
Error A list holds numbers and words. A word can have at most 200 letters.
How to fix it: Use a number or a short word.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"lists": {"l": [{"a": 1}]}
}What the check says: lists.l[0]: must be a number or a word of 200 characters or fewer
list_not_list
Error A list starts as a list of numbers and words, like [3, 4] or ["apple", "pear"].
How to fix it: Write the list in square brackets.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"lists": {"l": "apples"}
}What the check says: lists.l: must be a list of numbers and words
list_too_long
Warning A list got to 10,000 items. So no more were put in it.
How to fix it: Clear the list, or remove items you no longer need.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "repeat",
"n": 10001,
"body": [
{"op": "addTo", "list": "l", "value": 1}
]
}
]
}
],
"lists": {"l": []}
}What the check says: A list got to 10,000 items. So no more were put in it. (l)
list_unknown
Error A block or formula names a list the game does not have.
How to fix it: Make the list in lists, or check its name.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "addTo", "list": "basket", "value": 1}
]
}
]
}What the check says: scripts[0].body[0].list: there is no list "basket" in lists
list_value_missing
Error Adding to a list needs a value or a word.
How to fix it: Give the block a value (a number or a formula) or a word.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "addTo", "list": "l"}]
}
],
"lists": {"l": []}
}What the check says: scripts[0].body[0]: needs a value or a word
look_colors_not_object
Warning A look's colors is not an object; the renderer uses its default colours.
How to fix it: Write colors as {"body": "#ffcf77", "skin": "#9e8a78", "acc": "#6a4c93"}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"colors": "#fff"}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.colors: must be {body, skin, acc}
look_colour_bad
Warning A colour is not written as one; the renderer uses its default.
How to fix it: Write a colour as # and 3 or 6 hex digits, like "#ffcf77".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"colors": {"body": "red"}}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.colors.body: must be a colour like "#ffcf77", not "red"
look_colour_outside_colors
Warning A colour is written straight in the look, where the renderer does not read it.
How to fix it: Move it into "colors": {"colors": {"body": "#ffcf77", "skin": "#9e8a78", "acc": "#6a4c93"}}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"template": "dog", "skin": "#9e8a78"}}
},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look: "skin" is a colour: colours go in "colors" ({body, skin, acc}), where the renderer reads them
look_colour_unknown
Warning A colour slot is not one a character has; it is ignored.
How to fix it: Use the slots body, skin and acc (list_characters says what each one paints).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"colors": {"hair": "#fff"}}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.colors: unknown colour "hair" (the colours are body, skin, acc)
look_facing_bad
Warning A look's facing is neither 1 nor -1; the renderer takes the art as drawn.
How to fix it: Set the look's facing to 1 (the art faces right, or the front) or -1 (it faces left).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"facing": 0}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.facing: must be 1 (the art faces right, or the front) or -1 (it faces left)
look_field_unknown
Warning A look has a field the renderer does not use; it is ignored.
How to fix it: Use template, style, shape, look, proportions, colors, stretch, options and facing only.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"template": "dog", "hat": "tall"}}
},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look: unknown field "hat"
look_given_twice
Warning A look gives both the editor's name and the engine's name for one thing (look and style, or proportions and shape); the engine's wins.
How to fix it: Keep one of the two: style (or look), shape (or proportions).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"look": "crayon", "style": "flat"}}
},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.look: is the studio's name for "style", which is given too and wins: keep one
look_name_not_text
Warning A name in a look (template, style, shape and so on) is not text; the renderer uses its own.
How to fix it: Give it as text: "template": "dog".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"template": 5}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.template: must be a name (a string)
look_not_object
Error A cast member's look is not an object.
How to fix it: Write the look as {"template": "dog", "style": "outlined", "colors": {"body": "#ffcf77"}}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": "flat"}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look: must be {template, style, shape, colors, facing}
look_options_not_object
Warning A look's options is not an object; it is ignored.
How to fix it: Write options as {"name": value}, the options list_characters gives for the template.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"options": [true]}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.options: must be {name: value}
look_outside_picture
Error A cast member's look names a picture from outside (an emoji, an image address, an avatar), which jabbertoon.com never fetches, so render_video refuses that character.
How to fix it: Draw it as one of the six ready-made characters instead ({"template": "dog"}), and leave the picture out.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {
"name": "Ann",
"look": {
"template": "kid",
"image": "https://example.com/ann.png"
}
}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: cast.A.look.image: "image" names a picture from outside, which jabbertoon.com never fetches, so render_video refuses this character
Only in the downloadable tool, not yet published: render_video
look_stretch_bad
Warning A stretch is not a number more than 0; it is ignored.
How to fix it: Give each stretch as a number more than 0 (1 is as drawn).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"stretch": {"head": 0}}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.stretch.head: must be a number more than 0, not 0
look_stretch_field_unknown
Warning A look's stretch has a part other than head, body and legs; it is ignored.
How to fix it: Stretch only head, body and legs.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"stretch": {"arms": 2}}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.stretch: unknown field "arms" (stretch has head, body, legs)
look_stretch_not_object
Warning A look's stretch is not {head, body, legs}; it is ignored.
How to fix it: Write stretch as {"head": 1.2, "body": 1, "legs": 0.9} (1 is as drawn).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"look": {"stretch": 2}}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: cast.A.look.stretch: must be {head, body, legs}
look_target_unknown
Warning A camera or a look names someone who is not in the cast and is not a mark of the world of its place.
How to fix it: Name someone in the cast or one of the world's marks, or give a point {x, y}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {
"yard": {
"world": {
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"layer": "main",
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
]
}
],
"marks": {
"door": {"x": 4, "y": 16},
"tree": {"x": 20, "y": 16}
}
}
},
"park": "meadow"
},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "camera", "look": "Nobody"}]
}
]
}What the check says: "Nobody" is not in the cast and not a mark of the world of "yard" (its marks: door, tree)
loud_hat_in_game
Error A game has no song to hear, so "when it gets loud" never fires there.
How to fix it: Start the script with a key, a click or a touch instead.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{"hat": {"on": "loud", "over": 0.5}, "body": []}
]
}What the check says: scripts[0].hat: a game has no song to hear: use a key, a click or a touch
mark_name_bad
Error A character is placed at a mark whose name is not a name (a mark is named with letters, digits, _ and -).
How to fix it: Give the name of one of the world's marks, like door_a, or place the character by a point: bx and by.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [
{"op": "place", "who": "A", "at": "the front door"}
]
}
]
}What the check says: "the front door" is not a mark's name: a mark is named with letters, digits, _ and -, like door_a
mark_outside
Error A mark (the spawn, the goal, a checkpoint or a spot) is outside the world.
How to fix it: Move it inside: x from 0 to the width, y from 0 to the height.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
}
],
"marks": {"spawn": {"x": 40, "y": 16}}
}What the check says: The mark spawn at (40, 16) is outside the 32 x 18 world.
mark_unknown
Warning A character is placed at a mark the world of its place does not have.
How to fix it: Use one of the world's marks (did_you_mean names the nearest), or add the mark to the world.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {
"yard": {
"world": {
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"layer": "main",
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
]
}
],
"marks": {
"door": {"x": 4, "y": 16},
"tree": {"x": 20, "y": 16}
}
}
},
"park": "meadow"
},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "place", "who": "A", "at": "dor"}]
}
]
}What the check says: A is placed at the mark "dor", which the world of "yard" does not have (its marks: door, tree)
material_loop
Error A world's own material is made from itself, or from more than four materials in a row.
How to fix it: Make each world material from a shipped one, at most four steps away.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "slab",
"shape": "rect",
"x": 4,
"y": 15,
"w": 3,
"h": 1,
"material": "mine"
}
],
"materials": {
"mine": {"base": "yours"},
"yours": {"base": "mine"}
}
}What the check says: The material "mine" is made from itself or from more than 4 materials in a row (mine -> yours -> mine).
missing_field
Error A piece (or a mark, a material or a command) is missing a field it needs: a shape its size, a piece its material, a circle its w.
How to fix it: Add the field the message names; a circle is placed by its box: w is the width (2r), and x, y are the top-left.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "ball",
"shape": "circle",
"x": 20,
"y": 15,
"r": 2,
"material": "stone"
}
]
}What the check says: This circle has no w. w is the width: w is 2r, and x, y move to the top-left (a circle of r 2 at the centre (20, 15) is x 18, y 13, w 4).
mood_missing
Error A mood block does not say which mood.
How to fix it: Give "mood": happy, sad, angry, surprised, scared, sleepy, laughing, worried, smug, disgusted, thinking or normal.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "mood", "who": "A"}]
}
]
}What the check says: scripts[0].body[0].mood: needs a mood, e.g. "happy"
move_block_in_scene
Error A scene uses a block that moves a character, which is a move's job.
How to fix it: Put the block in a move (a behaviour program) and start it with does {who, behaviour}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "move", "dx": 10}]
}
]
}What the check says: scripts[0].body[0]: "move" moves a character; in a scene, put it in a behaviour and use does {who, behaviour}
move_cut
Warning A move given a time (does … for N s) is cut off before it is done, when its scene ends.
How to fix it: A does with a for does not wait: put a wait after it, or give the scene time for the move to end.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"template": "kid"}, "at": {"x": 0.3}},
"B": {
"look": {"template": "dog"},
"at": {"x": 0.7, "facing": -1}
}
},
"places": {"park": "meadow"},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "park"
},
"body": [
{"op": "say", "who": "A", "text": "Bye!"},
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:wave_hello",
"for": 3
}
]
},
{
"hat": {
"on": "scene",
"name": "Two",
"place": "park",
"at": 3
},
"body": [
{"op": "say", "who": "A", "text": "Hi again"},
{
"op": "exit",
"who": "B",
"to": "right",
"over": 4
}
]
},
{
"hat": {
"on": "scene",
"name": "Three",
"place": "park",
"at": 5
},
"body": [
{"op": "caption", "text": "The end", "for": 2}
]
}
]
}What the check says: A's move "c4c:beh:wave_hello" is cut off when scene "One" ends at 3 s: 2.4 of 3 s done.
move_does_not_fit
Warning That move is for a different body. This character cannot play it.
How to fix it: Pick a move made for this body.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {
"Sunny": {
"pack": "c4c:char:kid",
"legs": 2,
"states": {
"list": {"still": {"does": "c4c:beh:static"}}
}
}
},
"scripts": []
}What the check says: cast.Sunny.states.list.still.does: "c4c:beh:static" does not move a body with 2 legs (Sunny)
move_id_bad
Error A does names a move that is not a pack id.
How to fix it: Give a move's id, like "c4c:beh:walk" (list_moves gives them all).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{"op": "does", "who": "A", "behaviour": "walk"},
{
"op": "does",
"who": "B",
"behaviour": {"id": "Walk"}
}
]
}
]
}What the check says: scripts[0].body[0].behaviour: "walk" is not a pack id like "c4c:beh:bounce"
move_travels_in_game
Warning That move walks the character across the screen in its drawing. In a game it would leave its box.
How to fix it: Move it with steer, a speed or toward, and give it a move that stays in place (idle, walk in place).
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "does",
"who": "Sunny",
"behaviour": "c4c:beh:walk"
}
]
}
]
}What the check says: scripts[0].body[0].behaviour: "c4c:beh:walk" moves the character's drawing out of its place (more than 40 px at 1080p), so it would leave its box: in a game, use steer or a speed, and a move that stays in place
move_version_not_text
Error A does gives a move's version that is not text.
How to fix it: Give the version as text, like "1.0.0", or leave it out.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": {"id": "c4c:beh:walk", "version": 1}
}
]
}
]
}What the check says: scripts[0].body[0].behaviour.version: must be a string
move_wrong_body
Warning A character does a move that does not suit its body: it moves nothing on it, or it moves legs the character does not have.
How to fix it: Give this character a move made for its body (list_moves says what each move works on), or another character.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"template": "person"}, "at": {"x": 0.3}},
"B": {"look": {"template": "dog"}, "at": {"x": 0.7}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:tail_only",
"for": 1
},
{
"op": "does",
"who": "B",
"behaviour": "c4c:beh:tail_only",
"for": 1
},
{"op": "wait", "s": 1},
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:static",
"for": 1
},
{"op": "wait", "s": 1}
]
}
]
}What the check says: A does tail_only at 0 s, which moves nothing on a person.
name_clash
Error Two things in the game have the same name. Or a name is a word the game uses itself, like me, other, level, tick, edge or goal.
How to fix it: Give each character, thing, variable, list and state its own name.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"things": {"Sunny": {"shape": "star"}}
}What the check says: things.Sunny: "Sunny" is already the name of the character Sunny
name_not_identifier
Error A name in a game can use letters, digits and _. It can be 32 long at most. It must not start with a digit. Then formulas can read it.
How to fix it: Rename it, for example Sunny, Star_2 or lives.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Big Sunny": "c4c:char:kid"},
"scripts": []
}What the check says: cast.Big Sunny: "Big Sunny" must be a name of letters, digits and _ (32 or fewer, not starting with a digit)
name_of_a_character
Warning A scene reads "loud" or "talking", which belong to a character; a scene reads 0.
How to fix it: Read them in a move (a behaviour) that the scene starts with does.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "wait", "s": "=loud"}]
}
]
}What the check says: scripts[0].body[0].s: "loud" belongs to a character; a scene reads 0
name_taken
Error Your own structure, pre-made piece or material takes the name of a shipped one.
How to fix it: Call it something else, such as my_hut.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [],
"materials": {"ice": {"base": "ice", "friction": 0.02}}
}What the check says: "ice" is a shipped material's name; a world's own material needs a name of its own.
name_unknown
Warning A formula uses a name that is not a setting, a variable or one the engine gives, so the move fails when it plays.
How to fix it: Use a name the program has (its settings and variables) or one the engine gives: t, tau, local, dur, loud, talking, random, pi, e.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{"op": "wave", "ch": "dy", "amp": "=wiggle * 3"}
]
}
]
}What the check says: scripts[0].body[0].amp: unknown name "wiggle" (param, var or builtin?)
no_goal
Warning A level (check level) has no goal: the mark where the flag is.
How to fix it: Add one on the ground at the end (fix_ops gives one).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
}
],
"marks": {"spawn": {"x": 3, "y": 16}}
}What the check says: This level has no goal: the mark where the flag is.
no_spawn
Warning A level (check level) has no spawn: the mark where the hero's feet start.
How to fix it: Add one on the ground (fix_ops gives one).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
}
],
"marks": {"goal": {"x": 28, "y": 16}}
}What the check says: This level has no spawn: the mark where the hero's feet start.
no_way_to_end
Warning The game has no way to end. No block wins, loses or goes to the next level. And nothing happens at the goal.
How to fix it: Add a hat "when [hero] touches the goal" with a win block in it. Or add a lose block for when the lives run out.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "steer",
"who": "Sunny",
"keys": "arrows",
"speed": 8
}
]
}
]
}What the check says: The game has no way to end. No block wins, loses or goes to the next level. And nothing happens at the goal.
node_missing
Error Making a video from Python is done by the jabbertoon command, which needs Node.js 22 or later, and neither the jabbertoon command nor npx was found.
How to fix it: Install Node.js 22 or later (https://nodejs.org/), which brings npx, then render again; or give render() the jabbertoon command you have, with cli= or JABBERTOON_CLI.
Why there is no example: This code is about a file, a folder or the computer the jabbertoon tool runs on, not about a program, so no program gets it. The message the tool gives with it names the file or the folder, or what the computer needs, such as Node.js.
node_too_old
Error This Node.js is older than the jabbertoon tool needs (22 or later).
How to fix it: Install Node.js 22 or later from https://nodejs.org/.
Why there is no example: This code is about a file, a folder or the computer the jabbertoon tool runs on, not about a program, so no program gets it. The message the tool gives with it names the file or the folder, or what the computer needs, such as Node.js.
not_a_cartoon
Error That is not something Jabbertoon can draw: it is not a cartoon, scene or move program, a cartoon pack, or a project file.
How to fix it: Give a cartoon program ({"v": 1, "kind": "cartoon", "cast": {...}, "scripts": [...]}), a cartoon pack, a .jabbertoon.json project (version 2), or a move program.
Why there is no example: The tools give this code from their own checks of what they are sent (the cast and its looks, a cartoon's file, a pack, a link, or the video it would make), which the engine's checks this page takes its examples from do not make. The message the tool gives with it names the part to change.
not_a_number
Error A place, size, turn or point is not a number of blocks (text, NaN, true, null, a list).
How to fix it: Write the number itself, such as 5 or 2.5, without quotes.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "wall",
"shape": "rect",
"x": "5",
"y": 10,
"w": 1,
"h": 6,
"material": "brick"
}
]
}What the check says: x is "5", not a number.
not_a_piece
Error What was given as a piece is not one: a piece is an object.
How to fix it: Give an object with a shape (rect, circle, ellipse, tri, poly, draw, plank or cells) or a use (a pre-made piece or structure), and its x and y in blocks.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 10,
"h": 10,
"sky": "day",
"pieces": ["rock"]
}What the check says: This is not a piece: it is "rock" (text).
not_a_world
Error What was given as a world is not one: a world is an object with a list of pieces.
How to fix it: Give {v: 1, kind: "world", w, h, sky: {kind: "day"}, pieces: [...]}.
An example that gets this code
{"v": 1, "kind": "world", "w": 32, "h": 18}What the check says: This is not a world: it has no list of pieces.
not_built_yet
Error What was sent is part of the next Jabbertoon release and is not built yet.
How to fix it: Nothing to change in what you sent: this answer will change when it is built. Until then, make cartoons and moves as before.
Why there is no example: This code is given to something sent that the next Jabbertoon release will open and that this one cannot check yet, so no program of today gets it. The message names what was sent, and nothing about it needs changing.
not_found
Error There is nothing of that name.
How to fix it: Use a name the tool lists (list_moves for a move).
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
not_json
Error That is not something a link can carry, so no link was made.
How to fix it: Give plain JSON values only: objects, lists, text, numbers, true, false and null.
Why there is no example: The tools give this code from their own checks of what they are sent (the cast and its looks, a cartoon's file, a pack, a link, or the video it would make), which the engine's checks this page takes its examples from do not make. The message the tool gives with it names the part to change.
not_on_grid
Warning A number is not on the 0.05-block grid (or a friction, bounce, speed or alpha not on 0.01), so it was rounded to the nearest.
How to fix it: Use the rounded value the message gives: numbers are blocks to 0.05.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "plank",
"shape": "rect",
"x": 4.333,
"y": 12,
"w": 3,
"h": 0.4,
"material": "wood",
"rests": false
}
]
}What the check says: x is 4.333; numbers are blocks to 0.05, so it is 4.35.
not_supported_here
Error This door does not do that: it is done by the tool on your own computer (reading a file, playing the cartoon through).
How to fix it: Send the cartoon itself, or use the jabbertoon tool on your own computer.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
not_whole
Error A cell command (setblock, fill, line, flood, erase, copy, mirror) or a repeat was given a number that is not whole.
How to fix it: Use whole numbers of blocks for cells; in a formula, floor( ) makes one whole.
An example that gets this code
{
"v": 1,
"kind": "build",
"start": {"w": 32, "h": 18},
"body": [
{
"op": "setblock",
"x": 4.5,
"y": 15,
"material": "brick"
}
]
}What the check says: x is 4.5 at body[0]; a cell command takes whole numbers of blocks.
number_not_finite
Error A number is not finite (it is too big, or not a number at all).
How to fix it: Give an ordinary number.
An example that gets this code
{"v":1,"kind":"behaviour","vars":{"x":1e400},"scripts":[]} What the check says: vars.x: not a finite number
number_too_big
Error A place or size in a piece is too big to work with exactly: every number of a world lies within 16,384 blocks of 0, and so does every point of every outline. Infinity (1e999 in JSON) is too big too.
How to fix it: Use the piece's real place and size in blocks: a world is at most 1,024 blocks wide and 256 high. A pre-made piece stretched very far, or nested inside others, can reach past 16,384 too: make it smaller.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 10,
"h": 10,
"sky": "day",
"pieces": [
{
"id": "wall",
"shape": "rect",
"x": 100000000000000000000,
"y": 1,
"w": 1,
"h": 1,
"material": "stone"
}
]
}What the check says: A number in this piece is too big: 100000000000000000000 blocks is past 16,384. Every place and size in a world lies within 16,384 blocks of 0.
offline
Error The tool runs with --offline, so the report was not sent.
How to fix it: Run the tool without --offline to send reports, or write to hello@jabbertoon.com.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
offstage
Warning A character is shown partly out of the frame (more than 2% of its width or its height past an edge, or a quarter of its face out of the picture) while not entering or leaving.
How to fix it: Place the character where all of it is in the picture, its face too: no more than 2% of its width or its height past an edge (the issue gives the places that keep it in when there are some: a dog or a cat, drawn wider than it is tall, needs more room from an edge than a person), its feet, y, near the ground at 0.92; or let it exit if it should leave. When its own move takes it out, the issue names the move.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {
"look": {"template": "dog"},
"at": {"x": 0.5, "h": 1.6}
}
},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "wait", "s": 1}]
}
]
}What the check says: A's face is out of the frame from 0 s to 1 s (at x 0.5, facing right; 39% of its face in the picture): it is out above the frame: give it a smaller size, or its feet (y) near the ground at 0.92.
op_unknown
Error A block's "op" is not one the language has.
How to fix it: Use a block the language has (the spec lists them; a scene uses say, does, caption, cut, enter, exit, place, mood and the control blocks).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "fly"}]}]
}What the check says: scripts[0].body[0]: unknown op "fly"
option_unknown
Warning A cast member's look gives an option its character does not have, so it does nothing.
How to fix it: Use the character's own options (list_characters gives each one's), or leave the option out.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {
"name": "Blob",
"look": {
"template": "monster",
"options": {"wings": 2}
}
}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: cast.A.look.options: the monster has no option "wings", so it does nothing
option_value_unknown
Warning A look option has a value the character does not take, so the site reads it as one of the values it does take.
How to fix it: Use one of the values list_characters gives for that option.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {
"name": "Blob",
"look": {
"template": "monster",
"options": {"eyes": 7}
}
}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: cast.A.look.options.eyes: the monster's option "eyes" (Eyes) takes 2 (Two) or 1 (One), not 7, so the site reads it as "Two"
outline_colour_ignored
Warning A part has its own outline colour, which is drawn only on a character in format v2 (content.fx 2); this character is drawn the classic way, so the colour is not used.
How to fix it: Set content.fx to 2 to draw the part's own outline colour, or give the part outline true.
Why there is no example: This code is about a character's drawing (format v2), not about a program, so no program gets it. The character checks give it (in the studio, the character maker and the downloadable tool) for a part's path, texture or outline, or for where the character stands; the message names the part and the number to change.
outside_world
Warning A piece pokes out of the world (or a command wrote cells outside it, which were skipped).
How to fix it: Keep pieces and cells inside the world: what is outside is never seen or stood on.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "long",
"shape": "rect",
"x": 28,
"y": 10,
"w": 8,
"h": 1,
"material": "wood",
"rests": false
}
]
}What the check says: The rect long (wood, x 28-36) pokes out of the world (x 28 to 36, y 10 to 11; the world is 32 x 18).
overlap
Warning Two characters stand over each other for half a second or more: one covers half or more of the other, one face covers half or more of the other face, or the one drawn in front (the later in the cast, in the order a link gives it) covers half or more of the face of the one behind.
How to fix it: Move one of them away from the other: the issue gives the place, and the smaller size when only a smaller one has room, that keeps them apart with all of each in the picture; or have one exit first. When a move carries one onto the other, the issue names it.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"template": "person"}, "at": {"x": 0.5}},
"B": {"look": {"template": "kid"}, "at": {"x": 0.52}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{"op": "wait", "s": 2},
{"op": "place", "who": "B", "x": 0.8, "over": 0.5},
{"op": "wait", "s": 1}
]
}
]
}What the check says: A and B stand over each other from 0 s to 2.167 s; placed at x 0.6, B stays clear of A with all of it in the picture.
own_move_not_a_move
Error A does was given a program of its own that is not a move.
How to fix it: Give the move "kind": "behaviour".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": {
"v": 1,
"kind": "scene",
"scripts": []
}
}
]
}
]
}What the check says: scripts[0].body[0].behaviour.kind: an inline behaviour needs kind "behaviour"
pack_invalid
Error A field of the pack's manifest is not right (its id, version, type, name, licence or another).
How to fix it: Fix the field named, as the pack format describes: https://jabbertoon.com/docs/packs/.
An example that gets this code
{
"pack": 1,
"id": "c4c:beh:wave_hello",
"type": "behaviour",
"version": "one",
"name": "Wave hello",
"description": "Raises the right arm and waves, with a happy little bob. Written with friendly blocks.",
"author": {"id": "you", "name": "You"},
"license": "cc0",
"remixable": true,
"derived_from": [],
"preview": {"moves": ["wave_hello"], "seconds": 6},
"content_hash": "sha256:a7cc2f929a2014dc87c812a99f9156a9b5c4e09db56940506eff667f99f27463",
"content": {
"v": 1,
"kind": "behaviour",
"name": "wave_hello",
"scripts": [
{
"body": [
{"op": "mood", "mood": "happy"},
{"op": "bob", "amp": 4, "every": 1.2},
{
"op": "setPart",
"part": "right forearm",
"deg": 20
},
{
"op": "setPart",
"part": "right arm",
"deg": 150,
"over": 0.35,
"ease": "out"
},
{
"op": "forever",
"body": [
{
"op": "turnPart",
"part": "right forearm",
"deg": -40,
"over": 0.2
},
{
"op": "turnPart",
"part": "right forearm",
"deg": 40,
"over": 0.2
}
]
}
]
}
]
}
}What the check says: version: semver x.y.z
part_not_a_name
Error A block's "part" is not text.
How to fix it: Name the part as text: "right arm", "tail", "ears".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "setPart", "part": 5, "deg": 10}]}
]
}What the check says: scripts[0].body[0].part: part name expected, got 5
part_not_drawn
Warning A block moves the neck, which no character draws, so it shows nothing.
How to fix it: Move the head or the torso instead.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "set", "to": {"part:neck": 10}}]}
]
}What the check says: scripts[0].body[0].to.part:neck: no character draws a neck, so "part:neck" moves nothing
part_role_unknown
Warning A part channel names a part no character has, so nothing moves.
How to fix it: Use a part of the vocabulary: head, torso, hips, arm, forearm, hand, leg, shin, foot, tail, ear, wing, fin, claw, snout, nose, hair, hat, eye, brow.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "set", "to": {"part:elbow": 10}}]}
]
}What the check says: scripts[0].body[0].to.part:elbow: no part is called "elbow": nothing draws "part:elbow"
part_unknown
Error A block names a part the language does not know.
How to fix it: Name a part like "right arm", "left leg", "tail", "ears", "head" or "body".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{"op": "setPart", "part": "elbow", "deg": 10},
{"op": "letFollow", "after": "part:elbow"}
]
}
]
}What the check says: scripts[0].body[0].part: unknown part "elbow"
path_outside_folder
Error That file name would put the file outside the output folder.
How to fix it: Give a plain file name (letters, digits, spaces, dots, dashes), with no folder in it.
Why there is no example: This code is about a file, a folder or the computer the jabbertoon tool runs on, not about a program, so no program gets it. The message the tool gives with it names the file or the folder, or what the computer needs, such as Node.js.
pickup_unreachable
Warning In a level (check level), some pickups cannot be reached on foot.
How to fix it: Put them over a place the walker stands, no higher than its jump straight up, or add a ledge or a way up under them (the check never counts one the walker would touch only in the middle of a jump).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "coin_a",
"shape": "circle",
"x": 14,
"y": 4,
"w": 0.7,
"material": "decoration",
"collide": "none",
"pickup": "coin",
"rests": false
}
],
"marks": {
"spawn": {"x": 3, "y": 16},
"goal": {"x": 28, "y": 16}
}
}What the check says: 1 pickup cannot be reached on foot: coin_a (x 14-14.7, y 4-4.7).
piece_floating
Warning A piece that rests (W2: a solid piece in the main layer, by default) stands on nothing: it floats over what is under it, or over nothing at all.
How to fix it: Drop it (the fix gives the y it lands at; fix_ops is the drop), or set rests=false if it is meant to hang in the air.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "box",
"shape": "rect",
"x": 10,
"y": 12,
"w": 2,
"h": 2,
"material": "wood"
}
]
}What the check says: The rect box (wood, x 10-12) floats 2 blocks above the grass cells of grid_main (x 0-32).
piece_not_data
Error A pre-made piece (or a material) holds something that is not part of one, or holds a piece placed with use among its shapes.
How to fix it: Take that field out: a pre-made piece is v, kind, art, name, w, h, shapes, tile, states and anchor.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [],
"library": {
"post": {
"v": 1,
"kind": "piece",
"art": 1,
"name": "post",
"w": 1,
"h": 2,
"shapes": [
{
"id": "s",
"shape": "rect",
"x": 0,
"y": 0,
"w": 1,
"h": 2,
"material": "wood"
}
],
"body": []
}
}
}What the check says: "body" is not part of a pre-made piece: a pre-made piece is data only (art, name, w, h, shapes, tile, states, anchor, derived_from, material).
piece_outside
Warning A piece lies wholly outside the world, so it is never seen or stood on.
How to fix it: Move it inside the world (fix_ops gives the move), or make the world bigger.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "lost",
"shape": "rect",
"x": 40,
"y": 10,
"w": 2,
"h": 2,
"material": "wood",
"rests": false
}
]
}What the check says: The rect lost (wood, x 40-42) is outside the 32 x 18 world (x 40 to 42, y 10 to 12).
piece_ref_missing
Error A piece block needs the piece's id, or x and y to find it.
How to fix it: Give the piece's id, or the place (x and y in blocks).
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{"hat": {"on": "start"}, "body": [{"op": "opendoor"}]}
]
}What the check says: scripts[0].body[0]: needs the piece's id, or x and y
pieces_overlap
Warning A solid piece lies wholly inside another solid piece, so it adds nothing but link characters.
How to fix it: Remove it (fix_ops), or move it out.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "big",
"shape": "rect",
"x": 4,
"y": 10,
"w": 6,
"h": 6,
"material": "stone"
},
{
"id": "small",
"shape": "rect",
"x": 5,
"y": 11,
"w": 2,
"h": 2,
"material": "stone"
}
]
}What the check says: The rect small (stone, x 5-7) is wholly inside the rect big (stone, x 4-10), so it adds nothing but link characters.
pinned_scene_squeezed
Warning A scene runs 0 s: the next scene's pinned start had passed when it began.
How to fix it: Pin the next scene later, or shorten what comes before this scene.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": 0.4}}},
"scripts": [
{
"hat": {"on": "scene", "name": "a"},
"body": [{"op": "wait", "s": 2}]
},
{
"hat": {"on": "scene", "name": "b"},
"body": [
{"op": "say", "who": "A", "text": "Squeezed."}
]
},
{
"hat": {"on": "scene", "name": "c", "at": 1},
"body": [{"op": "wait", "s": 1}]
}
]
}What the check says: Scene "b" runs 0 s: the next scene's pinned start had passed when it began at 2 s.
place_entry_bad
Error A place is neither a background's name nor {background, grade}.
How to fix it: Write the place as "meadow" or {"background": "meadow", "grade": "bloom"}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"places": {"park": 5},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: places.park: must be a background name or {background, grade}
place_needs_a_value
Error A place block gives none of x, y, h and facing.
How to fix it: Give at least one: {"op": "place", "who": "A", "x": 0.3}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "place", "who": "A"}]
}
]
}What the check says: scripts[0].body[0]: place needs at least one of x, y, h, facing
place_not_a_name
Error A place is not given as a name.
How to fix it: Give the place as text: a name of the places (or a background, like "meadow").
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"places": {"park": "meadow"},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "cut", "place": 5}]
}
]
}What the check says: scripts[0].body[0].place: must be a place name
place_unknown
Error A cut or a scene names a place the places do not have.
How to fix it: Use a name of the places, or add it to "places".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"places": {"park": "meadow"},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "cut", "place": "beach"}]
}
]
}What the check says: scripts[0].body[0].place: unknown place "beach" (places: park)
placed_twice
Error A placement says where to stand in more than one way: a mark (at), a point (bx, by) or a share of the view (x, y).
How to fix it: Keep one of them: a mark is easiest in a world.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [
{
"op": "place",
"who": "A",
"at": "door",
"bx": 12,
"by": 16
}
]
}
]
}What the check says: this says where to stand in 2 ways, a mark (at) and a point (bx, by): give one
places_not_object
Error The places are not an object of places by name.
How to fix it: Write places as {"park": {"background": "meadow", "grade": "normal"}}.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"legs": 2}, "B": {"legs": 2}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
],
"places": []
}What the check says: places: must be {name: {background, grade}}
play_stuck
Warning In a level (check level), the play check played it with the real physics and the walker stopped before the goal.
How to fix it: Look at what is just ahead of the place it stopped: make it lower than the jump, add a ramp or a ledge, or leave a gap.
Why there is no example: This code is about a world and the characters of a game or a cartoon together (a character that does not fit the doors, or the walker the play check plays with the real physics), so a world on its own never gets it. The message names the character, or where the walker stopped and what was in its way.
play_warning
Warning The player warned about something while it played the cartoon; the issue gives its words.
How to fix it: Read what the player says and change the block it names.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": {
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "wait", "s": 1}]}]
},
"params": {"speed": 2}
}
]
}
]
}What the check says: The player warns: does inline: the behaviour has no param "speed" (passed anyway).
point_field_unknown
Error A point has a field other than x and y.
How to fix it: Keep only x and y in the point.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{"op": "reach", "to": {"x": 1, "y": 2, "z": 3}}
]
}
]
}What the check says: scripts[0].body[0].to: a point has x and y only, not "z"
point_needs_bx_and_by
Error A character is placed at a point in the world with only one of bx (across) and by (down).
How to fix it: Give both: bx, the middle of the feet, and by, the line they stand on, in blocks.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "place", "who": "A", "bx": 12}]
}
]
}What the check says: a point in the world needs both bx (across) and by (down, where the feet stand); this one has only bx
point_needs_x_and_y
Error A point is missing x or y.
How to fix it: Give both x and y.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "reach", "to": {"x": 1}}]}]
}What the check says: scripts[0].body[0].to: needs y
point_not_object
Error A reach "to" is not a point {x, y}.
How to fix it: Give the point as {"x": 80, "y": 300} (pixels from the feet, x toward the front).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "reach", "to": [1, 2]}]}]
}What the check says: scripts[0].body[0].to: must be a point {x, y}, not [1,2]
point_not_whole
Error pieceAt reads a point in whole P (1/1280 of a block), and it was given a number that is not whole, such as 1.5 (a value that is not a number at all, such as text, is not_a_number).
How to fix it: Multiply blocks by 1280 and round to a whole number, as toP does.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 10,
"h": 10,
"sky": "day",
"pieces": [
{
"id": "box",
"shape": "rect",
"x": 1,
"y": 1,
"w": 2,
"h": 2,
"material": "stone"
}
]
}What the check says: pieceAt reads whole P (1/1280 block); it was given 1.5, 2.
procedure_bad
Error A block of your own is {params: [names], body: [blocks]}.
How to fix it: Give it params (a list of names, maybe empty) and a body.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"procedures": {
"hop": [{"op": "jump", "who": "Sunny", "h": 2}]
}
}What the check says: procedures.hop: must be {params: [names], body: [blocks]}
procedure_too_deep
Error A block called itself more than 64 times deep, so the game stopped.
How to fix it: Make the block stop calling itself, with an if.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "call", "name": "again"}]
}
],
"procedures": {
"again": {"body": [{"op": "call", "name": "again"}]}
}
}What the check says: A block called itself more than 64 times deep, so the game stopped.
procedure_unknown
Error A call names a block of your own that the game does not have.
How to fix it: Make the block in procedures, or check its name.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "call", "name": "hop"}]
}
]
}What the check says: scripts[0].body[0].name: there is no block "hop" in procedures
program_kind_unknown
Error The program's "kind" is not one the language has.
How to fix it: Set "kind" to "cartoon" (scenes with a cast), "scene" (one scene) or "behaviour" (a move for one character).
An example that gets this code
{"v": 1, "kind": "film", "scripts": []}What the check says: kind: unknown kind "film"
program_kind_wrong
Error The program's kind is not the one this file or pack holds: a cartoon holds a kind "cartoon" program, a scene pack a kind "scene" one.
How to fix it: Set the program's kind to the one named.
An example that gets this code
{
"pack": 1,
"id": "c4c:beh:wave_hello",
"type": "behaviour",
"version": "1.0.0",
"name": "Wave hello",
"description": "Raises the right arm and waves, with a happy little bob. Written with friendly blocks.",
"author": {"id": "you", "name": "You"},
"license": "cc0",
"remixable": true,
"derived_from": [],
"preview": {"moves": ["wave_hello"], "seconds": 6},
"content_hash": "sha256:a7cc2f929a2014dc87c812a99f9156a9b5c4e09db56940506eff667f99f27463",
"content": {
"v": 1,
"kind": "cartoon",
"name": "wave_hello",
"scripts": [
{
"body": [
{"op": "mood", "mood": "happy"},
{"op": "bob", "amp": 4, "every": 1.2},
{
"op": "setPart",
"part": "right forearm",
"deg": 20
},
{
"op": "setPart",
"part": "right arm",
"deg": 150,
"over": 0.35,
"ease": "out"
},
{
"op": "forever",
"body": [
{
"op": "turnPart",
"part": "right forearm",
"deg": -40,
"over": 0.2
},
{
"op": "turnPart",
"part": "right forearm",
"deg": 40,
"over": 0.2
}
]
}
]
}
]
}
}What the check says: content.kind: must be "behaviour"
program_not_object
Error What was given is not a program: a program is a JSON object.
How to fix it: Give the program as an object: {"v": 1, "kind": "cartoon", "cast": {...}, "scripts": [...]}.
An example that gets this code
5What the check says: program is not an object
program_scripts_not_list
Error The program's "scripts" is not a list.
How to fix it: Make "scripts" a list of scripts: [{"hat": {...}, "body": [...]}].
An example that gets this code
{"v": 1, "kind": "behaviour", "scripts": null}What the check says: scripts: must be an array
program_version
Error The program's "v" is not 1, the only version of the language.
How to fix it: Set "v" to 1.
An example that gets this code
{"v": 2, "kind": "behaviour", "scripts": []}What the check says: v: must be 1
property_bad
Error A property has a value it does not take: collide that is not solid, top or none, a friction past 0 to 1, a sky or a layer that does not exist, a colour that is not #rrggbb.
How to fix it: Give it a value of the kind its property takes (the message gives the range).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "pad",
"shape": "rect",
"x": 4,
"y": 15,
"w": 3,
"h": 1,
"material": "rubber",
"bounce": 1.5
}
]
}What the check says: bounce is 1.5; it goes from 0 to 1.
pts_not_from_corner
Warning A poly's or a drawing's points do not start at its box's corner (the smallest x and y are not 0), so x, y is not the top-left of its box.
How to fix it: Shift the points so the smallest x and y are 0 and move x, y by as much; fix_ops is the shifted piece.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "rock",
"shape": "poly",
"x": 4,
"y": 10,
"material": "stone",
"rests": false,
"pts": [[-1, 0], [2, 0], [2, 2], [-1, 2]]
}
]
}What the check says: The poly rock's points do not start at its box's corner: the smallest x is -1 and the smallest y 0, where both should be 0, so x, y is not the top-left of its box.
reach_needs_target
Error A reach gives neither a point (to) nor a spot (at).
How to fix it: Give "to" a point {x, y} or "at" a spot: hip, head, chest or mouth.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "reach"}]}]
}What the check says: scripts[0].body[0]: reach needs "to" (a point {x, y}) or "at" (a spot: hip, head, chest, mouth)
reach_not_a_limb
Error A reach or a let-go moves something that is not a hand or a foot.
How to fix it: Reach with a hand or a foot: "right hand", "left foot", "hands", "feet".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{"op": "reach", "part": "tail", "at": "hip"}
]
}
]
}What the check says: scripts[0].body[0].part: reach moves a hand or a foot (right hand, left foot, hands, feet), not "tail"
reach_offset_without_spot
Error A reach moves a point with dx or dy, which only move a spot.
How to fix it: Use dx and dy with "at" (a spot); a point is a place of its own.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{"op": "reach", "to": {"x": 1, "y": 2}, "dx": 0.1}
]
}
]
}What the check says: scripts[0].body[0].dx: dx moves a spot: give it with "at" (a spot), not with a point
reach_to_and_at
Error A reach gives both a point (to) and a spot (at).
How to fix it: Give one: "to" a point {x, y}, or "at" a spot (hip, head, chest, mouth).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{
"op": "reach",
"to": {"x": 1, "y": 2},
"at": "hip"
}
]
}
]
}What the check says: scripts[0].body[0]: give only one of to, at
recipe_adjust_out_of_range
Error An adjustment goes past what the maker allows, or it names no part of the recipe. A part can grow or stretch from 0.25 to 4 times. It can move up to 3,000 tree units. It turns in whole degrees, from -360 to 360.
How to fix it: Keep each adjustment in its range. Put it on a slot the recipe has a part in, or on the body, the legs or the arms.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_body_unknown
Error The recipe names a body that is not there, or it has no body. Use kid, grownup, fours, bird, blob, upright or crab, or write the body out as bones.
How to fix it: Write "body": "kid" or one of the other six. The message shows the nearest one. Or write the body out as bones.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_color_bad
Error A colour of the recipe is not right. A colour is # and six hex digits, like #ff8800. It goes in a slot: skin, hair, eyes, top, bottom, shoes or accent.
How to fix it: Write the colour as #rrggbb. For red, write "#e53935". The message gives the colour of a name it knows.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_colours_alias
Warning The recipe's colours are under "colours", which is read as the field's name, "colors".
How to fix it: Write "colors".
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_drawn_bad
Error A part drawn by hand is not written right. It needs a socket of the body, a role and a shape. The shape is a poly of 3 to 64 points, or a path. A recipe can have up to 8 of them.
How to fix it: Write the drawn part the way the message says. Here is one: {"socket": "head_top", "role": "hat", "shape": {"type": "poly", "pts": [[-20, 0], [0, -30], [20, 0]]}}.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_lib_unknown
Error This recipe is not one Jabbertoon can read. A recipe is {v: 1, kind: "recipe", lib: 1, ...} with only the fields a recipe has. Or the parts library it needs was not loaded where it was sent.
How to fix it: Write "v": 1, "kind": "recipe" and "lib": 1. Take out any field a recipe does not have. The message names it.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_not_checked
Warning The recipe's bones and legs were not checked. The parts library was not loaded where it was checked.
How to fix it: There is nothing to change in the recipe. It is checked again where the library is: in the build tool and in the character maker.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_op_bad
Error A step of the character builder is not one it has. Or a field of the step is missing or the wrong kind. A step is a pick, a slider, Adjust, Swap, Draw, or a change to the body's bones.
How to fix it: Write the step the way the message says: {op, ...} with the fields that step has. The message names them, and the nearest step.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_part_unknown
Error The recipe names a part that is not in that slot. Or it names a version of the part that is not there.
How to fix it: Use one of the slot's parts, by its short name or its full name. The message lists them and shows the nearest.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_part_wrong_body
Error The part is not drawn for this body, or the body has no such slot (a crab has claws, not hands).
How to fix it: Use a part of that slot that fits the body (the message lists them), or a body the part fits.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_slider_out_of_range
Error A slider must be a whole step from -3 to 3, and it must be one of the sliders. The message lists them.
How to fix it: Give a whole number from -3 to 3; for more, use adjust (grow, stretch, move or turn a part).
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_slot_unknown
Error The recipe names a slot that no character has. The message lists the slots.
How to fix it: Use one of those slots (the message suggests the nearest).
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
recipe_tweak_bad
Error The tweaks of the recipe are not written right. They are {v: 1, ops: [...]}, with at most 50 steps. Each step is {op: "set", id, key, value}. The key is fill, outline, z, opacity or hide.
How to fix it: Write each tweak as the message says, or leave the tweaks out.
Why there is no example: This code is about a character written as a recipe of parts or a body written out as bones (a pack, or a recipe a tool is sent), not about a cartoon, a move or a game, so this page has no program for it. The checks of recipes and bodies give it (in the character maker, the downloadable tool and the tools for AI assistants); the message names the field, the part or the bone to change, and the nearest name where it has one.
remove_character
Error remove takes things away. A character is only hidden and shown.
How to fix it: Use hide (or exit) for a character.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "remove", "who": "Sunny"}]
}
]
}What the check says: scripts[0].body[0].who: "Sunny" is a character: characters are hidden, not removed (use hide or exit)
render_failed
Error Drawing a frame failed.
How to fix it: Read the message: it names what could not be drawn. If it names the canvas library or a texture, install the package again (npm install) so that library is complete; otherwise send the code and the message (never the cartoon) with report_problem.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
replay_game_changed
Error This replay was made for a different form of the game.
How to fix it: Play the game again to make a new replay.
Why there is no example: This code is about a replay, not about the game. A replay remembers the game it was played on, and gets this code when it is played on a game that has changed since.
report_not_sent
Error The report could not be sent to jabbertoon.com.
How to fix it: Try again later, or write to hello@jabbertoon.com.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
retired_2d
Error What was sent was the flat (2D) engine's (a world of blocks, a build program, a flat game, a recipe, a body or one of their packs), retired with it: every world and every game is in 3D now, made from steps.
How to fix it: Make it in 3D from steps: the build tool (get_guide {"topic": "walk"} has a World's and a game's), or the editor's 🌍 World and 🎮 Game tabs.
An example that gets this code
{"v": 1, "kind": "build", "name": "My hut", "body": []}What the check says: kind: kind "build" was the flat (2D) engine's, retired with it: every world and every game is in 3D now, made from steps.
rot_not_degrees
Warning A turn is not whole degrees; a small one looks like radians.
How to fix it: Use whole degrees, clockwise on the screen, as the message gives (rot -30 lifts a plank's right end).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "plank",
"shape": "rect",
"x": 4,
"y": 12,
"w": 3,
"h": 0.4,
"material": "wood",
"rot": 0.5,
"rests": false
}
]
}What the check says: rot is 0.5, which looks like radians; rot is whole degrees, clockwise on the screen.
row_length_mismatch
Error A cells piece's rows are not all the same length.
How to fix it: Make every row the same length ('.' for air).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "wall",
"shape": "cells",
"x": 2,
"y": 10,
"rows": ["bbbb", "bb", "bbbb"]
}
]
}What the check says: Row 1 has 2 letters where the longest has 4; every row of a cells piece is the same length.
rows_count
Error The world's grid of cells (grid_main, grid_back or grid_front) is bigger than the world.
How to fix it: Give the grid at most the world's height in rows, each at most its width.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 4,
"h": 2,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": ["gggg", "gggg", "gggg"],
"layer": "main"
}
]
}What the check says: The world's grid grid_main is 4 x 3 cells, past the world's 4 x 2.
runaway_tick
Error A script ran 20,000 blocks in one tick with no wait. So the game stopped.
How to fix it: Put a wait inside the loop, or end the loop when it is done.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "call", "name": "split", "args": [20]}
]
}
],
"procedures": {
"split": {
"params": ["n"],
"body": [
{
"op": "if",
"cond": "=n > 0",
"body": [
{
"op": "call",
"name": "split",
"args": ["=n - 1"]
},
{
"op": "call",
"name": "split",
"args": ["=n - 1"]
}
]
}
]
}
}
}What the check says: A script ran 20,000 blocks in one tick with no wait. So the game stopped.
runtime_cap
Warning The render took longer than its time limit, so it was cut short: the result is partial.
How to fix it: Render a shorter part, a smaller size, or give it a longer time limit.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
say_needs_text
Error A say block has no words.
How to fix it: Give the line as text: "text": "Hello!".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "say", "who": "A", "text": " "}]
}
]
}What the check says: scripts[0].body[0].text: say needs the words, as a string
scene_block_in_move
Error A move uses a scene block (say, does, caption, cut, enter, exit, place).
How to fix it: Use scene blocks in a program of kind "cartoon" or "scene"; a move moves one character.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "say", "who": "A", "text": "Hi"}]}
]
}What the check says: scripts[0].body[0]: "say" is a scene block; use it in a program of kind "scene" or "cartoon"
scene_hat_conflict
Error Two scripts of one scene give it different places, moods or pinned starts.
How to fix it: Give the place, mood and "at" once, or the same in each script of the scene.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {},
"scripts": [
{
"hat": {"on": "scene", "name": "a", "place": "x"},
"body": []
},
{
"hat": {"on": "scene", "name": "a", "place": "y"},
"body": []
}
]
}What the check says: scripts[1].hat.place: scene "a" already has place "x"
scene_hat_field_ignored
Warning A scene hat has a field it does not take; it is ignored.
How to fix it: Keep only on, name, place, mood and at on a scene hat.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {},
"scripts": [
{
"hat": {"on": "scene", "name": "s", "colour": "red"},
"body": []
}
]
}What the check says: scripts[0].hat: a scene hat ignores "colour"
scene_hat_invalid
Error The scene hats cannot be grouped into scenes as written.
How to fix it: Give every script of a cartoon a scene hat {"on": "scene", "name": "…"}, and give a scene's place, mood and "at" once.
Why there is no example: No program gets this code today. It is kept for a way of writing the scene hats that the checks may refuse in a later version, so that such a program gets a code of its own and never another one's.
scene_pinned_before_earlier
Warning A scene is pinned before an earlier scene's pinned start, so the scene before it is cut off at once and it starts late.
How to fix it: Pin the scenes in order: each "at" later than the one before.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {},
"scripts": [
{
"hat": {"on": "scene", "name": "a", "at": 4},
"body": []
},
{
"hat": {"on": "scene", "name": "b", "at": 2},
"body": []
}
]
}What the check says: scene "b": is pinned at 2 s, before an earlier scene's pinned start (4 s): the scene before it will be cut off at once (0 s) and it will start late
scene_program_one_scene
Error A scene program names more than one scene.
How to fix it: Make it a cartoon (kind "cartoon") to have several scenes, or give every script the same scene name.
An example that gets this code
{
"v": 1,
"kind": "scene",
"cast": {},
"scripts": [
{"hat": {"on": "scene", "name": "a"}, "body": []},
{"hat": {"on": "scene", "name": "b"}, "body": []}
]
}What the check says: scripts[1].hat.name: a scene program is one scene ("a"), not "b"
scene_script_hat
Error A script of a scene program starts with a hat other than the scene's.
How to fix it: Start each script with the scene (no hat, or {"on": "scene"}); key and click are the block editor's.
An example that gets this code
{
"v": 1,
"kind": "scene",
"cast": {},
"scripts": [{"hat": {"on": "key"}, "body": []}]
}What the check says: scripts[0].hat: a scene's scripts start with the scene (no hat, or {"on":"scene"}), not "key"
scene_start_bad
Error A scene's pinned start ("at") is not a time of 0 s or more.
How to fix it: Give "at" as seconds from the cartoon's start (a number, 0 or more).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {},
"scripts": [
{
"hat": {"on": "scene", "name": "s", "at": -2},
"body": []
}
]
}What the check says: scripts[0].hat.at: must be a time in seconds (a number ≥ 0)
scene_unknown
Error The cartoon has no scene of that name.
How to fix it: Use one of the scene names the cartoon has (validate's summary lists them).
Why there is no example: The tools give this code from their own checks of what they are sent (the cast and its looks, a cartoon's file, a pack, a link, or the video it would make), which the engine's checks this page takes its examples from do not make. The message the tool gives with it names the part to change.
script_bad
Error A script is {hat, body}.
How to fix it: Give the script a hat and a body of blocks.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": ["jump"]
}What the check says: scripts[0]: a script is {hat, body}
script_unread
Error The script could not be made into a cartoon: it is empty, longer than one cartoon takes, or nobody in it says anything.
How to fix it: Write a line each as Name: what they say, for example "Mia: Hello!" (get_guide {"topic": "start"} has the whole form).
Why there is no example: This code is about a script sent to the make_cartoon tool (its lines, each written as Name: what they say), not about a program, so no program gets it. The message says what the script lacks: a line that anyone says, or a length that one cartoon takes.
segments_bad
Error Segments is not a whole number from 1 to 16.
How to fix it: Give segments as a whole number from 1 to 16.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "swish", "segments": 40}]}]
}What the check says: scripts[0].body[0].segments: must be a whole number from 1 to 16, not 40
segments_not_a_chain
Warning A block gives "segments" for a part that is not a chain; it moves whole, so segments does nothing.
How to fix it: Leave segments out, or use a chain part (tail, body, ears, hair).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{"op": "bend", "part": "head", "segments": 3}
]
}
]
}What the check says: scripts[0].body[0].segments: the head is not a chain: it moves whole, so "segments" does nothing
server_error
Error The tool failed on its own side.
How to fix it: Try again; if it keeps failing, call report_problem.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
shape_crosses_itself
Error A poly's or a drawing's outline crosses itself, so it has no one inside.
How to fix it: List the points in order round the outline, without crossing.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "bow",
"shape": "poly",
"x": 4,
"y": 10,
"material": "stone",
"pts": [[0, 0], [4, 2], [4, 0], [0, 2]]
}
]
}What the check says: The poly bow (stone) crosses itself: the edge from point 0 (0, 0) crosses the edge from point 2 (4, 0).
shape_too_small
Error A shape closes no area: a size of 0 or less, fewer than 3 points, points on one line, or a cells piece of only air.
How to fix it: Give it a w and h above 0, or at least 3 points that are not on one line.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "flat",
"shape": "rect",
"x": 4,
"y": 10,
"w": 3,
"h": 0,
"material": "wood"
}
]
}What the check says: h is 0: a rect needs a w and h above 0.
shape_too_thin
Warning A solid piece is thinner than 0.25 blocks somewhere, which a fast fall can pass through.
How to fix it: Make it at least 0.25 blocks thick.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "sheet",
"shape": "rect",
"x": 4,
"y": 15.9,
"w": 6,
"h": 0.1,
"material": "wood"
}
]
}What the check says: The rect sheet (wood, x 4-10) is 0.1 blocks thick; a fast fall can pass through a solid under 0.25 blocks.
shape_unknown
Error A wave names a shape the language does not have.
How to fix it: Use sin, cos, abssin, possin, dampsin, square, saw or tri.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{"op": "wave", "ch": "dy", "shape": "zigzag"}
]
}
]
}What the check says: scripts[0].body[0].shape: unknown shape "zigzag"
side_unknown
Error An entrance or an exit names a side the stage does not have.
How to fix it: Use left, right, top or bottom.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{"op": "enter", "who": "A", "from": "up"},
{"op": "exit", "who": "A", "to": "down"}
]
}
]
}What the check says: scripts[0].body[0].from: must be one of left, right, top, bottom
single_equals
Error A formula has a single "=". In a formula, "=" only starts it; to compare two values use "==".
How to fix it: Write == to compare (score == 10), or use the compare block.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "when", "cond": "=score = 20"},
"body": [{"op": "win"}]
}
],
"vars": {"score": 0}
}What the check says: scripts[0].hat.cond: a single "=" in "score = 20": to compare two values write "==" (or use the compare block)
size_bad
Error A size says how big a character or a thing is, times its real size. For a character it is from 0.5 to 2.
How to fix it: Use a size from 0.5 to 2 (1 is its real size).
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": {"pack": "c4c:char:kid", "size": 5}},
"scripts": []
}What the check says: cast.Sunny.size: must be from 0.5 to 2
size_not_positive
Error A character's size (h) is not more than 0.
How to fix it: Give h as a share of the stage's height more than 0: 0.5 is half the height.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "place", "who": "A", "h": 0}]
}
]
}What the check says: scripts[0].body[0].h: must be more than 0 (the height as a fraction of the stage height)
size_out_of_range
Error A character's size in a world is outside 0.5 (half its own height) to 2 (twice).
How to fix it: Give a size from 0.5 to 2: 1 is the character's own size.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [
{
"op": "place",
"who": "A",
"at": "door",
"size": 5
}
]
}
]
}What the check says: size is 5; a character's size in a world is from 0.5 (half) to 2 (twice its own)
slope_too_steep
Warning A solid top rises steeper than 45 degrees where a walker meets it, so it stops walkers like a wall.
How to fix it: Make it less steep (a longer ramp: its run at least its rise), or it is a wall to jump over.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "cliff",
"shape": "tri",
"x": 10,
"y": 12,
"w": 2,
"h": 4,
"apex": "right",
"material": "stone"
}
]
}What the check says: The tri cliff (stone, x 10-12) has a top that rises at 63 degrees (4 blocks up over 2 across, from x 10 to 12); walkers climb 45 degrees at most, so it stops them like a wall.
song_file_needed
Error The world has a song, and its sound is never in a file or a link: the video needs the song file itself, in the output folder.
How to fix it: Put the song file (the one its SHA-256 and size name) in the output folder, and give its name as song_file, or name it as the song's audio.name says.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
sound_not_placed
Error A recording in the project is not for any line of the cartoon, so it would not be heard.
How to fix it: Key each recording in assets.sounds by the line it belongs to: "line:<n>" (or "<n>"), n counting the lines (say blocks) from 0 in the order the cartoon speaks them; or pass allow_substitutes: true to make it without that recording (listed in the result).
An example that gets this code
{
"format": "jabbertoon-project",
"version": 2,
"cartoon": {
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
},
"assets": {
"characters": {},
"sounds": {
"line:5": {"mime": "audio/wav", "data": "UklGRg=="}
}
}
}What the check says: assets.sounds.line:5: The recording "line:5" is not for any line: the cartoon has 1 line (0 to 0), so there is no line 5. It would not be heard, so nothing was made.
sound_unknown
Error That is not one of the game's sounds.
How to fix it: Use coin, jump, hit, pop, win, lose, click, zap, powerup, bounce, step or beep.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "sound", "name": "moo"}]
}
]
}What the check says: scripts[0].body[0].name: must be one of coin, jump, hit, pop, win, lose, click, zap, powerup, bounce, step, beep
sound_unreadable
Error A sound in the project could not be read.
How to fix it: Give the sound as base64 audio (WAV, MP3, OGG or WebM) with its mime type, as the editor saves a recording; ffmpeg reads it.
An example that gets this code
{
"format": "jabbertoon-project",
"version": 2,
"cartoon": {
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
},
"assets": {
"characters": {},
"sounds": {"line:0": {"mime": "audio/wav", "data": ""}}
}
}What the check says: assets.sounds.line:0: The recording "line:0" (line 0) has no sound in it: a recording is {"mime": ..., "data": "<base64>"}.
spawn_floating
Warning The spawn is in the air: nothing is under it within 1/20 of a block.
How to fix it: Drop it (fix_ops), or put ground under it.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
}
],
"marks": {"spawn": {"x": 3, "y": 12}}
}What the check says: The spawn at (3, 12) is 4 blocks above the grass cells of grid_main (x 0-32): the hero starts in the air.
spawn_in_solid
Warning The spawn's feet are inside a solid piece.
How to fix it: Move it up to the top of what it is in (the fix gives the y).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
}
],
"marks": {"spawn": {"x": 3, "y": 17}}
}What the check says: The spawn at (3, 17) is inside the grass cells of grid_main (x 0-32): the feet are in the grass.
speed_given_twice
Error A block gives more than one of w, hz and every.
How to fix it: Give one speed: w (radians a second), hz (times a second) or every (seconds each time).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{"op": "wave", "ch": "dy", "w": 3, "every": 1}
]
}
]
}What the check says: scripts[0].body[0]: give only one of w, hz, every
speed_not_positive
Error A line's speed is not more than 0.
How to fix it: Give speed more than 0 (1 is the usual; 0.85 a little slower).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{"op": "say", "who": "A", "text": "Hi", "speed": 0}
]
}
]
}What the check says: scripts[0].body[0].speed: must be more than 0
spot_unknown
Error A reach names a spot the body does not have.
How to fix it: Use one of the spots: hip, head, chest, mouth.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "reach", "at": "knee"}]}]
}What the check says: scripts[0].body[0].at: unknown spot "knee" (spots: hip, head, chest, mouth)
spring_fast
Warning A spring faster than 6 a second swings further and settles differently than a real spring would.
How to fix it: Use hz of 6 or less for a close follow-through.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "letFollow", "hz": 9}]}]
}What the check says: scripts[0].body[0].hz: a spring of 9 per second is faster than the 240-a-second follow-through follows closely: it swings further and settles differently than a real spring would (up to 6 per second follows within 1 px)
spring_not_positive
Error A spring's speed (hz) is not more than 0.
How to fix it: Give hz more than 0: how many times a second the spring swings back (2 is the usual).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "letFollow", "hz": 0}]}]
}What the check says: scripts[0].body[0].hz: must be more than 0 (how many times a second the spring swings back)
spring_too_fast
Error A spring swings back more than 60 times a second.
How to fix it: Give hz of 60 or less (up to 6 follows closely).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{
"body": [
{
"op": "follow",
"ch": "part:tail",
"source": "dy",
"hz": 90
}
]
}
]
}What the check says: scripts[0].body[0].hz: must be at most 60 (the follow-through ticks 240 times a second), not 90
start_mark_unknown
Error A start names a mark the world does not have.
How to fix it: Use one of the world's marks (spawn, a checkpoint, or a named spot), or {x, y}.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": {
"One": {
"world": {
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "ground",
"shape": "rect",
"x": 0,
"y": 16,
"w": 32,
"h": 2,
"material": "grass"
}
],
"marks": {"spawn": {"x": 4, "y": 16}}
},
"start": {"Sunny": "door"}
}
}
}What the check says: levels.One.start.Sunny: the world has no mark "door"
state_arrow_bad
Error An arrow is {to, when}: the state to switch to, and when.
How to fix it: Give the arrow the state it goes to and a condition.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {
"Sunny": {
"pack": "c4c:char:kid",
"states": {"list": {"a": {"go": ["b"]}}}
}
},
"scripts": []
}What the check says: cast.Sunny.states.list.a.go[0]: an arrow is {to, when}
state_bad
Error A state is {does, enter, go}: its move, blocks to run when it starts, and arrows to other states.
How to fix it: Give the state at least one of does, enter and go.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {
"Sunny": {
"pack": "c4c:char:kid",
"states": {"list": {"a": "run"}}
}
},
"scripts": []
}What the check says: cast.Sunny.states.list.a: must be {does?, enter?, go?}
state_unknown
Error A block or arrow names a state that is not in the list.
How to fix it: Check the state's name, or add the state.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {
"Sunny": {
"pack": "c4c:char:kid",
"states": {"start": "run", "list": {"walk": {}}}
}
},
"scripts": []
}What the check says: cast.Sunny.states.start: there is no state "run" (states: walk)
states_bad
Error States are {start, list: {name: {does, enter, go}}}.
How to fix it: Give the states a list, each with its move and its arrows.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {
"Sunny": {
"pack": "c4c:char:kid",
"states": ["walk", "run"]
}
},
"scripts": []
}What the check says: cast.Sunny.states: must be {start, list: {name: {does?, enter?, go: [{to, when}]}}}
steer_axes_unknown
Error steer moves left and right ("x"), or every way ("xy"). It can turn and go ahead ("heading"), or go cell by cell ("grid").
How to fix it: Use "x", "xy", "heading" or "grid".
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "steer",
"who": "Sunny",
"keys": "arrows",
"speed": 8,
"axes": "z"
}
]
}
]
}What the check says: scripts[0].body[0].axes: must be "x", "xy", "heading" or "grid"
steer_bad
Error steer is {keys, speed, axes, face, animate}.
How to fix it: Give it keys ("arrows" or "wasd") and a speed in blocks a second.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {
"Sunny": {"pack": "c4c:char:kid", "steer": "arrows"}
},
"scripts": []
}What the check says: cast.Sunny.steer: must be {keys, speed, axes, face, animate}
steer_keys_unknown
Error steer moves with the arrow keys or with W A S D.
How to fix it: Use "arrows" or "wasd".
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "steer",
"who": "Sunny",
"keys": "mouse",
"speed": 8
}
]
}
]
}What the check says: scripts[0].body[0].keys: must be "arrows" or "wasd"
structure_buried
Warning A stamped structure is sunk into what is under it.
How to fix it: Move it up by what the message gives, or stamp it with drop from above.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"shape": "tri",
"x": 10,
"y": 14,
"w": 4,
"h": 1,
"apex": "top",
"material": "roof",
"id": "t1"
},
{
"shape": "rect",
"x": 10,
"y": 15,
"w": 0.4,
"h": 1.6,
"material": "wood",
"id": "r2"
},
{
"shape": "rect",
"x": 13.6,
"y": 15,
"w": 0.4,
"h": 1.6,
"material": "wood",
"id": "r3"
},
{
"shape": "rect",
"x": 10,
"y": 16.6,
"w": 4,
"h": 0.4,
"material": "wood",
"id": "r4"
}
],
"structures": {
"my_hut": {
"v": 1,
"kind": "structure",
"art": 1,
"name": "my_hut",
"w": 4,
"h": 3,
"pieces": [
{
"id": "top",
"shape": "tri",
"x": 0,
"y": 0,
"w": 4,
"h": 1,
"apex": "top",
"material": "roof"
},
{
"id": "wall_l",
"shape": "rect",
"x": 0,
"y": 1,
"w": 0.4,
"h": 1.6,
"material": "wood"
},
{
"id": "wall_r",
"shape": "rect",
"x": 3.6,
"y": 1,
"w": 0.4,
"h": 1.6,
"material": "wood"
},
{
"id": "floor",
"shape": "rect",
"x": 0,
"y": 2.6,
"w": 4,
"h": 0.4,
"material": "wood"
}
]
}
},
"made": [
{
"structure": "my_hut",
"x": 10,
"y": 14,
"w": 4,
"h": 3,
"first": 1,
"count": 4
}
]
}What the check says: The my_hut made[0] (x 10-14) is sunk 1 block into the grass cells of grid_main (x 0-32).
structure_floating
Warning A stamped structure stands on nothing: it floats over what is under it.
How to fix it: Drop it: stamp it with drop (a structure of pieces: drop its pieces as one, fix_ops; one that painted cells: stamp it again with drop, as the message gives).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"shape": "tri",
"x": 10,
"y": 8,
"w": 4,
"h": 1,
"apex": "top",
"material": "roof",
"id": "t1"
},
{
"shape": "rect",
"x": 10,
"y": 9,
"w": 0.4,
"h": 1.6,
"material": "wood",
"id": "r2"
},
{
"shape": "rect",
"x": 13.6,
"y": 9,
"w": 0.4,
"h": 1.6,
"material": "wood",
"id": "r3"
},
{
"shape": "rect",
"x": 10,
"y": 10.6,
"w": 4,
"h": 0.4,
"material": "wood",
"id": "r4"
}
],
"structures": {
"my_hut": {
"v": 1,
"kind": "structure",
"art": 1,
"name": "my_hut",
"w": 4,
"h": 3,
"pieces": [
{
"id": "top",
"shape": "tri",
"x": 0,
"y": 0,
"w": 4,
"h": 1,
"apex": "top",
"material": "roof"
},
{
"id": "wall_l",
"shape": "rect",
"x": 0,
"y": 1,
"w": 0.4,
"h": 1.6,
"material": "wood"
},
{
"id": "wall_r",
"shape": "rect",
"x": 3.6,
"y": 1,
"w": 0.4,
"h": 1.6,
"material": "wood"
},
{
"id": "floor",
"shape": "rect",
"x": 0,
"y": 2.6,
"w": 4,
"h": 0.4,
"material": "wood"
}
]
}
},
"made": [
{
"structure": "my_hut",
"x": 10,
"y": 8,
"w": 4,
"h": 3,
"first": 1,
"count": 4
}
]
}What the check says: The my_hut made[0] (x 10-14) floats 5 blocks above the grass cells of grid_main (x 0-32).
structure_not_data
Error A structure holds something that is not part of a structure (a structure is data only: v, kind, art, name, w, h, pieces, marks, derived_from).
How to fix it: Take that field out: a structure never runs anything.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [],
"structures": {
"hut": {
"v": 1,
"kind": "structure",
"art": 1,
"name": "hut",
"w": 4,
"h": 4,
"pieces": [],
"scripts": []
}
}
}What the check says: "scripts" is not part of a structure: a structure is data only (art, name, w, h, pieces, marks, derived_from).
structure_too_big
Error A structure is more than 64 x 64 blocks.
How to fix it: Make it smaller, or build it as two structures.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 80,
"h": 18,
"sky": {"kind": "day"},
"pieces": [],
"structures": {
"long": {
"v": 1,
"kind": "structure",
"art": 1,
"name": "long",
"w": 70,
"h": 4,
"pieces": [
{
"id": "a",
"shape": "rect",
"x": 0,
"y": 0,
"w": 70,
"h": 1,
"material": "wood"
}
]
}
}
}What the check says: This structure is 70 x 4; a structure is at most 64 x 64 blocks.
stuck_inside
Warning Something started inside a solid piece and could not be moved out of it.
How to fix it: Place it in an open space.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": {
"One": {
"world": {
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "rock",
"shape": "rect",
"x": 0,
"y": 0,
"w": 32,
"h": 18,
"material": "stone"
}
],
"marks": {"spawn": {"x": 4, "y": 16}}
}
}
}
}What the check says: Something started inside a solid piece and could not be moved out of it. (Sunny)
sync_bad
Error A wave's clock is neither "local" nor "start".
How to fix it: Use "local" (from when the block starts) or "start" (the move's own clock).
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "wave", "ch": "dy", "sync": "now"}]}
]
}What the check says: scripts[0].body[0].sync: must be "local" or "start"
talks_offstage
Warning A character says a line while it is out of the picture (less than half of it in, and its face out) for most of the line.
How to fix it: Let the character enter (or place it) before its line, or give the line to someone on stage.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "say",
"who": "A",
"text": "Hi",
"loud": true
}
]
}
]
}What the check says: A says "Hi" at 0 s while out of the picture.
tempo_bad
Error A game's tempo is {bpm}, the beats in a minute. It is from 20 to 300.
How to fix it: Pick a bpm that is not too slow and not too fast. It can be from 20 up to 300. A good one to start with is 120.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"tempo": 120
}What the check says: tempo: must be {bpm} from 20 to 300
text_bad_indent
Error That line is indented to a level no line above it has.
How to fix it: Indent each block two spaces more than the line it belongs to, and keep the lines of one body at the same indent.
An example that gets this code
when it starts
wait 1 s
wait 2 sWhat the check says: Line 3, column 3: that line is indented to a level no line above it has.
text_bad_json
Error The JSON after the block's name does not read as that block.
How to fix it: Check the JSON: names and text in double quotes, no comma after the last item, and "op" the same as the word before it; or write the block in words.
An example that gets this code
when it starts
wave {"op":"hop"}What the check says: Line 2, column 8: the JSON after the block's name does not read as that block (expected the JSON of a "wave" block (its "op" is "wave"); found "{\"op\":\"hop\"}").
text_bad_value
Error A value there cannot be read.
How to fix it: Write a number (0.5), a formula in brackets ((t * 2)), or text in double quotes ("Hello").
An example that gets this code
when it starts
wait abc sWhat the check says: Line 2, column 8: a value there cannot be read (expected a number, a (formula) or "text"; found "abc").
text_block_outside_script
Error A block line is not under a hat.
How to fix it: Put a hat line above it (when it starts in a move, scene "Name" in a cartoon) and indent the block two spaces under it.
An example that gets this code
move right 4What the check says: Line 1, column 1: a block line is not under a hat.
text_branch_alone
Error A branch line (— 1:) is not under at the same time:.
How to fix it: Put each — 1:, — 2: … line (or - 1:, - 2: …) under an at the same time: line, indented two spaces.
An example that gets this code
when it starts
— 1:
wait 1 sWhat the check says: Line 2, column 3: a branch line (— 1:) is not under at the same time:.
text_cast_field_unknown
Error That cast detail is not one the text knows.
How to fix it: Use pack, template, style, look, shape, proportions, legs (4 legs), at x … y … size … facing …, voice, colors body …, stretch, art faces, options or note, separated by " · " (or "|").
An example that gets this code
cartoon
cast: A
A: template dog · wings 2
scene "s"
A says "x"What the check says: Line 3, column 21: that cast detail is not one the text knows (expected pack, template, style, look, shape, proportions, legs, at, voice, colors, stretch, art faces, options or note; found "wings").
text_cast_unknown_id
Error A cast detail line names an id the cast: line does not have.
How to fix it: Add the id to the cast: line (cast: A = Sunny, B = Grump), or fix the id at the start of the detail line.
An example that gets this code
cartoon
cast: A
B: template dog
scene "s"
A says "x"What the check says: Line 3, column 3: a cast detail line names an id the cast: line does not have ("B").
text_child_not_allowed
Error That line is indented under a line that holds no lines.
How to fix it: Unindent it, or move it under a hat or a block that holds a body (for, until, repeat, forever, while, if, between, at the same time).
An example that gets this code
cartoon
places: park = meadow
wait 1 s
scene "s"
wait 1 sWhat the check says: Line 3, column 3: that line is indented under a line that holds no lines.
text_else_alone
Error Else: is not right after a block at its indent.
How to fix it: Put else: at the same indent as its if …: line, right after the lines of the if.
An example that gets this code
when it starts
else:
wait 1 sWhat the check says: Line 2, column 3: else: is not right after a block at its indent.
text_expected
Error The line reads well up to here, then has something else than the text expects.
How to fix it: Write the words the block takes at that place (the error says which), the way the Screenplay text section of the spec shows the block.
An example that gets this code
when it starts
turn 30 radiansWhat the check says: Line 2, column 11: the line reads well up to here, then has something else than the text expects (expected "°", "in", "(" or the end of the line; found "radians").
text_form_remote_unsupported
Error The remote door reads a program as JSON only, not as screenplay text.
How to fix it: Send the program as JSON (the editor's paste box and the local tool read the text and give its JSON), or use the local tool, which reads the text itself.
Why there is no example: This code is about how a cartoon is sent, not about the cartoon. The online tools for AI assistants give it when a cartoon comes to them written as screenplay text instead of JSON; the checks in the studio and the block editor read the text themselves, so no program gets it there.
text_heading_late
Error A heading comes after a scene or a hat.
How to fix it: Move the heading (cast:, places:, settings:, variables:) above the first scene or hat.
An example that gets this code
cartoon
scene "s"
wait 1 s
cast: AWhat the check says: Line 4, column 1: a heading comes after a scene or a hat (cast).
text_heading_not_first
Error The cartoon line (or the scene program line) is not the first line of the text.
How to fix it: Make cartoon "Name" the first line: take out what is above it (a sentence, or a ``` line), or move the line to the top.
An example that gets this code
cast: A = Ann
cartoon "Beach day"
scene "One"
A says "Hi!"What the check says: Line 2, column 1: the cartoon line (or the scene program line) is not the first line of the text.
text_heading_twice
Error That heading is given twice.
How to fix it: Give each heading (cartoon, cast:, places:, settings:, variables:) once, at the top.
An example that gets this code
cartoon
cast: A
cast: B
scene "s"
A says "x"What the check says: Line 3, column 1: that heading is given twice (cast).
text_not_text
Error That is not text.
How to fix it: Give the screenplay text as a string.
An example that gets this code
5What the check says: Line 1, column 1: that is not text.
text_program_not_alone
Error A program written as its JSON (program {…}) is the whole text, and a line is outside it.
How to fix it: Write the program either as one program {…} line of JSON or in the screenplay words, not both.
An example that gets this code
program {"v": 1, "kind": "behaviour", "scripts": [{"body": [{"op": "hop"}]}]}
when it starts
wait 1 sWhat the check says: Line 2, column 1: a program written as its JSON (program {…}) is the whole text, and this line is outside it.
text_unclosed_bracket
Error A bracket is not closed.
How to fix it: Close the bracket with ) on the same line: a formula, (t * 2), or the list at the end of a line, (happy, voice af_sky).
An example that gets this code
when it starts
wait (t > 1What the check says: Line 2, column 14: a bracket is not closed (expected a closing ")"; the line ends there).
text_unclosed_quote
Error A quote is not closed.
How to fix it: End the text with a double quote (") on the same line; write a quote inside text as \".
An example that gets this code
when it starts
caption "hiWhat the check says: Line 2, column 14: a quote is not closed (expected a closing quote ("); the line ends there).
text_unknown_line
Error That line is not a block, a hat or a heading the screenplay text knows.
How to fix it: Write the line the way the Screenplay text section of the spec shows it: in a scene, for example A says "Hello!" (happy), A does wave_hello or place A at x 0.3 in 1 s; in a move, turn 30° in 0.5 s.
An example that gets this code
cartoon "Oops"
scene "One"
A trun 30°What the check says: Line 3, column 3: that line is not a block, a hat or a heading the screenplay text knows ("A trun 30°").
thing_bad
Error A thing is {shape, color, size, box, solid, gravity, edges, states}.
How to fix it: Give the thing at least a shape, like {shape: "coin"}.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"things": {"Star": "star"}
}What the check says: things.Star: must be {shape, color?, size?, box?, solid?, gravity?, edges?, states?}
thing_has_no_moves
Error A thing has no bones, so its states cannot play moves.
How to fix it: Leave out does in a thing's states; use enter to run blocks instead.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"things": {
"Ball": {
"shape": "ball",
"states": {
"list": {"roll": {"does": "c4c:beh:spin"}}
}
}
}
}What the check says: things.Ball.states.list.roll.does: a thing has no bones, so its states play no moves
thing_never_made
Warning A thing is in the game, but no make block and no level's layout ever puts one in the world.
How to fix it: Put the thing in a level's layout, or add a make block for it, or take it out of things.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{"hat": {"on": "click"}, "body": [{"op": "win"}]}
],
"things": {"Gem": {"shape": "gem"}}
}What the check says: The thing Gem is never made: no make block and no level's layout puts one in the world.
thing_shape_unknown
Error A thing's shape must be one of the eight things: star, coin, gem, heart, key, apple, ball or box.
How to fix it: Pick one of star, coin, gem, heart, key, apple, ball or box. Walls, doors, platforms and spikes are pieces of the world now.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"things": {"Wall": {"shape": "wall"}}
}What the check says: things.Wall.shape: must be one of star, heart, key, apple, coin, gem, ball, box
thing_unknown
Error A block or hat names a thing the game does not have.
How to fix it: Make the thing in things, or check its name.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "make", "thing": "Star", "x": 3, "y": 3}
]
}
]
}What the check says: scripts[0].body[0].thing: "Star" is not one of the things (none)
things_not_object
Error things is a list of named things: {Star: {shape: "star"}}.
How to fix it: Write things as {Name: {shape, ...}}.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"things": ["star"]
}What the check says: things: must be {Template: {shape, ...}}
thrust_needs_by
Error A thrust block needs by: how fast to push it the way it points.
How to fix it: Add by 2 to push it forward at 2 blocks a second.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "thrust", "who": "Sunny"}]
}
]
}What the check says: scripts[0].body[0]: thrust needs by: how fast to push it along its heading, in blocks a second
timeout
Error The request took longer than the online tools allow and was stopped.
How to fix it: Try again in a few seconds; if it happens again, send a smaller program, or check it with the tool on your own computer.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
together_action_coming
Error A together action would use an action that is not made yet.
How to fix it: Pick an action that is made, or wait until this one is.
An example that gets this code
{
"project": {
"cast": [
{"id": "sunny"},
{"id": "skye"},
{"id": "rex"}
]
},
"clip": {
"id": "bad7",
"kind": "together",
"together": "dance_together",
"roles": {"dancers": ["sunny", "skye"]},
"start": 0,
"params": {"dance": "cycle_win"}
}
}What the check says: clip.params.dance: Win cheer is not made yet
together_bad_value
Error A value of a together clip is not the kind of value it takes (a time that is not whole milliseconds, a number out of its range, a spot that is not a number).
How to fix it: Change the value the message names to what it says.
An example that gets this code
{
"project": {
"cast": [
{"id": "sunny"},
{"id": "skye"},
{"id": "rex"}
]
},
"clip": {
"id": "bad8",
"kind": "together",
"together": "duel",
"roles": {"attacker": "sunny", "blocker": "skye"},
"start": 1.5
}
}What the check says: clip.start: the start is 1.5
together_how_many
Error A together action for a group was given too few or too many characters.
How to fix it: Give as many as the message says.
An example that gets this code
{
"project": {
"cast": [
{"id": "sunny"},
{"id": "skye"},
{"id": "rex"}
]
},
"clip": {
"id": "bad6",
"kind": "together",
"together": "dance_together",
"roles": {
"dancers": [
"sunny",
"skye",
"rex",
"pip",
"gull",
"crusty",
"tully"
]
},
"start": 0
}
}What the check says: clip.roles.dancers: Dance together takes 2 to 6 for "Who dances", and 7 were given
together_pack_invalid
Error A together action is not written the way a together pack must be, so it cannot be used.
How to fix it: Write it as the together pack format says (docs/ACTIONS.md): its roles, its actions and the flags that meet.
An example that gets this code
{
"v": 1,
"kind": "together",
"name": "tag",
"roles": [{"id": "it", "name": "Who is it"}],
"actions": [
{"id": "run", "role": "chaser", "do": "run_fast"}
]
}What the check says: content.actions[0].role: "chaser" is not one of its characters' roles
together_role_missing
Error A together action needs someone for each of its roles, and one of them has nobody.
How to fix it: Give the role the name of one of the cast.
An example that gets this code
{
"project": {
"cast": [
{"id": "sunny"},
{"id": "skye"},
{"id": "rex"}
]
},
"clip": {
"id": "bad2",
"kind": "together",
"together": "duel",
"roles": {"attacker": "sunny"},
"start": 0
}
}What the check says: clip.roles.blocker: Duel needs someone for "Who blocks"
together_role_twice
Error The same character was given two roles of one together action.
How to fix it: Give each role a different character.
An example that gets this code
{
"project": {
"cast": [
{"id": "sunny"},
{"id": "skye"},
{"id": "rex"}
]
},
"clip": {
"id": "bad5",
"kind": "together",
"together": "duel",
"roles": {"attacker": "sunny", "blocker": "sunny"},
"start": 0
}
}What the check says: clip.roles.blocker: "sunny" is in two roles (attacker and blocker)
together_role_unknown
Error A together action was given a role it does not have.
How to fix it: Use the roles the message lists, and take out the other one.
An example that gets this code
{
"project": {
"cast": [
{"id": "sunny"},
{"id": "skye"},
{"id": "rex"}
]
},
"clip": {
"id": "bad3",
"kind": "together",
"together": "hug",
"roles": {
"first": "sunny",
"second": "skye",
"third": "rex"
},
"start": 0
}
}What the check says: clip.roles.third: Hug has no role "third"
together_unknown
Error There is no together action with that name.
How to fix it: Use one of the together actions: Duel, Hug, High five, Dance together, Pass or Play catch.
An example that gets this code
{
"project": {
"cast": [
{"id": "sunny"},
{"id": "skye"},
{"id": "rex"}
]
},
"clip": {
"id": "bad1",
"kind": "together",
"together": "sword_fight",
"roles": {"attacker": "sunny", "blocker": "skye"},
"start": 0
}
}What the check says: clip.together: there is no together action "sword_fight"
together_who_unknown
Error A role names someone who is not in the cast.
How to fix it: Use the name of one of the cast, or add that character first.
An example that gets this code
{
"project": {
"cast": [
{"id": "sunny"},
{"id": "skye"},
{"id": "rex"}
]
},
"clip": {
"id": "bad4",
"kind": "together",
"together": "high_five",
"roles": {"first": "sunny", "second": "grump"},
"start": 0
}
}What the check says: clip.roles.second: "grump" is not in the cast
too_fast
Warning Something moved further than 0.9 blocks in one tick, so it was slowed down.
How to fix it: Use a smaller speed or gravity.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "speed", "who": "Sunny", "vx": 200}]
}
]
}What the check says: Something moved further than 0.9 blocks in one tick, so it was slowed down. (Sunny)
too_large
Error The request (more than 256 KB) or its answer (more than 4 MB) is too large.
How to fix it: Send one program, pack or cartoon at a time, without data it does not need.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
too_many_cells
Error A world's cells pieces hold more than 4,194,304 cells, each counted every time it is placed (16 grids of the largest world). A cells piece is as wide as its longest row. The piece that passes it, and each piece after it that holds cells, is made with no outline.
How to fix it: Make the cells pieces smaller, or place them fewer times.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 1024,
"h": 256,
"sky": "day",
"library": {
"turf": {
"w": 16,
"h": 16,
"material": "grass",
"tile": true,
"shapes": [
{
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg"
]
}
]
}
},
"pieces": [
{
"id": "lawn1",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn2",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn3",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn4",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn5",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn6",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn7",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn8",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn9",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn10",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn11",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn12",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn13",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn14",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn15",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn16",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
},
{
"id": "lawn17",
"use": "turf",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
}
]
}What the check says: This piece's cells are too many for the world: its 16 x 16 cells take the world past 4,194,304 cells (a cells piece is as wide as its longest row, and its cells count each time it is placed).
too_many_corners
Error A world's cells pieces make outlines that turn more than 1,048,576 corners, each counted every time its piece is placed: as many as one grid of the largest world turns at worst. A cell set apart from its own material turns 4 corners, so a checkerboard of two materials turns the most; a run or block of one material turns only at its ends. The piece that passes it, and each piece after it that holds cells, is made with no outline.
How to fix it: Join cells of one material into runs and blocks, or make the cells pieces smaller, or place them fewer times.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 1024,
"h": 256,
"sky": "day",
"library": {
"checks": {
"w": 2,
"h": 2,
"tile": true,
"shapes": [
{
"shape": "cells",
"x": 0,
"y": 0,
"rows": ["gs", "sg"]
}
]
}
},
"pieces": [
{
"id": "lawn",
"use": "checks",
"x": 0,
"y": 0,
"w": 1024,
"h": 258
}
]
}What the check says: This piece's cells have too many corners for the world: with them the world's cells outlines would turn more than 1,048,576 corners (a cell set apart from its own material turns 4, so a checkerboard turns the most, and a run or block of one material turns only at its ends; a piece's corners count each time it is placed).
too_many_crossings
Error The raster at this scale would read more than 16,777,216 edge crossings (one for each sample column each edge crosses).
How to fix it: Use a coarser scale (1 or 0.5 block), or fewer long pieces stacked across the world.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 1024,
"h": 256,
"sky": "day",
"library": {
"band": {
"w": 1024,
"h": 0.05,
"material": "stone",
"tile": {"y": true},
"shapes": [
{
"shape": "rect",
"x": 0,
"y": 0,
"w": 1024,
"h": 0.05
}
]
}
},
"pieces": [
{
"id": "bands",
"use": "band",
"x": 0,
"y": 0,
"w": 1024,
"h": 256
}
]
}What the check says: The raster at 0.125 block would read 83,886,080 edge crossings, and 16,777,216 is the most.
too_many_drawn_points
Error The world holds more than 1,000 poly and drawn points in all.
How to fix it: Simplify the drawn shapes, or use rects, circles and cells where they do.
Why there is no example: This code is about a world past one of its limits (its size in bytes, its pieces, its drawn points, its marks, its own structures, pieces and materials, or a key's letters), so the smallest world that gets it is far too long to show here. The message says how far past the limit it is and what to make smaller.
too_many_edges
Error Physics would file more than 4,194,304 edges in its one-block columns. An edge is filed in every column it crosses, so long pieces, above all far outside the world, add the most.
How to fix it: Keep the pieces inside the world (at most 1,024 blocks wide) and make the longest ones shorter.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 30,
"h": 10,
"sky": "day",
"library": {
"stripe": {
"w": 16000,
"h": 0.05,
"material": "stone",
"tile": {"y": true},
"shapes": [
{
"shape": "rect",
"x": 0,
"y": 0,
"w": 16000,
"h": 0.05
}
]
}
},
"pieces": [
{
"id": "long",
"use": "stripe",
"x": -8000,
"y": 0,
"w": 16000,
"h": 10
}
]
}What the check says: Physics would file 6,400,800 edges in its one-block columns, and 4,194,304 is the most: an edge is filed in every column it crosses, so long pieces add the most, above all far outside the world.
too_many_library_pieces
Error The world keeps more than 32 library pieces.
How to fix it: Keep at most 32: reuse one.
Why there is no example: This code is about a world past one of its limits (its size in bytes, its pieces, its drawn points, its marks, its own structures, pieces and materials, or a key's letters), so the smallest world that gets it is far too long to show here. The message says how far past the limit it is and what to make smaller.
too_many_marks
Error The world has more than 64 marks, or more than 16 checkpoints.
How to fix it: Remove the marks it does not need.
Why there is no example: This code is about a world past one of its limits (its size in bytes, its pieces, its drawn points, its marks, its own structures, pieces and materials, or a key's letters), so the smallest world that gets it is far too long to show here. The message says how far past the limit it is and what to make smaller.
too_many_materials
Error The world has more than 64 materials of its own.
How to fix it: Keep at most 64: reuse one.
Why there is no example: This code is about a world past one of its limits (its size in bytes, its pieces, its drawn points, its marks, its own structures, pieces and materials, or a key's letters), so the smallest world that gets it is far too long to show here. The message says how far past the limit it is and what to make smaller.
too_many_parts
Error A world asks for more than 262,144 parts: every shape of each structure and pre-made piece placed counts each time it is placed, and so does each tile, so a structure placed inside another multiplies them. The piece that passes it, and each piece after it, is made with no outline.
How to fix it: Place fewer or smaller structures and tiled pieces, and put structures inside others only where you need to.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 30,
"h": 30,
"sky": "day",
"library": {
"grain": {
"w": 0.05,
"h": 0.05,
"material": "sand",
"tile": true,
"shapes": [
{
"shape": "rect",
"x": 0,
"y": 0,
"w": 0.05,
"h": 0.05
}
]
}
},
"pieces": [
{
"id": "dune",
"use": "grain",
"x": 0,
"y": 0,
"w": 20,
"h": 20
},
{
"id": "dune2",
"use": "grain",
"x": 0,
"y": 20,
"w": 20,
"h": 20
}
]
}What the check says: This piece is one too many for the world: with it the world asks for more than 262,144 parts (every shape of each structure and pre-made piece counts each time it is placed, and so does each tile).
too_many_pieces
Error The world has more than 2,000 pieces.
How to fix it: Join small pieces (cells for ground, a structure for what repeats), or split the world.
Why there is no example: This code is about a world past one of its limits (its size in bytes, its pieces, its drawn points, its marks, its own structures, pieces and materials, or a key's letters), so the smallest world that gets it is far too long to show here. The message says how far past the limit it is and what to make smaller.
too_many_points
Error A poly or a drawing has more than 64 points.
How to fix it: Simplify the outline to at most 64 points (the builder's Simplify does it).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "blob",
"shape": "poly",
"x": 2,
"y": 2,
"material": "stone",
"pts": [
[0, 0],
[4.1, 0],
[0.2, 0.1],
[4.3, 0.1],
[0.4, 0.2],
[4.5, 0.2],
[0.6, 0.3],
[4.7, 0.3],
[0.8, 0.4],
[4.9, 0.4],
[1, 0.5],
[4.1, 0.5],
[1.2, 0.6],
[4.3, 0.6],
[1.4, 0.7],
[4.5, 0.7],
[1.6, 0.8],
[4.7, 0.8],
[1.8, 0.9],
[4.9, 0.9],
[2, 1],
[4.1, 1],
[2.2, 1.1],
[4.3, 1.1],
[2.4, 1.2],
[4.5, 1.2],
[2.6, 1.3],
[4.7, 1.3],
[2.8, 1.4],
[4.9, 1.4],
[3, 1.5],
[4.1, 1.5],
[3.2, 1.6],
[4.3, 1.6],
[3.4, 1.7],
[4.5, 1.7],
[3.6, 1.8],
[4.7, 1.8],
[3.8, 1.9],
[4.9, 1.9],
[4, 2],
[4.1, 2],
[4.2, 2.1],
[4.3, 2.1],
[4.4, 2.2],
[4.5, 2.2],
[4.6, 2.3],
[4.7, 2.3],
[4.8, 2.4],
[4.9, 2.4],
[5, 2.5],
[4.1, 2.5],
[5.2, 2.6],
[4.3, 2.6],
[5.4, 2.7],
[4.5, 2.7],
[5.6, 2.8],
[4.7, 2.8],
[5.8, 2.9],
[4.9, 2.9],
[6, 3],
[4.1, 3],
[6.2, 3.1],
[4.3, 3.1],
[6.4, 3.2]
]
}
]
}What the check says: This poly has 65 points; a shape keeps at most 64.
too_many_running
Warning There were 500 scripts running at once. So no more were started.
How to fix it: Let scripts end, or use fewer forever loops.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "every", "s": 0.01},
"body": [
{"op": "forever", "body": [{"op": "wait", "s": 1}]}
]
}
]
}What the check says: There were 500 scripts running at once. So no more were started. (scripts[0])
too_many_steps
Error A build ran past 100,000 steps, so it was stopped there (a repeat that never ends, or one too long).
How to fix it: Make the repeat shorter: a build runs at once, and a long one is better as fewer, bigger commands.
An example that gets this code
{
"v": 1,
"kind": "build",
"start": {"w": 32, "h": 18},
"body": [
{
"op": "repeat",
"n": 200000,
"body": [{"op": "setVar", "var": "i", "value": 1}]
}
]
}What the check says: The build ran past 100,000 steps, at body[0], so it was stopped (a repeat that never ends, or one too long).
too_many_structures
Error The world keeps more than 32 inline structures.
How to fix it: Keep at most 32: reuse one, or ship it as a structure pack.
Why there is no example: This code is about a world past one of its limits (its size in bytes, its pieces, its drawn points, its marks, its own structures, pieces and materials, or a key's letters), so the smallest world that gets it is far too long to show here. The message says how far past the limit it is and what to make smaller.
too_many_things
Warning The game has 200 things in it. That is the most, so no more were made.
How to fix it: Remove things the game no longer needs.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "repeat",
"n": 250,
"body": [
{"op": "make", "thing": "Star", "x": 3, "y": 3}
]
}
]
}
],
"things": {"Star": {"shape": "star"}}
}What the check says: The game has 200 things in it. That is the most, so no more were made. (Star_200)
too_many_this_tick
Warning Too much happened in one tick. It can make 50 things, start 200 scripts and change 64 pieces at most. The rest waited.
How to fix it: Make things a few at a time, with a wait between.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "together",
"branches": [
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
],
[
{
"op": "make",
"thing": "Star",
"x": 3,
"y": 3
}
]
]
}
]
}
],
"things": {"Star": {"shape": "star"}}
}What the check says: Too much happened in one tick. It can make 50 things, start 200 scripts and change 64 pieces at most. The rest waited. (make Star)
too_many_tiles
Error A pre-made piece that repeats its tile was sized so big that it would repeat more than 262,144 times.
How to fix it: Make the piece smaller, or use a piece whose tile is bigger.
An example that gets this code
{
"v": 1,
"kind": "world",
"w": 30,
"h": 30,
"sky": "day",
"library": {
"grain": {
"w": 0.05,
"h": 0.05,
"material": "sand",
"tile": true,
"shapes": [
{
"shape": "rect",
"x": 0,
"y": 0,
"w": 0.05,
"h": 0.05
}
]
}
},
"pieces": [
{
"id": "dune",
"use": "grain",
"x": 0,
"y": 0,
"w": 26,
"h": 26
}
]
}What the check says: This pre-made piece is sized so big that its tile repeats too many times: "grain" sized 26 x 26 would repeat its tile 520 x 520 times, 270400 parts, and 262,144 is the most.
too_many_writes
Error A build writes past 65,536 cell visits in all, so it was stopped there.
How to fix it: Paint less at once: smaller fills, or fewer repeats; a big ground is one fill of its rows, not a loop of setblocks.
An example that gets this code
{
"v": 1,
"kind": "build",
"start": {"w": 1024, "h": 256},
"body": [
{
"op": "fill",
"x1": 0,
"y1": 0,
"x2": 1023,
"y2": 255,
"material": "stone"
}
]
}What the check says: This writes past 65,536 cell visits in all, at body[0]: a build writes at most that many cells.
touch_pair_never_meets
Warning Two things in a touch hat never touched while the game was played, so its blocks never ran.
How to fix it: Check that they can get to each other in the level. Or play it with inputs that bring them together.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {
"on": "touch",
"who": "Sunny",
"what": "a Star"
},
"body": [{"op": "win"}]
}
],
"things": {"Star": {"shape": "star"}},
"levels": {
"One": {
"layout": [
{"thing": "Star", "id": "s1", "x": 28, "y": 15}
]
}
}
}What the check says: Sunny and a Star never touched in 2 s of play with no inputs (scripts[0]).
touch_target_bad
Error A touch names what to touch. It can be a character, a thing, the edge, a piece, a material, a hazard, a pickup, the goal or a checkpoint.
How to fix it: Name something the character can touch, like a coin or the goal.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "touch", "who": "Sunny", "what": 7},
"body": []
}
]
}What the check says: scripts[0].hat.what: must name a character, a thing, the edge, a piece, a material, a property, the goal or a checkpoint
touch_target_unknown
Warning A touch hat names something this game does not have. So it never fires.
How to fix it: Check the spelling. Name a character, a thing, a material or a piece of the level's world.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {
"on": "touch",
"who": "Sunny",
"what": "a Strar"
},
"body": [{"op": "win"}]
}
],
"things": {"Star": {"shape": "star"}}
}What the check says: scripts[0].hat.what: "a Strar" is not a character, a thing, a material or a piece of this game's worlds, so it never touches: did you mean "star"?
turn_needs_by
Error A turn block needs by, how far to turn, or to, which way to point.
How to fix it: Add by 90 to turn a quarter turn right. Or add to 0 to point right. Then 90 points down.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [{"op": "turn", "who": "Sunny"}]
}
]
}What the check says: scripts[0].body[0]: turn needs by (the degrees to turn: 90 turns clockwise a quarter) or to (a heading: 0 points right, 90 down)
turn_view_instant
Warning A turn of 0 s or less changes the view at once, without the squash.
How to fix it: Give the turn a time ("over": 0.24 is the usual), or use a view block for a change at once.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "turnView", "over": 0}]}]
}What the check says: scripts[0].body[0].over: a turn of 0 s or less changes the view at once, without the squash
unknown_background
Error A scene or a cut is at a place whose background the editor does not have.
How to fix it: Use one of the editor's backgrounds: beach, meadow, classroom, stage, space or city; or give the place one on the places line (places: kitchen = classroom).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"template": "kid"}, "at": {"x": 0.3}}
},
"scripts": [
{
"hat": {
"on": "scene",
"name": "Breakfast",
"place": "kitchen"
},
"body": [
{"op": "say", "who": "A", "text": "Good morning!"},
{"op": "cut", "place": "meado"},
{"op": "wait", "s": 1},
{"op": "cut", "place": "beach"},
{"op": "wait", "s": 1}
]
}
]
}What the check says: Scene "Breakfast" at 0 s is at "kitchen", which is not a background the editor has (beach, meadow, classroom, stage, space, city).
unknown_grade
Warning A scene, a place or a cut gives a grade (the picture's colouring) the editor does not have.
How to fix it: Use one of the scene grades: normal, angry, bloom, soft or sad.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": 0.4}}},
"places": {
"beach": {"background": "beach", "grade": "bright"}
},
"scripts": [
{
"hat": {
"on": "scene",
"name": "Swim",
"place": "beach"
},
"body": [
{
"op": "say",
"who": "A",
"text": "Sunny!",
"mood": "mad"
},
{
"op": "say",
"who": "A",
"text": "Wow.",
"mood": "Scared"
},
{
"op": "say",
"who": "A",
"text": "Hm.",
"mood": "hapy"
}
]
}
]
}What the check says: Scene "Swim" at 0 s has the grade "bright", which is not one the editor has (normal, angry, bloom, soft, sad).
unknown_key
Error That is not a key name.
How to fix it: Use space, left, right, up, down, a letter (a-z) or a digit (0-9).
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{"hat": {"on": "key", "key": "ArrowRight"}, "body": []}
]
}What the check says: scripts[0].hat.key: "ArrowRight" is not a key name: did you mean "right"? (keys: space, left, right, up, down, a-z, 0-9)
unknown_letter
Error A cells piece holds a letter that is neither a material's letter nor in its key.
How to fix it: Use a material's letter (g grass, d dirt, s stone, b brick, ...) or give the letter a material in key.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "wall",
"shape": "cells",
"x": 2,
"y": 10,
"rows": ["bbqb"]
}
]
}What the check says: Row 0 has the letter "q", which is no material's letter and is not in the key.
unknown_material
Error A piece names a material Jabbertoon does not have (and the world defines none of that name).
How to fix it: Use a shipped material (grass, dirt, stone, sand, brick, wood, ice, rubber, cloud, water, ...) or define one in the world's materials; did_you_mean gives the nearest.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "blob",
"shape": "rect",
"x": 4,
"y": 10,
"w": 3,
"h": 2,
"material": "slimy"
}
]
}What the check says: There is no material "slimy".
unknown_mood
Warning A line, a "looks" block or a move gives a mood that no face shows.
How to fix it: Use one of the moods a face shows: happy, sad, angry, surprised, scared, sleepy, laughing, worried, smug, disgusted, thinking or normal.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": 0.4}}},
"places": {
"beach": {"background": "beach", "grade": "bright"}
},
"scripts": [
{
"hat": {
"on": "scene",
"name": "Swim",
"place": "beach"
},
"body": [
{
"op": "say",
"who": "A",
"text": "Sunny!",
"mood": "mad"
},
{
"op": "say",
"who": "A",
"text": "Wow.",
"mood": "Scared"
},
{
"op": "say",
"who": "A",
"text": "Hm.",
"mood": "hapy"
}
]
}
]
}What the check says: A says "Sunny!" at 0 s in the mood "mad", which is not one a face shows (happy, sad, angry, surprised, scared, sleepy, laughing, worried, smug, disgusted, thinking, normal).
unknown_move
Warning A character does a move the editor does not have; in the editor it idles instead.
How to fix it: Use a move the editor has (list_moves gives every one, with what it works on), such as walk, wave_hello or bounce.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"at": {"x": 0.4}}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "does",
"who": "A",
"behaviour": "c4c:beh:wave_helo",
"for": 1
},
{"op": "wait", "s": 1}
]
}
]
}What the check says: A does wave_helo at 0 s, a move the editor does not have: the character idles instead.
unknown_pack
Error A cast member names a character pack Jabbertoon does not ship: the editor has no such character, and render_video refuses it.
How to fix it: Use one of the shipped character packs (c4c:char:person, c4c:char:kid, c4c:char:dog, c4c:char:cat, c4c:char:bird, c4c:char:monster), or draw a ready-made character with a look ({"look": {"template": "dog"}}).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Puff", "pack": "c4c:char:dragon"}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: cast.A.pack: "c4c:char:dragon" is not one of the character packs shipped with Jabbertoon (c4c:char:person, c4c:char:kid, c4c:char:dog, c4c:char:cat, c4c:char:bird, c4c:char:monster): the editor has no such character, and render_video refuses it
Only in the downloadable tool, not yet published: render_video
unknown_piece
Error A piece placed with use names a pre-made piece or a structure that neither ships nor is in the world, or a command names an id no piece has.
How to fix it: Use a shipped pre-made piece (door, ladder, coin, ...) or structure (house_small, castle_tower, ...), one of the world's own, or a piece's id; did_you_mean gives the nearest.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [{"id": "h1", "use": "hous", "x": 10, "y": 9}]
}What the check says: There is no pre-made piece or structure "hous".
unknown_property
Error A piece (or a world, a material or a command) has a field that is not one of its own.
How to fix it: Use the fields the message lists; did_you_mean gives the nearest (radius is w, angle is rot, color is fill).
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "wall",
"shape": "rect",
"x": 4,
"y": 10,
"w": 1,
"h": 6,
"material": "brick",
"color": "#ff0000"
}
]
}What the check says: "color" is not a field of a rect.
unknown_shape
Warning A cast member's look names a body shape (look.shape) the site does not have, so it is drawn with the classic shape.
How to fix it: Use one of the three body shapes: classic, bighead or tall (the old flat characters' shapes; the 3D cast has its own body sliders instead).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {
"name": "Rex",
"look": {"template": "dog", "shape": "round"}
}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: cast.A.look.shape: "round" is not one of the three body shapes, so the site draws it with the classic shape
unknown_structure
Error A made entry (the record of a stamped structure) names a structure the world does not hold and nothing ships.
How to fix it: Stamp it again from a structure that exists, or take the entry out.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "a",
"shape": "rect",
"x": 1,
"y": 1,
"w": 1,
"h": 1,
"material": "wood"
}
],
"made": [
{
"structure": "nowhere_hut",
"x": 1,
"y": 1,
"w": 1,
"h": 1,
"first": 0,
"count": 1
}
]
}What the check says: made[0] names the structure "nowhere_hut", which the world does not hold and nothing ships.
unknown_style
Warning A cast member's look names a style (look.style) the site does not have, so it is drawn in the page's own look.
How to fix it: Use one of the six looks: flat, outlined, soft, storybook, bold or crayon (the old flat characters' looks; the 3D cast draws none of them), or leave style out.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {
"name": "Rex",
"look": {"template": "dog", "style": "neon"}
}
},
"scripts": [
{
"hat": {"on": "scene", "name": "One"},
"body": [{"op": "say", "who": "A", "text": "Hi!"}]
}
]
}What the check says: cast.A.look.style: "neon" is not one of the six looks, so the site draws it in the page's own look
unknown_template
Error A cast member's template (its kind of body) is not one the editor has.
How to fix it: Use one of the editor's templates: person, kid, dog, cat, bird or monster (list_characters gives them).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"look": {"template": "Dog"}, "at": {"x": 0.3}},
"B": {"look": {"template": "dgo"}, "at": {"x": 0.7}}
},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{
"op": "say",
"who": "A",
"text": "Woof.",
"mood": "Happy"
},
{"op": "cut", "mood": "Bloom"},
{"op": "wait", "s": 1}
]
}
]
}What the check says: A's template "Dog" is not one the editor has (person, kid, dog, cat, bird, monster).
unknown_tool
Error That tool is not one this door has.
How to fix it: Ask tools/list for the tools this door has (the tool on your own computer has preview and render_video too), and call one of them by its name.
Why there is no example: This code is about a call to one of the tools, not about a program, so no program gets it. It is given for the name of a tool the door does not have, for the call's arguments or size, for a name or a job the tool looks up, or when the tools are busy, stopped or could not send a report. The message the tool gives with it says what to change.
Only in the downloadable tool, not yet published: preview, render_video
unknown_voice
Warning A character speaks in a voice the editor does not have.
How to fix it: Use one of the editor's voices (list_characters gives them), such as grok:ara or kitten:luna.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"voice": "robot", "at": {"x": 0.4}}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{"op": "say", "who": "A", "text": "Beep."},
{
"op": "say",
"who": "A",
"text": "Boop.",
"voice": "af_sky"
}
]
}
]
}What the check says: A's voice "robot" is not one of the editor's voices.
unreadable
Error The checker could not read this at all: it is not the shape of anything Jabbertoon checks.
How to fix it: Give it the shape its format describes: a program https://jabbertoon.com/docs/language/, a pack or a character https://jabbertoon.com/docs/packs/.
Why there is no example: The tools give this code from their own checks of what they are sent (the cast and its looks, a cartoon's file, a pack, a link, or the video it would make), which the engine's checks this page takes its examples from do not make. The message the tool gives with it names the part to change.
value_not_boolean
Error This field is true or false.
How to fix it: Use true or false.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "solid", "who": "Sunny", "on": "yes"}
]
}
]
}What the check says: scripts[0].body[0].on: true or false
value_not_number
Error A value that must be a number is neither a number nor a formula.
How to fix it: Give a number (0.5), or a formula as text starting with = ("=t * 2").
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "wait", "s": "two"}]}]
}What the check says: scripts[0].body[0].s: expected a number or "=expression", got "two"
value_not_text
Error A value that must be text is not.
How to fix it: Give it as text in quotes.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [
{"op": "say", "who": "A", "text": "Hi", "voice": 3}
]
}
]
}What the check says: scripts[0].body[0].voice: must be a string
variable_not_a_name
Error A variable block's "var" is not a name.
How to fix it: Give the variable's name as text: "var": "score".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [
{"body": [{"op": "setVar", "var": 3, "value": 1}]}
]
}What the check says: scripts[0].body[0].var: must be a name
variable_start_not_number
Error A variable starts at something other than a number.
How to fix it: Start each variable at a number ("vars": {"n": 0}); set it to a formula with a set block as the script runs.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"vars": {"n": "=1"},
"scripts": []
}What the check says: vars.n: a variable starts at a number, not "=1"
variable_unknown
Error A block names a variable the game does not have.
How to fix it: Make the variable in vars, or check its name.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{"op": "changeVar", "var": "score", "by": 1}
]
}
]
}What the check says: scripts[0].body[0].var: there is no variable "score" in vars
view_needs_to
Error A view block does not say which view.
How to fix it: Give "to": front, side or back.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "view"}]}]
}What the check says: scripts[0].body[0]: view needs "to": front, side, back
view_unknown
Error A view block names a view the characters do not have.
How to fix it: Use front, side or back.
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "view", "to": "top"}]}]
}What the check says: scripts[0].body[0].to: unknown view "top" (views: front, side, back)
voices_failed
Error The voices could not speak a line, so there is no speech.
How to fix it: Run "jabbertoon voices status" to check the install, or install them again.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
voices_not_installed
Error The voices are not installed on this machine, so there is no speech. Nothing is downloaded during a render.
How to fix it: Run "jabbertoon voices install" once (about 500 MB on disk: the voice engine and its 92 MB voice model, in a folder of your own), then render again; or render without voices.
Why there is no example: This code is about making a video or a picture with the jabbertoon tool on your own computer, not about what the program says, so no program gets it. It is given for the size, the frame rate, the time or another option asked for, for ffmpeg or the voices on that computer, or for a drawing that failed or took too long. The message the tool gives with it says what to change.
water_buried
Warning A liquid piece is under solid ground along its whole top, so nobody can see it or swim into it.
How to fix it: Open the ground over it, or move it up to the surface.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "lake",
"shape": "rect",
"x": 10,
"y": 14,
"w": 4,
"h": 2,
"material": "water"
}
]
}What the check says: The rect lake (water, x 10-14) is under solid ground everywhere along its top, so nobody can see it or swim in.
water_spills
Warning A liquid piece is not held in: beside it or under it, inside the world, there is air where there should be solid ground.
How to fix it: Water sits in a closed basin: cut a dip in the ground for it, with the ground on both sides higher than the water's top.
An example that gets this code
{
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
],
"layer": "main"
},
{
"id": "pond",
"shape": "rect",
"x": 10,
"y": 14,
"w": 4,
"h": 2,
"material": "water"
}
]
}What the check says: The rect pond (water, x 10-14) is not held in: its top (y 14) is higher than the ground beside it on its left (y 16 at x 9) and on its right (y 16 at x 14), so the water would run over those banks. Water sits in a closed basin: solid on both sides up to its top, and under it.
wave_needs_channel
Error A wave does not say what it moves.
How to fix it: Give "ch", a channel like "dy" or "part:arm:1".
An example that gets this code
{
"v": 1,
"kind": "behaviour",
"scripts": [{"body": [{"op": "wave", "amp": 5}]}]
}What the check says: scripts[0].body[0]: wave needs "ch"
when_never_changes
Warning This test names nothing that changes. So it is true for good, or false for good.
How to fix it: Use a variable, a key or a touch in the condition.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "when", "cond": "=1 > 2"},
"body": [{"op": "win"}]
}
]
}What the check says: scripts[0].hat.cond: this condition names nothing that changes, so it is true or false for ever
who_missing
Error A scene block does not say who.
How to fix it: Give "who", an id of the cast: "who": "A".
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "say", "text": "Hi"}]
}
]
}What the check says: scripts[0].body[0].who: needs "who": a cast id
who_not_in_cast
Error A scene block names someone who is not in the cast.
How to fix it: Use an id of the cast, or add the character to the cast.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "say", "who": "Q", "text": "x"}]
}
]
}What the check says: scripts[0].body[0].who: "Q" is not in the cast (empty)
window_end_unknown
Warning A between block counts back from the scene's end, which is known only when the next scene is pinned; here it is never reached.
How to fix it: Pin the next scene with "at", or give from and to as seconds from the scene's start.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"scripts": [
{
"hat": {"on": "scene", "name": "s"},
"body": [{"op": "window", "from": -1, "body": []}]
}
]
}What the check says: scripts[0].body[0]: a negative from/to counts back from the scene's end, which is known only when the next scene is pinned with "at"; in this scene it is never reached
wink_eye_bad
Error A wink block names an eye that is not left or right.
How to fix it: Give eye: "left" or "right", or leave eye out (the right eye winks).
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [{"op": "wink", "who": "A", "eye": "middle"}]
}
]
}What the check says: "middle" is not an eye: left or right
word_in_math
Error A word from a list was used in a sum. Words can only be compared with == and !=, or used in item, contains and indexof.
How to fix it: Use a number here, or compare the word with ==.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "setVar",
"var": "v",
"value": "=item(l, 1) + 1"
}
]
}
],
"lists": {"l": ["apple"]},
"vars": {"v": 0}
}What the check says: A word from a list was used in a sum. Words can only be compared with == and !=, or used in item, contains and indexof. ("apple")
world_bad
Error A level's world is a world, the name of one in worlds, or a world's pack id.
How to fix it: Give the level a world, or leave it out for the default world.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": {"One": {"world": 7}}
}What the check says: levels.One.world: must be a world, the name of one in worlds, or a world pack id
world_cast_invalid
Error A character of the world's cast cannot be read: its id, name, look, place on the stage, size or the way it faces is not one the editor takes, or the cast has more than six.
How to fix it: Give each character {"id": "A", "name": "Pip", "steps": [the builder's steps]} (or a ready character's "template"), "x" from 0 to 1, "size" above 0 and under 10, "dir" 1 or -1.
Why there is no example: This code is about the editor's own file (a world, its cast, its stories' clips and its camera's shots), which the tools check as the editor reads it, not about a program, so no program gets it from the checks this page takes its examples from. The message the tool gives with it names the part of the file and how to put it right.
world_clip_baseline
Warning A clip asks its character for something they cannot do from where they are in the play at that moment: a move done on the feet while they sit, kneel or lie, a seat someone else is on, a move needing the hand a thing is held in, a walk to someone not on the stage yet, or standing up while already standing.
How to fix it: Do what the warning says: put the move it names just before the clip (stand_up, get_up), give the walk after the other comes in, pick another seat, or empty the hand.
Why there is no example: This code is about the editor's own file (a world, its cast, its stories' clips and its camera's shots), which the tools check as the editor reads it, not about a program, so no program gets it from the checks this page takes its examples from. The message the tool gives with it names the part of the file and how to put it right.
world_clip_invalid
Error A clip on the Timeline cannot be read: who it is for is not in the cast, its kind is not one the editor makes, or its words, feeling, move, entrance, walk or anchor is not one the editor takes.
How to fix it: Change the clip as its problem says: "who" a cast id, "kind" say, feel, act, walk or enter, a move id of the Do list, a feeling of the list, times in whole milliseconds.
Why there is no example: This code is about the editor's own file (a world, its cast, its stories' clips and its camera's shots), which the tools check as the editor reads it, not about a program, so no program gets it from the checks this page takes its examples from. The message the tool gives with it names the part of the file and how to put it right.
world_edits_full
Warning A level changed its pieces 10,000 times. So this change was not made.
How to fix it: Change pieces less often, or restart the level.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [
{
"hat": {"on": "start"},
"body": [
{
"op": "forever",
"body": [
{
"op": "together",
"branches": [
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
],
[
{
"op": "setpiece",
"x": 3,
"y": 17,
"props": {"friction": 0.5}
}
]
]
}
]
}
]
}
],
"levels": {
"One": {
"world": {
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"id": "ground",
"shape": "rect",
"x": 0,
"y": 16,
"w": 32,
"h": 2,
"material": "grass"
}
],
"marks": {"spawn": {"x": 4, "y": 16}}
}
}
}
}What the check says: A level changed its pieces 10,000 times. So this change was not made. (setpiece)
world_fields_on_painting
Warning A character is placed by a mark, a point or a size in a painting, which has no marks and no blocks.
How to fix it: Cut to a world place first, or place the character with x and y.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {
"A": {"name": "Ann", "look": {"template": "kid"}},
"B": {"name": "Bo", "look": {"template": "person"}}
},
"places": {
"yard": {
"world": {
"v": 1,
"kind": "world",
"art": 1,
"w": 32,
"h": 18,
"sky": {"kind": "day"},
"pieces": [
{
"layer": "main",
"id": "grid_main",
"shape": "cells",
"x": 0,
"y": 0,
"rows": [
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"................................",
"gggggggggggggggggggggggggggggggg",
"gggggggggggggggggggggggggggggggg"
]
}
],
"marks": {
"door": {"x": 4, "y": 16},
"tree": {"x": 20, "y": 16}
}
}
},
"park": "meadow"
},
"scripts": [
{
"hat": {
"on": "scene",
"name": "One",
"place": "yard"
},
"body": [
{"op": "cut", "place": "park"},
{"op": "place", "who": "A", "at": "door"}
]
}
]
}What the check says: A's place gives at, which only a world place uses; the place "park" is a painting
world_file_invalid
Error This is not the editor's file as it reads it: its format, version, place, a story or the story picked is not one the editor takes.
How to fix it: Send {"format": "jabbertoon-editor", "version": 1, "world": {...}} with the world's name, place, cast, stories and song; get_guide {"topic": "song"} has a whole one.
Why there is no example: This code is about the editor's own file (a world, its cast, its stories' clips and its camera's shots), which the tools check as the editor reads it, not about a program, so no program gets it from the checks this page takes its examples from. The message the tool gives with it names the part of the file and how to put it right.
world_invalid
Error A level's world has a problem, so the level cannot be played.
How to fix it: Check the world in the builder (Check my world) and fix what it names.
Why there is no example: The game gives this code when a level's world fails the world's own checks; the worlds' checks give the examples of those problems, each under its own code.
world_place_retired
Error A world of blocks seen from the side as a scene's place was the retired flat (2D) world's: every place is a World in 3D now.
How to fix it: Use a place by its name (meadow, beach, city, classroom, stage, space): each is a World in 3D in the editor, where 🏠 Things puts houses, trees and things in it. Or build a place in 🌍 World (https://jabbertoon.com/cartoon/#world) and make your cartoon there.
An example that gets this code
{
"v": 1,
"kind": "cartoon",
"cast": {"A": {"name": "Sunny"}, "B": {}},
"places": {"yard": {"world": "c4c:world:village"}},
"scripts": [
{"hat": {"on": "scene", "name": "s"}, "body": []}
]
}What the check says: places.yard: a world of blocks as a scene's place was the retired flat (2D) world's: every place is a World in 3D now; use a place by its name (meadow, beach, city, classroom, stage, space)
world_refused
Error The editor itself would not open the world as it is, or would leave a part of it out (its words say which).
How to fix it: Fix the part the editor names; the other problems say where.
Why there is no example: This code is about the editor's own file (a world, its cast, its stories' clips and its camera's shots), which the tools check as the editor reads it, not about a program, so no program gets it from the checks this page takes its examples from. The message the tool gives with it names the part of the file and how to put it right.
world_shot_invalid
Error A camera shot cannot be read: its kind is not all, close or two, its start is not a time, or it is on someone not in the cast (the editor would leave it out).
How to fix it: Give a shot as {"start": ms, "shot": "all"}, {"start": ms, "shot": "close", "on": ["A"]} or {"start": ms, "shot": "two", "on": ["A", "B"]}, "move": "glide" to ease there.
Why there is no example: This code is about the editor's own file (a world, its cast, its stories' clips and its camera's shots), which the tools check as the editor reads it, not about a program, so no program gets it from the checks this page takes its examples from. The message the tool gives with it names the part of the file and how to put it right.
world_too_big
Error The world's canonical JSON is over 1,048,576 bytes (1 MB), the most a world holds.
How to fix it: Make it smaller: fewer pieces, shorter outlines, smaller cells pieces, or two worlds.
Why there is no example: This code is about a world past one of its limits (its size in bytes, its pieces, its drawn points, its marks, its own structures, pieces and materials, or a key's letters), so the smallest world that gets it is far too long to show here. The message says how far past the limit it is and what to make smaller.
world_unknown
Error A level names a world that is not in the game's worlds.
How to fix it: Put the world in worlds under that name, or use a world's pack id.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"levels": {"One": {"world": "meadow"}}
}What the check says: levels.One.world: there is no world "meadow" in worlds
world_warning
Warning A level's world has something to look at.
How to fix it: Check the world in the builder (Check my world).
Why there is no example: The game gives this code when a level's world gets a warning from the world's own checks; the worlds' checks give the examples, each under its own code.
worlds_not_object
Error worlds is a list of named worlds: {village: {...}}.
How to fix it: Write worlds as {name: world}.
An example that gets this code
{
"v": 1,
"kind": "game",
"cast": {"Sunny": "c4c:char:kid"},
"scripts": [],
"worlds": ["meadow"]
}What the check says: worlds: must be {name: world}
wrong_door_game
Error This is a game made for the retired flat (2D) game maker, which no page opens now: every game is made in 3D.
How to fix it: Make the game in 🎮 Game (https://jabbertoon.com/game/#game), or with the build tool (get_guide topic game).
Why there is no example: This code is about a link opened at a page that does not open what it holds (a game, a world or a character recipe), not about a program, so no program gets it from the checks. The page says it in these words and names the page that opens it, and nothing is changed.
wrong_door_recipe
Error This is a character recipe. It opens at /create/.
How to fix it: Open the link at /create/, then add the character to your cartoon or world.
Why there is no example: This code is about a link opened at a page that does not open what it holds (a game, a world or a character recipe), not about a program, so no program gets it from the checks. The page says it in these words and names the page that opens it, and nothing is changed.