diff --git a/macrovision.js b/macrovision.js index 76d62b0a..e13a954f 100644 --- a/macrovision.js +++ b/macrovision.js @@ -1368,7 +1368,6 @@ window.addEventListener("resize", () => { canvasWidth = document.querySelector("#display").clientWidth - 100; canvasHeight = document.querySelector("#display").clientHeight - 50; updateSizes(); - setTimeout(updateSizes, 100) }) document.addEventListener("mousemove", (e) => { diff --git a/media/attribution.js b/media/attribution.js index 45b209c4..8746f9e1 100644 --- a/media/attribution.js +++ b/media/attribution.js @@ -6611,6 +6611,18 @@ const attributionData = { "runnola" ] }, + { + prefix: "./media/characters/bianca/", + files: [ + { name: "front.svg", source: "https://www.furaffinity.net/view/26077161/" } + ], + authors: [ + "eveara" + ], + owners: [ + "sdocat" + ] + }, //characters { prefix: "./media/food/animals/", @@ -8073,7 +8085,7 @@ const attributionData = { }, "sdocat": { "name": "sdocat", - "url": "sdocat", + "url": "https://www.furaffinity.net/user/sdocat", }, "neopuc": { "name": "Neopuc", diff --git a/media/characters/bianca/front.svg b/media/characters/bianca/front.svg new file mode 100644 index 00000000..57533307 --- /dev/null +++ b/media/characters/bianca/front.svg @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/characters/natasha/front.svg b/media/characters/natasha/front.svg index e482b094..10b29acc 100644 --- a/media/characters/natasha/front.svg +++ b/media/characters/natasha/front.svg @@ -1,124 +1,574 @@ - + + viewBox="0 0 606.38 879.61" style="enable-background:new 0 0 606.38 879.61;" xml:space="preserve"> + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/presets/characters.js b/presets/characters.js index c672569b..13b139fe 100644 --- a/presets/characters.js +++ b/presets/characters.js @@ -859,60 +859,47 @@ function makeAigey() { return entity; } -function makeNatasha() { - const views = { - side: { - attributes: { - height: { - name: "Height", - power: 1, - type: "length", - base: math.unit(6, "feet") - }, - weight: { - name: "Weight", - power: 3, - type: "mass", - base: math.unit(75, "kg") +characterMakers["Natasha"] = () => { + return makeCharacter( + "Natasha", + "MammaAWD", + { + front: { + height: math.unit(5 + 5/12, "feet"), + weight: math.unit(75, "kg"), + name: "Front", + image: { + source: "./media/characters/natasha/front.svg", + extra: 875/846, + bottom: 0.01 } }, - image: { - source: "./media/characters/natasha/front.svg" + }, + [ + { + name: "Normal", + height: math.unit(5 + 5/12, "feet") }, - name: "Side" - } - }; - - const entity = makeEntity({ name: "Natasha", author: "Natasha" }, views, []); - - entity.sizes.push({ - name: "Normal", - height: math.unit(5 + 5 / 12, "feet") - }); - - entity.sizes.push({ - name: "Large", - height: math.unit(12, "feet") - }); - entity.sizes.push({ - name: "Macro", - height: math.unit(100, "feet") - }); - - entity.sizes.push({ - name: "Macro+", - height: math.unit(260, "feet") - }); - - entity.sizes.push({ - name: "Macro++", - height: math.unit(1, "mile") - }); - - entity.views[entity.defaultView].height = math.unit(100, "feet"); - - return entity; -} + { + name: "Large", + height: math.unit(12, "feet") + }, + { + name: "Macro", + height: math.unit(100, "feet"), + default: true + }, + { + name: "Macro+", + height: math.unit(260, "feet") + }, + { + name: "Macro++", + height: math.unit(1, "mile") + }, + ] + ) +}; function makeMalik() { const views = { @@ -16031,6 +16018,31 @@ characterMakers["Anima"] = () => { ) }; +characterMakers["Bianca"] = () => { + return makeCharacter( + "Bianca", + "Sdocat", + { + front: { + height: math.unit(6, "feet"), + weight: math.unit(150, "lb"), + name: "Front", + image: { + source: "./media/characters/bianca/front.svg", + extra: 234/225, + bottom: 0.03 + } + }, + }, + [ + { + name: "Normal", + height: math.unit(8, "feet") + }, + ] + ) +};c + //characters function makeCharacters() { @@ -16047,10 +16059,6 @@ function makeCharacters() { name: "Aigey", constructor: makeAigey }); - results.push({ - name: "Natasha", - constructor: makeNatasha - }); results.push({ name: "Malik", constructor: makeMalik