Skip to content

Commit

Permalink
motion expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGamer13 committed Sep 24, 2023
1 parent 8c7162f commit ee666d4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 46 deletions.
10 changes: 10 additions & 0 deletions src/lib/libraries/extensions/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ import jgPathfindingExtensionIcon from './penguinmod/extensions/pathfinding.png'
import jgAnimationExtensionIcon from './penguinmod/extensions/animation.png';

// category expansions
import pmMotionExpansionExtensionIcon from './penguinmod/extensions/motion_expanded.png';
import pmEventsExpansionExtensionIcon from './penguinmod/extensions/events_expanded.png';
import pmControlsExpansionExtensionIcon from './penguinmod/extensions/controls_expanded.png';
import pmSensingExpansionExtensionIcon from './penguinmod/extensions/sensing_expanded.png';
Expand Down Expand Up @@ -331,6 +332,15 @@ const menuItems = [
description: 'Free speed and pitch control, starting sounds at certain positions, stopping sounds, etc.',
featured: true
},
{
name: 'Motion Expansion',
extensionId: 'pmMotionExpansion',
iconURL: pmMotionExpansionExtensionIcon,
tags: ['penguinmod', 'categoryexpansion'],
description: "More small motion blocks for movement or collision.",
featured: true,
credits: 'Some blocks from NexusKitten'
},
{
name: 'Events Expansion',
extensionId: 'pmEventsExpansion',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 0 additions & 46 deletions src/lib/make-toolbox-xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,40 +58,6 @@ const motion = function (isInitialSetup, isStage, targetId) {
</shadow>
</value>
</block>
<block type="motion_turnrightaroundxy">
<value name="DEGREES">
<shadow type="math_number">
<field name="NUM">15</field>
</shadow>
</value>
<value name="X">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
<value name="Y">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
</block>
<block type="motion_turnleftaroundxy">
<value name="DEGREES">
<shadow type="math_number">
<field name="NUM">15</field>
</shadow>
</value>
<value name="X">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
<value name="Y">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
</block>
${blockSeparator}
<block type="motion_goto">
<value name="TO">
Expand Down Expand Up @@ -214,18 +180,6 @@ const motion = function (isInitialSetup, isStage, targetId) {
<shadow type="motion_pointtowards_menu"></shadow>
</value>
</block>
<block type="motion_ifonxybounce">
<value name="X">
<shadow type="math_number">
<field name="NUM">10</field>
</shadow>
</value>
<value name="Y">
<shadow type="math_number">
<field name="NUM">10</field>
</shadow>
</value>
</block>
${blockSeparator}
<block type="motion_setrotationstyle"/>
${blockSeparator}
Expand Down

0 comments on commit ee666d4

Please sign in to comment.