Skip to content

Releases: mouse114514/CuBlocky

v0.2.1

Choose a tag to compare

@mouse114514 mouse114514 released this 03 Oct 15:32

Community marketplace, a real project-name model, new content categories, and a locked-down local server.

Marketplace

  • Browse and install community projects straight from the editor; installs write into projects/ like any locally saved project
  • Submitting opens a PR that writes the files and updates projects/manifest.json in one shot, so merging the PR is the publish step - no cleanup afterwards
  • The list is fetched fresh on every open; localStorage is only an offline fallback and shows a stale-data notice instead of silently serving old entries

Local server security

  • CORS is now restricted to the same origin. Previously the API answered any origin, so an unrelated web page could POST to /api/deploy and have an arbitrary DLL copied into the game's plugins folder
  • /api/deploy only accepts DLLs that live under the CuBlocky server directory

Compiler / blocks

  • Blockly variables are hoisted to class-level fields, so a variable set in one handler can be read in another (was CS0103 / CS0219)
  • Variable blocks emit valid C#: template literals, sanitized names, declared locals
  • run command calls ConsoleScript.instance correctly

Editor

  • Project import (.cbp), first-run language selection, spotlight toolbar tour, Launch.cmd launcher
  • Project name drives the DLL name, namespace and build dir; Chinese and other non-ASCII names now work
  • Asset manager multi-select with batch delete and sprite-sheet merge
  • Sprite sheet animation blocks; position refactored to list getters
  • Creature category: register / spawn / move / destroy blocks with a CuCreatureManager runtime
  • UI editor expanded to 9 control types with alignment and value/toggle getter blocks
  • All 17 build warnings cleared

T-3bd620d

T-3bd620d Pre-release
Pre-release

Choose a tag to compare

@mouse114514 mouse114514 released this 03 Oct 09:28

Pre-release built from commit 3bd620d.

This is a pre-release version for testing purposes; it may be somewhat unstable and has not been fully tested.

Added

  • Import projects - .cbp files can now be imported from the "Open Project" dialog. Invalid or duplicate names are coerced rather than rejected (for example a<b>c:d becomes a_b_c_d), and duplicates receive a _2 / _3 suffix instead of overwriting an existing project.
  • First-run language selection - first-time visitors are asked to choose a language before they start. The dialog cannot be dismissed without a selection, and a hint afterwards points to the Language button.
  • Spotlight toolbar tour - on first entry into the editor, a guided tour highlights each toolbar control in place with a step-by-step tooltip. It can be replayed at any time with the ? button in the toolbar or F1, and skipped with the Skip button or Esc.
  • CMD launcher - Launch.ps1 is replaced by Launch.cmd. The server now runs in the foreground of the launcher window, so closing the window or pressing Ctrl+C terminates it along with all of its child processes; no orphaned processes remain. The port can be overridden with CUBLOCKY_URL=http://localhost:6000 Launch.cmd.

Fixed

  • Import requests with an empty body, a missing mod field, or a blank name are now rejected with a 400 response instead of silently creating a project named "My Mod" from the model default.
  • Duplicate browser tabs on startup: launchBrowser is now disabled in launchSettings.json and the browser-opener lines were removed from the launcher. The server opens exactly one tab, once it is actually listening.
  • Guide and onboarding copy was rewritten to use more consistent, neutral wording across all three languages.

T-b260588

T-b260588 Pre-release
Pre-release

Choose a tag to compare

@mouse114514 mouse114514 released this 25 Sep 11:27

Changes:

  • UI editor: control palette expanded from 3 to 9 - label, panel, image, slider, progress bar, dropdown
  • UI editor: horizontal/vertical text alignment for all controls
  • UI editor: per-type properties (sprite, options, value/min/max, fill color)
  • New blocks: value of control, state of toggle; set-control-property dropdown grew from 14 to 21 options
  • Style: monochrome defaults (black/white) for regular controls; light gray background + green fill for slider/progress/dropdown/panel
  • Custom slider rendering in generated mods (green fill, black thumb, mouse drag)

T-9bfe391

T-9bfe391 Pre-release
Pre-release

Choose a tag to compare

@mouse114514 mouse114514 released this 25 Sep 03:18

Changes:

  • Fix: "Run command" block failed to compile (CS0120) - now calls ConsoleScript.instance.ExecuteCommand correctly
  • Fix: clicking anywhere on a project row in the Welcome page now opens it (previously only the name text was clickable)
  • Chore: fixed all 17 compiler warnings - clean build with 0 warnings, 0 errors

N-b260588

N-b260588 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Sep 21:58

This is a night build version, which may be somewhat unstable and has not been fully tested. You can try out the latest exciting features.

v0.2.0

Choose a tag to compare

@mouse114514 mouse114514 released this 24 Sep 18:24

Release v0.2.0

T-19a364a

T-19a364a Pre-release
Pre-release

Choose a tag to compare

@mouse114514 mouse114514 released this 24 Sep 14:45

Add creature category - register in Register (red), spawn/move/destroy in Creature (green #8bc34a).

  • Register creature block in Register category
  • 6 creature blocks: spawn, set position, move to, destroy, get X/Y
  • CuCreatureManager runtime class
  • Backward-compatible with old projects (optional creatures field)
  • i18n: zh/en/ru

T-ce7ef96

T-ce7ef96 Pre-release
Pre-release

Choose a tag to compare

@mouse114514 mouse114514 released this 20 Sep 16:15

Pre-release build with splash text positioning fixes, expanded splash texts (61 entries), custom easter eggs, and improved translations.

N-d420206

N-d420206 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Sep 22:25

This is a night build version, which may be somewhat unstable and has not been fully tested. You can try out the latest exciting features.

N-a79c3a7

N-a79c3a7 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Sep 21:15

This is a night build version, which may be somewhat unstable and has not been fully tested. You can try out the latest exciting features.