-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16332 from code-dot-org/k1-projects
Add /p/artist_k1 and /p/playlab_k1 project pages
- Loading branch information
Showing
3 changed files
with
130 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
dashboard/config/scripts/levels/New K1 Artist Project.level
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<Artist> | ||
<config><![CDATA[{ | ||
"game_id": 23, | ||
"created_at": "2017-07-10T00:00:00.000Z", | ||
"level_num": "custom", | ||
"user_id": 16, | ||
"properties": { | ||
"skin": "artist", | ||
"is_k1": "true", | ||
"is_project_level": "true", | ||
"skip_instructions_popup": "true", | ||
"slider_speed": "0.9", | ||
"disable_param_editing": "false", | ||
"disable_variable_editing": "false", | ||
"use_modal_function_editor": "true", | ||
"use_contract_editor": "false", | ||
"start_direction": "90", | ||
"x": "200", | ||
"y": "200", | ||
"free_play": "true", | ||
"impressive": "false", | ||
"embed": "false", | ||
"disable_sharing": "false", | ||
"contract_highlight": "false", | ||
"contract_collapse": "false", | ||
"examples_highlight": "false", | ||
"examples_collapse": "false", | ||
"definition_highlight": "false", | ||
"definition_collapse": "false", | ||
"disable_examples": "false", | ||
"scrollbars": "false", | ||
"never_autoplay_video": "false", | ||
"examples_required": "false", | ||
"instructions_important": "false", | ||
"hide_share_and_remix": "false", | ||
"disable_if_else_editing": "false", | ||
"discard_background": "false", | ||
"contained_level_names": null | ||
}, | ||
"published": true, | ||
"notes": "", | ||
"audit_log": "[{\"changed_at\":\"2017-06-13 21:38:59 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"solution_blocks\",\"contained_level_names\"],\"changed_by_id\":684,\"changed_by_email\":\"audrey.clark@code.org\"},{\"changed_at\":\"2017-06-13 21:47:17 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"solution_blocks\",\"contained_level_names\"],\"changed_by_id\":684,\"changed_by_email\":\"audrey.clark@code.org\"}]", | ||
"level_concept_difficulty": { | ||
} | ||
}]]></config> | ||
<blocks> | ||
<start_blocks> | ||
<xml> | ||
<block type="when_run" id="when_run" deletable="false" movable="false"/> | ||
</xml> | ||
</start_blocks> | ||
<toolbox_blocks> | ||
<xml> | ||
</xml> | ||
</toolbox_blocks> | ||
</blocks> | ||
</Artist> |
67 changes: 67 additions & 0 deletions
67
dashboard/config/scripts/levels/New K1 Play Lab Project.level
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<Studio> | ||
<config><![CDATA[{ | ||
"game_id": 33, | ||
"created_at": "2017-07-10T00:00:00.000Z", | ||
"level_num": "custom", | ||
"user_id": 16, | ||
"properties": { | ||
"skin": "studio", | ||
"success_condition": "function () {\r\n // Sample conditions:\r\n // return Studio.sprite[0].isCollidingWith(1);\r\n // return Studio.sayComplete > 0;\r\n // return Studio.sprite[0].emotion === Emotions.HAPPY;\r\n // return Studio.tickCount > 50;\r\n}", | ||
"failure_condition": "function () {\r\n}", | ||
"maze": "[[16,0,0,16,0,0,16,0],[0,0,0,0,0,0,0,0],[16,0,0,16,0,0,16,0],[0,0,0,0,0,0,0,0],[16,0,0,16,0,0,16,0],[0,0,0,0,0,0,0,0],[16,0,0,16,0,0,16,0],[0,0,0,0,0,0,0,0]]", | ||
"embed": "false", | ||
"is_k1": "true", | ||
"is_project_level": "true", | ||
"skip_instructions_popup": "true", | ||
"disable_param_editing": "false", | ||
"disable_variable_editing": "false", | ||
"use_modal_function_editor": "true", | ||
"use_contract_editor": "false", | ||
"free_play": "true", | ||
"first_sprite_index": "1", | ||
"edge_collisions": "false", | ||
"projectile_collisions": "false", | ||
"allow_sprites_outside_playspace": "false", | ||
"sprites_hidden_to_start": "true", | ||
"coordinate_grid_background": "false", | ||
"disable_sharing": "false", | ||
"soft_buttons": [ | ||
"leftButton", | ||
"rightButton", | ||
"downButton", | ||
"upButton" | ||
], | ||
"generate_function_pass_blocks": "false", | ||
"timeout_after_when_run": "false", | ||
"contract_highlight": "false", | ||
"contract_collapse": "false", | ||
"examples_highlight": "false", | ||
"examples_collapse": "false", | ||
"definition_highlight": "false", | ||
"definition_collapse": "false", | ||
"min_workspace_height": "1250", | ||
"disable_examples": "false", | ||
"never_autoplay_video": "false", | ||
"examples_required": "false", | ||
"wall_map_collisions": "false", | ||
"block_moving_into_walls": "false", | ||
"instructions_important": "false", | ||
"contained_level_names": null | ||
}, | ||
"published": true, | ||
"notes": "", | ||
"level_concept_difficulty": { | ||
} | ||
}]]></config> | ||
<blocks> | ||
<start_blocks> | ||
<xml> | ||
<block type="when_run" id="when_run" deletable="false"/> | ||
</xml> | ||
</start_blocks> | ||
<toolbox_blocks> | ||
<xml> | ||
</xml> | ||
</toolbox_blocks> | ||
</blocks> | ||
</Studio> |