Skip to content

Commit 0ba2319

Browse files
committed
new default project sprites!
1 parent 430aeaf commit 0ba2319

File tree

7 files changed

+27
-86
lines changed

7 files changed

+27
-86
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Modified version of TurboWarp (a modified version of Scratch) for use in the `Co
44

55
For setup instructions, follow [these steps](https://github.com/CodeTorchNET/Block-Compiler-Parent?tab=readme-ov-file#step-4-install-the-compiler) to install the compiler. If you'd like to set up the entire project, refer to the complete [installation guide](https://github.com/CodeTorchNET/Block-Compiler-Parent?tab=readme-ov-file#installation-guide).
66

7+
8+
NOTE: The SVG assets located at src/lib/default-project/frame1.svg and src/lib/default-project/frame2.svg are not distributed under the GNU Affero General Public License (AGPL). These specific assets are proprietary and are governed by separate licensing terms. They are provided solely for use within the context of the CodeTorch organization and website. Redistribution, modification, or use in derivative works is strictly prohibited without the express written consent of the copyright holder.
9+
710
<br>
811
<br>
912
<br>

src/lib/default-project/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
`dango-cat.svg` was created by https://scratch.mit.edu/users/littlebunny06/ 🍡🐱
1+
NOTE: The SVG assets located at frame1.svg and frame2.svg are not distributed under the GNU Affero General Public License (AGPL). These specific assets are proprietary and are governed by separate licensing terms. They are provided solely for use within the context of the CodeTorch organization and website. Redistribution, modification, or use in derivative works is strictly prohibited without the express written consent of the copyright holder.
2+
3+
4+
5+
26

37
If `default-project.sb3` is replaced with a non-empty file, it will be used instead of the costumes.

src/lib/default-project/dango-cat.svg

Lines changed: 0 additions & 84 deletions
This file was deleted.

src/lib/default-project/frame1.svg

Lines changed: 1 addition & 0 deletions
Loading

src/lib/default-project/frame2.svg

Lines changed: 1 addition & 0 deletions
Loading

src/lib/default-project/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import projectData from './project-data';
33
/* eslint-disable import/no-unresolved */
44
import overrideDefaultProject from '!arraybuffer-loader!./override-default-project.sb3';
55
import backdrop from '!raw-loader!./cd21514d0531fdffb22204e0ec5ed84a.svg';
6-
import costume1 from '!raw-loader!./dango-cat.svg';
6+
import costume1 from '!raw-loader!./frame1.svg';
7+
import costume2 from '!raw-loader!./frame2.svg';
78
/* eslint-enable import/no-unresolved */
89
import {TextEncoder} from '../tw-text-encoder';
910

@@ -41,6 +42,12 @@ const defaultProject = translator => {
4142
assetType: 'ImageVector',
4243
dataFormat: 'SVG',
4344
data: encoder.encode(costume1)
45+
},
46+
{
47+
id: 'f1b8a0c2e3e4f5a6b7c8d9e0f1a2b3c4',
48+
assetType: 'ImageVector',
49+
dataFormat: 'SVG',
50+
data: encoder.encode(costume2)
4451
}];
4552
};
4653

src/lib/default-project/project-data.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@ const projectData = translateFunction => {
6767
dataFormat: 'svg',
6868
rotationCenterX: 30.74937882782359,
6969
rotationCenterY: 58.864768144346826
70+
},
71+
{
72+
assetId: 'f1b8a0c2e3e4f5a6b7c8d9e0f1a2b3c4',
73+
name: translator(messages.costume, {index: 2}),
74+
bitmapResolution: 1,
75+
md5ext: 'f1b8a0c2e3e4f5a6b7c8d9e0f1a2b3c4.svg',
76+
dataFormat: 'svg',
77+
rotationCenterX: 30.74937882782359,
78+
rotationCenterY: 58.864768144346826
7079
}
7180
],
7281
sounds: [],

0 commit comments

Comments
 (0)