minor art updates
This commit is contained in:
parent
40073aefea
commit
b4c858b89f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,6 +8,17 @@ TheLovers:
|
|||||||
dw .BackgroundCopy
|
dw .BackgroundCopy
|
||||||
dw .KeyArtTilesEnd - .KeyArtTiles
|
dw .KeyArtTilesEnd - .KeyArtTiles
|
||||||
dw .KeyArtTiles
|
dw .KeyArtTiles
|
||||||
|
dw .SpriteTilesEnd - .SpriteTiles
|
||||||
|
dw .SpriteTiles
|
||||||
|
dw .fInit
|
||||||
|
dw .fUpdate
|
||||||
|
dw .fDraw
|
||||||
|
|
||||||
|
.fInit: ret
|
||||||
|
.fUpdate: ret
|
||||||
|
.fDraw: ret
|
||||||
|
.SpriteTiles:
|
||||||
|
.SpriteTilesEnd:
|
||||||
; original export script by gabriel reis, modified by shoofle
|
; original export script by gabriel reis, modified by shoofle
|
||||||
|
|
||||||
|
|
||||||
|
Binary file not shown.
@ -23,7 +23,7 @@
|
|||||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<defs>
|
<defs>
|
||||||
<g id="point">
|
<g id="point">
|
||||||
<rect id="sprite" x="-0.5" y="-0.5" width="8" height="8" stroke="none" fill="gray" fill-opacity="25%"/>
|
<rect id="sprite" x="0" y="0" width="8" height="8" stroke="none" fill="gray" fill-opacity="25%"/>
|
||||||
<circle cx="0.5" cy="0.5" r="2" fill="black" fill-opacity="25%"/>
|
<circle cx="0.5" cy="0.5" r="2" fill="black" fill-opacity="25%"/>
|
||||||
<circle cx="0.5" cy="0.5" r="0.5" fill="black" fill-opacity="100%"/>
|
<circle cx="0.5" cy="0.5" r="0.5" fill="black" fill-opacity="100%"/>
|
||||||
</g>
|
</g>
|
||||||
@ -94,6 +94,8 @@
|
|||||||
var text_output = null;
|
var text_output = null;
|
||||||
var moving_point_index = -1;
|
var moving_point_index = -1;
|
||||||
var the_list = [];
|
var the_list = [];
|
||||||
|
var current_viewport = {center: {x: 0, y: 0}, radius: {x: 176, y: 176}};
|
||||||
|
var max_viewport = {center: {x: 0, y: 0}, radius: {x: 176, y:176}};
|
||||||
|
|
||||||
function length(dx, dy) {return Math.sqrt(dx*dx + dy*dy);}
|
function length(dx, dy) {return Math.sqrt(dx*dx + dy*dy);}
|
||||||
|
|
||||||
@ -188,16 +190,12 @@
|
|||||||
}
|
}
|
||||||
const changetextarea = (event) => {
|
const changetextarea = (event) => {
|
||||||
let raw = event.target.value;
|
let raw = event.target.value;
|
||||||
|
|
||||||
let stripped = raw.replace(/db [0-9]+,/, "");
|
let stripped = raw.replace(/db [0-9]+,/, "");
|
||||||
|
|
||||||
let pairs = stripped.matchAll(/ ?[0-9]+, ?[0-9]+/g);
|
let pairs = stripped.matchAll(/ ?[0-9]+, ?[0-9]+/g);
|
||||||
|
|
||||||
let splits = pairs.map((x) => x[0].split(/,/));
|
let splits = pairs.map((x) => x[0].split(/,/));
|
||||||
|
let points = splits.map(([a, b]) => { return {y: Number(a), x: Number(b)}; } );
|
||||||
|
|
||||||
let numbers = splits.map(([a, b]) => { return {y: Number(a), x: Number(b)}; } );
|
the_list = [... points];
|
||||||
|
|
||||||
the_list = [... numbers];
|
|
||||||
|
|
||||||
regenerate_svg_list();
|
regenerate_svg_list();
|
||||||
regenerate_text_list();
|
regenerate_text_list();
|
||||||
@ -292,6 +290,8 @@
|
|||||||
if (event.key == 'd') { delete_radio.checked = true; }
|
if (event.key == 'd') { delete_radio.checked = true; }
|
||||||
if (event.key == 'g') { move_radio.checked = true; }
|
if (event.key == 'g') { move_radio.checked = true; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
BIN
source.zip
BIN
source.zip
Binary file not shown.
Loading…
Reference in New Issue
Block a user