From 3949934bc13d58786036363e093272dfcd112385 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Mon, 19 Jul 2021 21:20:22 -0700 Subject: [PATCH] Prepare v0.7.2 for release --- Changes.md | 51 ++++++++++++++++++++++++++++++----- dev-assets/doodads/box/box.js | 8 +++++- 2 files changed, 51 insertions(+), 8 deletions(-) diff --git a/Changes.md b/Changes.md index 012e446..79edca6 100644 --- a/Changes.md +++ b/Changes.md @@ -1,5 +1,49 @@ # Changes +## v0.7.2 (July 19 2021) + +This release brings some new features and some new content. + +New features: + +* **Loading screens** have been added. In previous versions, 'chunks' + of a level were rendered on-demand as they first scrolled onto the + screen, but busy new chunks would cause gameplay to stutter. The + loading screen is able to _pre-render_ the entire level up front + to ensure gameplay is smooth(er). +* **Compression for Levels and Doodads:** levels and doodads are now compressed + with Gzip for an average 88% smaller file size on disk. The example level, + "Tutorial 2.level" shrank from 2.2 MB to 414 KB with compression. The game + can still read old (uncompressed) files, but will compress them on save. + +Some new content: + +* **New Levels:** two desert-themed levels were added. One has you + platforming and climbing the outside of a pyramid; the next is + inside the pyramid and has puzzles involving movable boxes. +* **New Doodad:** Box is a pushable crate that is affected by + gravity. It is taller than Boy and can be used to gain some extra + height and reach higher platforms. +* **New Palette:** To the "Colored Pencil" palette was added a new + default color: Sandstone (solid). +* **New Pattern:** Perlin Noise was added as one of the available + brush patterns. Sandstone uses this pattern by default. + +Some miscellaneous changes: + +* **Slowly scroll in editor:** holding down the Shift key while scrolling the + level editor will scroll your drawing _very_ slowly. +* **'Doodads' Hotkey:** in the Level Editor, the `Q` key will open + the Doodads window instead of the `D` key, as the `D` key is now + part of WASD for scrolling the drawing. + +## v0.7.1 (July 11 2021) + +Fixes a bug on the Windows version: + +* Built-in wallpapers other than the default Notebook were failing to + load in the Windows release of v0.7.0 + ## v0.7.0 (June 20 2021) This is the first release of the game where the "free version" drifts meaningfully @@ -51,13 +95,6 @@ Bugs fixed: are fixed in this release. * Shortcut keys advertised in the menu, such as Ctrl-N and Ctrl-S, now actually work. -### v0.7.1 (July 11 2021) - -Fixes a bug on the Windows version: - -* Built-in wallpapers other than the default Notebook were failing to - load in the Windows release of v0.7.0 - ## v0.6.0-alpha (June 6 2021) This release brings less jank and some new features. diff --git a/dev-assets/doodads/box/box.js b/dev-assets/doodads/box/box.js index 941ff66..b68d0bc 100644 --- a/dev-assets/doodads/box/box.js +++ b/dev-assets/doodads/box/box.js @@ -8,9 +8,15 @@ function main() { Self.SetHitbox(0, 0, size, size); Events.OnCollide(function (e) { + // Ignore events from neighboring Boxes. + if (e.Actor.Actor.Filename === "box.doodad") { + return false; + } + if (e.Actor.IsMobile() && e.InHitbox) { var overlap = e.Overlap; - if (overlap.Y === 0) { + + if (overlap.Y === 0 && !(overlap.X === 0 && overlap.W < 5) && !(overlap.X === size)) { // Standing on top, ignore. return false; } else if (overlap.Y === size) {