diff --git a/public/assets/textures/arm Predatory Pincers.png b/public/assets/textures/arm Predatory Pincers.png index b7a8cd3..226483b 100644 Binary files a/public/assets/textures/arm Predatory Pincers.png and b/public/assets/textures/arm Predatory Pincers.png differ diff --git a/public/assets/textures/arm Sone ka Sparsh.png b/public/assets/textures/arm Sone ka Sparsh.png index dff45c3..0277c2a 100644 Binary files a/public/assets/textures/arm Sone ka Sparsh.png and b/public/assets/textures/arm Sone ka Sparsh.png differ diff --git a/public/assets/textures/arm Swift of Swipe.png b/public/assets/textures/arm Swift of Swipe.png index 67489ef..93cc863 100644 Binary files a/public/assets/textures/arm Swift of Swipe.png and b/public/assets/textures/arm Swift of Swipe.png differ diff --git a/public/assets/textures/arm Tallboy 0020.png b/public/assets/textures/arm Tallboy 0020.png index cadf987..941617b 100644 Binary files a/public/assets/textures/arm Tallboy 0020.png and b/public/assets/textures/arm Tallboy 0020.png differ diff --git a/public/assets/textures/arm Tarless Feather.png b/public/assets/textures/arm Tarless Feather.png index db06fdf..641e6ed 100644 Binary files a/public/assets/textures/arm Tarless Feather.png and b/public/assets/textures/arm Tarless Feather.png differ diff --git a/public/assets/textures/arm The White Knuckles.png b/public/assets/textures/arm The White Knuckles.png index f695fb1..2c12958 100644 Binary files a/public/assets/textures/arm The White Knuckles.png and b/public/assets/textures/arm The White Knuckles.png differ diff --git a/public/assets/textures/arm Year 0717.png b/public/assets/textures/arm Year 0717.png index 618f1f8..c121a32 100644 Binary files a/public/assets/textures/arm Year 0717.png and b/public/assets/textures/arm Year 0717.png differ diff --git a/public/assets/textures/chest Whet Appetite.png b/public/assets/textures/chest Whet Appetite.png index 6a024f2..8a0cc3b 100644 Binary files a/public/assets/textures/chest Whet Appetite.png and b/public/assets/textures/chest Whet Appetite.png differ diff --git a/public/assets/textures/head Peckish Lump.png b/public/assets/textures/head Peckish Lump.png index 7d32f73..ef2879d 100644 Binary files a/public/assets/textures/head Peckish Lump.png and b/public/assets/textures/head Peckish Lump.png differ diff --git a/public/assets/textures/head The Crooked.png b/public/assets/textures/head The Crooked.png index 73d423d..3fbafb2 100644 Binary files a/public/assets/textures/head The Crooked.png and b/public/assets/textures/head The Crooked.png differ diff --git a/src/GameScene.ts b/src/GameScene.ts index 23d9f0a..faf41ab 100644 --- a/src/GameScene.ts +++ b/src/GameScene.ts @@ -616,13 +616,19 @@ SPACE: ${formatCount(freeCells, allCells)} const scrollerChests = new Scroller({ width: 300, height: size.y, - gap: 10, + gap: 20, }); const scrollerArms = new Scroller({ width: 300, height: size.y, - gap: 10, + gap: -50, }); + + { + const sprPadding = new Sprite(tex('blank')); + sprPadding.height = 150; + scrollerArms.addChild(sprPadding); + } const scrollerLegs = new Scroller({ width: 300, height: size.y, @@ -741,8 +747,20 @@ SPACE: ${formatCount(freeCells, allCells)} if (i === `${type} ${current}`) spr.tint = greenHalf; scroller.addChild(spr); }); + + { + const sprPadding = new Sprite(tex('blank')); + sprPadding.height = 50; + scroller.addChild(sprPadding); + } }); + { + const sprPadding = new Sprite(tex('blank')); + sprPadding.height = 150; + scrollerArms.addChild(sprPadding); + } + const textInfo = new BitmapText({ text: '', style: fontDialogue }); textInfo.style.wordWrapWidth = size.x / 3 - 32; const panelInfo = new Spr9('panel'); diff --git a/src/scroller.ts b/src/scroller.ts index f1f69c0..28f1bdb 100644 --- a/src/scroller.ts +++ b/src/scroller.ts @@ -145,7 +145,7 @@ export class Scroller { this.containerScroll.removeChild(this.sprBg); let r!: U[0]; children.forEach((child) => { - r = r || this.containerScroll.addChild(child); + r = r || this.containerScroll.addChildAt(child, 0); child.y += this.scrollHeight; this.scrollHeight += child.height + this.scrollGap; });