Skip to content
Snippets Groups Projects
Commit 9a73ef60 authored by Eric Rosenbaum's avatar Eric Rosenbaum
Browse files

Add “top” category to toolbox xml

parent 79689da9
Branches
Tags
No related merge requests found
const separator = '<sep gap="45"/>';
const top = `
<category name="Top" colour="#FFFFFF" secondaryColour="#CCCCCC">
<block type="event_whenflagclicked"/>
<block type="event_whenkeypressed">
</block>
<block type="event_whenthisspriteclicked"/>
<block type="motion_movesteps">
<value name="STEPS">
<shadow type="math_number">
<field name="NUM">10</field>
</shadow>
</value>
</block>
<block type="motion_turnright">
<value name="DEGREES">
<shadow type="math_number">
<field name="NUM">15</field>
</shadow>
</value>
</block>
<block type="motion_ifonedgebounce"/>
<block type="sound_playuntildone">
<value name="SOUND_MENU">
<shadow type="sound_sounds_menu"/>
</value>
</block>
<block type="looks_changeeffectby">
<value name="CHANGE">
<shadow type="math_number">
<field name="NUM">10</field>
</shadow>
</value>
</block>
<block type="control_repeat">
<value name="TIMES">
<shadow type="math_whole_number">
<field name="NUM">10</field>
</shadow>
</value>
</block>
<block type="control_wait">
<value name="DURATION">
<shadow type="math_positive_number">
<field name="NUM">1</field>
</shadow>
</value>
</block>
<block type="operator_random">
<value name="FROM">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
<value name="TO">
<shadow type="math_number">
<field name="NUM">10</field>
</shadow>
</value>
</block>
</category>
`;
const motion = `
<category name="Motion" colour="#4C97FF" secondaryColour="#3373CC">
<block type="motion_movesteps">
......@@ -617,6 +679,7 @@ const makeToolboxXML = function (categoriesXML) {
const everything = [
xmlOpen,
top, gap,
motion, gap,
looks, gap,
sound, gap,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment