Skip to content

Commit 6753e4c

Browse files
cleanup after removing tilesExt
1 parent bf9381a commit 6753e4c

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/makecode/blocks.png

-51.3 KB
Loading

.github/makecode/blocksdiff.png

-193 KB
Loading

main.blocks

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="KIND_SpriteKind" id="Bzp.IrZSvxERt]VBablf">Player</variable><variable type="KIND_SpriteKind" id="$f;Iz=*fs18hS;#%cP6,">Projectile</variable><variable type="KIND_SpriteKind" id="SH}z~2AgC$xzF/0a_g-(">Food</variable><variable type="KIND_SpriteKind" id="KS8VGinqleuA1z#G@Rf2">Enemy</variable><variable id="+9!h{iAQYJH4)|o[B/ix">mySprite</variable><variable id="),=QH@Dn:@mHvp{j|jfY">value</variable><variable id="$9gizyN$XU=JpL@{%y,#">index</variable><variable id="T,.ukA!{HbpSRCHi2F(F">list</variable></variables><block type="pxt-on-start" id="2#LgQ:T|Djz0C5nic-Df" x="0" y="0"><statement name="HANDLER"><block type="set_current_tilemap" id="21$[]QKAtTk5~)WCGguP"><value name="tilemap"><shadow type="tiles_tilemap_editor"></shadow><block type="maze_generateTilemap" id="OT2|qD,}aY,erHc.`)hy"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="algorithm">MazeAlgorithm.Ellers</field><value name="mazeWidth"><shadow type="math_number" id="$iX5_v?d=zc,+eAZZr[/"><field name="NUM">8</field></shadow></value><value name="mazeHeight"><shadow type="math_number" id="[dpc.Aq{[%4(M+~:AW-w"><field name="NUM">8</field></shadow></value><value name="wall"><shadow type="tileset_tile_picker" id="q5tZfeP/6emBreeeY0JZ"><field name="tile">sprites.dungeon.floorDark0</field></shadow></value><value name="floor"><shadow type="tileset_tile_picker" id="s%,wf*vfZ8[[AsN,D-lH"><field name="tile">sprites.castle.tileGrass2</field></shadow></value><value name="corridorSize"><shadow type="math_number" id="m*Y5;riiO%mKO4_{gTLg"><field name="NUM">2</field></shadow></value><value name="seed"><shadow type="math_number" id="l^nL0?V2a]HM89$e[y[m"><field name="NUM">0</field></shadow></value></block></value><next><block type="variables_set" id="mOov{br+$[ltFE81#)p0"><field name="VAR" id="+9!h{iAQYJH4)|o[B/ix">mySprite</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="8%`.@*2cVhgtBxSyp+r/"><value name="img"><shadow type="screen_image_picker" id="O5K9Lgj!^;aY5{fHEifa"><field name="img">img`
1+
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="KIND_SpriteKind" id="Bzp.IrZSvxERt]VBablf">Player</variable><variable type="KIND_SpriteKind" id="$f;Iz=*fs18hS;#%cP6,">Projectile</variable><variable type="KIND_SpriteKind" id="SH}z~2AgC$xzF/0a_g-(">Food</variable><variable type="KIND_SpriteKind" id="KS8VGinqleuA1z#G@Rf2">Enemy</variable><variable id="+9!h{iAQYJH4)|o[B/ix">mySprite</variable><variable id="),=QH@Dn:@mHvp{j|jfY">value</variable><variable id="$9gizyN$XU=JpL@{%y,#">index</variable><variable id="T,.ukA!{HbpSRCHi2F(F">list</variable></variables><block type="pxt-on-start" id="2#LgQ:T|Djz0C5nic-Df" x="0" y="0"><statement name="HANDLER"><block type="set_current_tilemap" id="21$[]QKAtTk5~)WCGguP"><value name="tilemap"><shadow type="tiles_tilemap_editor"></shadow><block type="maze_generateTilemap" id="OT2|qD,}aY,erHc.`)hy"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="algorithm">MazeAlgorithm.Ellers</field><value name="mazeWidth"><shadow type="math_number" id="$iX5_v?d=zc,+eAZZr[/"><field name="NUM">8</field></shadow></value><value name="mazeHeight"><shadow type="math_number" id="[dpc.Aq{[%4(M+~:AW-w"><field name="NUM">8</field></shadow></value><value name="wall"><shadow type="tileset_tile_picker" id="q5tZfeP/6emBreeeY0JZ"><field name="tile">sprites.dungeon.floorDark0</field></shadow></value><value name="floor"><shadow type="tileset_tile_picker" id="s%,wf*vfZ8[[AsN,D-lH"><field name="tile">sprites.castle.tileGrass2</field></shadow></value><value name="corridorSize"><shadow type="math_number" id="m*Y5;riiO%mKO4_{gTLg"><field name="NUM">2</field></shadow></value><value name="seed"><shadow type="math_number" id="l^nL0?V2a]HM89$e[y[m"><field name="NUM">1</field></shadow></value></block></value><next><block type="variables_set" id="mOov{br+$[ltFE81#)p0"><field name="VAR" id="+9!h{iAQYJH4)|o[B/ix">mySprite</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="8%`.@*2cVhgtBxSyp+r/"><value name="img"><shadow type="screen_image_picker" id="O5K9Lgj!^;aY5{fHEifa"><field name="img">img`
22
........................
33
.....ffff...............
44
...fff22fff.............
@@ -23,4 +23,4 @@ fbbbbf2222fd4...........
2323
........................
2424
........................
2525
........................
26-
`</field><data>{"commentRefs":[],"fieldData":{"img":"O5K9Lgj!^;aY5{fHEifa"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="s3fDKdK~%~)p`WKNzB!$"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="mapplaceontile" id="0~YmwAemqj}O[QJKmg1X"><value name="sprite"><shadow type="variables_get" id="e|llBI4@@)1#(K4-lf|]"><field name="VAR" id="+9!h{iAQYJH4)|o[B/ix">mySprite</field></shadow></value><value name="loc"><shadow type="mapgettile" id="ad4]KCyfY[KT]rMsMG44"><value name="col"><shadow type="math_number" id="5l;7M~{E{/!M#M]x#U#T"><field name="NUM">2</field></shadow></value><value name="row"><shadow type="math_number" id="){9**c8{_Ef*~$@SGvOw"><field name="NUM">2</field></shadow></value></shadow></value><next><block type="game_control_sprite" id="g`gij(W-7rkMVJ;wCYuF"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><value name="sprite"><shadow type="variables_get" id="L{.?sN!B0{]fcWR#vF.Z"><field name="VAR" id="+9!h{iAQYJH4)|o[B/ix">mySprite</field></shadow></value><next><block type="camerafollow" id="96WRu7=Lfk3^4O5v|-i%"><value name="sprite"><shadow type="variables_get" id="1m!C;riN.@!y$7aEkE01"><field name="VAR" id="+9!h{iAQYJH4)|o[B/ix">mySprite</field></shadow></value><next><block type="pxt_controls_for_of" id="A,%C$*GnW+cn=:B5J:%J"><value name="VAR"><shadow type="variables_get_reporter" id="d,1}3)2^Sl^)A{E5`5Ag"><field name="VAR" id="),=QH@Dn:@mHvp{j|jfY">value</field></shadow></value><value name="LIST"><block type="tilesExt_getRandomTilesByType" id=",G.Et$;^ZjSU4Gzvmwqv"><value name="maxCount"><shadow type="math_number" id="ds`}pPv,kvy?L0bmc?I+"><field name="NUM">10</field></shadow></value><value name="tile"><shadow type="tileset_tile_picker" id="W47QS:w+mN8=stcmn9Uk"><field name="tile">sprites.castle.tileGrass2</field></shadow></value></block></value><statement name="DO"><block type="mapsettileat" id="8Q7K{)J2r4Q(_Dy|Mow@"><value name="tile"><shadow type="tileset_tile_picker" id="DZo=*(l?jSUZ7sHOEZe;"><field name="tile">sprites.dungeon.chestClosed</field></shadow></value><value name="loc"><shadow type="mapgettile"></shadow><block type="variables_get" id="HAvtQ=[rQuTeyg8IM70$"><field name="VAR" id="),=QH@Dn:@mHvp{j|jfY">value</field></block></value></block></statement><next><block type="pxt_controls_for_of" id="571kk3,5b^iHbxbvM7K4"><value name="VAR"><shadow type="variables_get_reporter" id="sJzEu|0(cBJGf6+~!h%w"><field name="VAR" id="),=QH@Dn:@mHvp{j|jfY">value</field></shadow></value><value name="LIST"><shadow type="variables_get" id="G?J6JEuRDlpqiEsZc7Fy"><field name="VAR" id="T,.ukA!{HbpSRCHi2F(F">list</field></shadow><block type="tilesExt_line" id="iceUsf%5h2LvW}lc0wZc"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><field name="lineType">LineType.Covering</field><value name="l1"><shadow type="mapgettile" id="yxez+9UoNvmq7iSST)bv"><value name="col"><shadow type="math_number" id=")$djDrUW][3D~LaV2!{7"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id=",{7gQ~9+Jp+3Vy96:CoK"><field name="NUM">0</field></shadow></value></shadow></value><value name="l2"><shadow type="mapgettile" id="|tW/-f{Qf,Z42;kP~:%t"><value name="col"><shadow type="math_number" id="z/z`jlS][XN_7;l9$0+z"><field name="NUM">5</field></shadow></value><value name="row"><shadow type="math_number" id="w0*(lB)_t,ApNMEnQ@6G"><field name="NUM">5</field></shadow></value></shadow></value><value name="exclusive"><shadow type="logic_boolean" id="dfHq6LpYg^k59?xt_|P9"><field name="BOOL">FALSE</field></shadow></value></block></value><statement name="DO"><block type="mapsettileat" id="wj(d|.|ai^~fs|3poKOU"><value name="tile"><shadow type="tileset_tile_picker" id="M:mI3!xWs`U~r[CV+)9m"><field name="tile">sprites.builtin.brick</field></shadow></value><value name="loc"><shadow type="mapgettile" id="6kE67=)e-U?6jsiI[`1?"><value name="col"><shadow type="math_number" id="*t4.x2,?vl=lZ-cP*mO("><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="QlaIws8EUS=!]8Xb$?[#"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="{3%J1oU,jexKgCZ7SfPB"><field name="VAR" id="),=QH@Dn:@mHvp{j|jfY">value</field></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>
26+
`</field><data>{"commentRefs":[],"fieldData":{"img":null}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="s3fDKdK~%~)p`WKNzB!$"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="mapplaceontile" id="0~YmwAemqj}O[QJKmg1X"><value name="sprite"><shadow type="variables_get" id="e|llBI4@@)1#(K4-lf|]"><field name="VAR" id="+9!h{iAQYJH4)|o[B/ix">mySprite</field></shadow></value><value name="loc"><shadow type="mapgettile" id="ad4]KCyfY[KT]rMsMG44"><value name="col"><shadow type="math_number" id="5l;7M~{E{/!M#M]x#U#T"><field name="NUM">2</field></shadow></value><value name="row"><shadow type="math_number" id="){9**c8{_Ef*~$@SGvOw"><field name="NUM">2</field></shadow></value></shadow></value><next><block type="game_control_sprite" id="g`gij(W-7rkMVJ;wCYuF"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><value name="sprite"><shadow type="variables_get" id="L{.?sN!B0{]fcWR#vF.Z"><field name="VAR" id="+9!h{iAQYJH4)|o[B/ix">mySprite</field></shadow></value><next><block type="camerafollow" id="96WRu7=Lfk3^4O5v|-i%"><value name="sprite"><shadow type="variables_get" id="1m!C;riN.@!y$7aEkE01"><field name="VAR" id="+9!h{iAQYJH4)|o[B/ix">mySprite</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block></xml>

main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tiles.setCurrentTilemap(maze.generateTilemap(MazeAlgorithm.Ellers, 8, 8, sprites.dungeon.floorDark0, sprites.castle.tileGrass2, 2, 0))
1+
tiles.setCurrentTilemap(maze.generateTilemap(MazeAlgorithm.Ellers, 8, 8, sprites.dungeon.floorDark0, sprites.castle.tileGrass2, 2, 1))
22
let mySprite = sprites.create(img`
33
........................
44
.....ffff...............
@@ -27,4 +27,4 @@ let mySprite = sprites.create(img`
2727
`, SpriteKind.Player)
2828
tiles.placeOnTile(mySprite, tiles.getTileLocation(2, 2))
2929
controller.moveSprite(mySprite)
30-
scene.cameraFollowSprite(mySprite)
30+
scene.cameraFollowSprite(mySprite)

pxt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
"supportedTargets": [
2626
"arcade"
2727
],
28-
"preferredEditor": "blocksprj"
28+
"preferredEditor": "tsprj"
2929
}

0 commit comments

Comments
 (0)