Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
921801756d | ||
|
|
217aeb9fb3 | ||
|
|
64aa16fcbb | ||
|
|
176bd9259e | ||
|
|
962baf5513 | ||
|
|
5b473c9216 | ||
|
|
124a94d435 | ||
|
|
b28057676b | ||
|
|
c7d53fe1ac | ||
|
|
385f0f363b | ||
|
|
2e7740ca7e | ||
|
|
8078297fd4 | ||
|
|
c450b47442 | ||
|
|
017168cd5f | ||
|
|
2dd1a96c11 | ||
|
|
5a48f4f6c7 | ||
|
|
03d022f63c | ||
|
|
5d900483b6 | ||
|
|
26262762b5 | ||
|
|
2da6688bbb | ||
|
|
c7bc8166c0 | ||
|
|
da57f49fda | ||
|
|
2989f06596 | ||
|
|
3b7fbaf580 | ||
|
|
01a0e713b1 | ||
|
|
31f81c5bc8 |
No files matched your search
@@ -0,0 +1,64 @@
|
||||
name: Wurm portable download
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
target:
|
||||
description: Build target
|
||||
type: choice
|
||||
required: true
|
||||
default: zx
|
||||
options: [zx]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: wurm-portable
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
zx:
|
||||
if: github.ref == 'refs/heads/master' && inputs.target == 'zx'
|
||||
runs-on: build-native-wurm-zx
|
||||
timeout-minutes: 45
|
||||
env:
|
||||
BUILD_NATIVE_TARGET: ${{ inputs.target }}
|
||||
ZIRAN_PAR_THREADS: '1'
|
||||
MAKEFLAGS: -j1
|
||||
OMP_NUM_THREADS: '1'
|
||||
YUE_DESKTOP_RECOVERY: '0'
|
||||
defaults:
|
||||
run:
|
||||
working-directory: waozixyz/wurm
|
||||
steps:
|
||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
|
||||
with:
|
||||
path: waozixyz/wurm
|
||||
persist-credentials: false
|
||||
- name: Resolve first-party sources on Gitea
|
||||
run: |
|
||||
git config --global url.https://git.waozi.xyz/waozi/.insteadOf https://github.com/waozixyz/
|
||||
git config --global url.https://git.waozi.xyz/ziranlang/.insteadOf https://github.com/ziranlang/
|
||||
git config --global url.https://git.waozi.xyz/kryonlabs/.insteadOf https://github.com/kryonlabs/
|
||||
- name: Set up the locked compiler and packages
|
||||
uses: https://git.waozi.xyz/ziranlang/ziran/.github/actions/setup@979159a55bcf1f9edb9eb8f26ea10aca421412e2
|
||||
with:
|
||||
project: waozixyz/wurm
|
||||
path: ziranlang/ziran
|
||||
fetch: true
|
||||
packages: build-essential python3 zlib1g-dev
|
||||
- name: Build the game-owned portable downloads
|
||||
run: |
|
||||
python3 tests/portable_export_test.py
|
||||
python3 tools/build_portable.py
|
||||
python3 tests/portable_export_test.py --built
|
||||
- name: Keep Wurm's portable downloads
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wurm-portable
|
||||
path: |
|
||||
waozixyz/wurm/build/downloads/wurm.zx
|
||||
waozixyz/wurm/build/downloads/wurm-portable-v*.tar.gz
|
||||
if-no-files-found: error
|
||||
retention-days: 7
|
||||
@@ -22,6 +22,8 @@ jobs:
|
||||
MAKEFLAGS: -j1
|
||||
OMP_NUM_THREADS: '1'
|
||||
YUE_DESKTOP_RECOVERY: '0'
|
||||
outputs:
|
||||
published: ${{ steps.publish.outputs.published }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: waozixyz/wurm
|
||||
@@ -45,7 +47,7 @@ jobs:
|
||||
path: ziranlang/ziran
|
||||
fetch: true
|
||||
packages: >-
|
||||
build-essential cmake pkg-config zlib1g-dev ffmpeg libssl-dev libsdl2-dev libcairo2-dev libfreetype-dev libfontconfig-dev libpango1.0-dev libgtk-3-dev libx11-dev libxcursor-dev libxinerama-dev libxrandr-dev libxi-dev libgl1-mesa-dev libdrm-dev libgbm-dev libegl-dev libgles-dev xvfb xdotool python3-pil
|
||||
build-essential cmake nasm meson ninja-build pkg-config zlib1g-dev ffmpeg libssl-dev libsdl2-dev libcairo2-dev libfreetype-dev libfontconfig-dev libpango1.0-dev libgtk-3-dev libx11-dev libxcursor-dev libxinerama-dev libxrandr-dev libxi-dev libgl1-mesa-dev libdrm-dev libgbm-dev libegl-dev libgles-dev xvfb xdotool python3-pil
|
||||
- uses: mymindstorm/setup-emsdk@v14
|
||||
with:
|
||||
version: '6.0.6'
|
||||
@@ -72,7 +74,7 @@ jobs:
|
||||
env:
|
||||
LDLIBS: -lz
|
||||
run: ziran run --target=c tests/run_local.zi
|
||||
- name: Build the portable release for Arcade
|
||||
- name: Build the portable release and standalone download
|
||||
run: |
|
||||
python3 tests/portable_export_test.py
|
||||
python3 tools/build_portable.py
|
||||
@@ -83,9 +85,7 @@ jobs:
|
||||
- name: Build and exercise the shared account interface
|
||||
env:
|
||||
LDLIBS: -lz
|
||||
run: |
|
||||
ziran run --target=c tools/build_desktop.zi
|
||||
ziran run --target=c tests/run_local.zi -- account-ui
|
||||
run: ziran run --target=c tests/run_local.zi -- account-ui
|
||||
- name: Build and play the browser edition
|
||||
env:
|
||||
LDLIBS: -lz
|
||||
@@ -152,6 +152,8 @@ jobs:
|
||||
test -f "build/downloads/wurm-v$VERSION-gplay.apk"
|
||||
test -f "build/downloads/wurm-web-v$VERSION.zip"
|
||||
test -s "build/downloads/wurm-portable-v$VERSION.tar.gz"
|
||||
test -s build/downloads/wurm.zx
|
||||
cmp build/games/wurm.zx build/downloads/wurm.zx
|
||||
cmp "build/downloads/wurm-v$VERSION.apk" "build/downloads/wurm-$VERSION-fdroid.apk"
|
||||
# This version's section of CHANGELOG.md, without surrounding blank lines.
|
||||
awk -v heading="## [$VERSION] - " '
|
||||
@@ -161,6 +163,7 @@ jobs:
|
||||
' CHANGELOG.md > build/release-notes.md
|
||||
test -s build/release-notes.md
|
||||
- name: Publish this version only after its downloads are ready
|
||||
id: publish
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GH_REPO: ${{ github.repository }}
|
||||
@@ -176,8 +179,9 @@ jobs:
|
||||
if [ "$state" = missing ]; then
|
||||
gh release create "$tag" --draft --target "$GITHUB_SHA" --title "Apfelwurm $VERSION" --notes-file build/release-notes.md
|
||||
fi
|
||||
gh release upload "$tag" "build/downloads/wurm-v$VERSION.apk" "build/downloads/wurm-$VERSION-fdroid.apk" "build/downloads/wurm-v$VERSION-gplay.apk" "build/downloads/wurm-web-v$VERSION.zip" "build/downloads/wurm-portable-v$VERSION.tar.gz" --clobber
|
||||
gh release upload "$tag" "build/downloads/wurm-v$VERSION.apk" "build/downloads/wurm-$VERSION-fdroid.apk" "build/downloads/wurm-v$VERSION-gplay.apk" "build/downloads/wurm-web-v$VERSION.zip" "build/downloads/wurm-portable-v$VERSION.tar.gz" build/downloads/wurm.zx --clobber
|
||||
gh release edit "$tag" --draft=false --latest
|
||||
echo "published=true" >> "$GITHUB_OUTPUT"
|
||||
- name: Install itch.io Butler
|
||||
run: |
|
||||
curl --fail --show-error --location --retry 3 \
|
||||
@@ -212,3 +216,11 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
gh workflow run game-updates.yml -R waozixyz/arcade --ref master
|
||||
|
||||
google-play:
|
||||
needs: build
|
||||
if: ${{ always() && needs.build.outputs.published == 'true' }}
|
||||
uses: ./.github/workflows/play-bundle.yml
|
||||
with:
|
||||
revision: ${{ github.sha }}
|
||||
secrets: inherit
|
||||
@@ -1,15 +1,20 @@
|
||||
name: Google Play bundle
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
revision:
|
||||
required: true
|
||||
type: string
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
revision:
|
||||
description: Full published Wurm release commit (defaults to this run)
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: wurm-play-bundle
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
bundle:
|
||||
name: Signed Google Play App Bundle
|
||||
@@ -20,12 +25,19 @@ jobs:
|
||||
MAKEFLAGS: -j1
|
||||
OMP_NUM_THREADS: '1'
|
||||
YUE_DESKTOP_RECOVERY: '0'
|
||||
concurrency:
|
||||
group: wurm-google-play
|
||||
cancel-in-progress: false
|
||||
outputs:
|
||||
version: ${{ steps.version.outputs.version }}
|
||||
version_code: ${{ steps.version.outputs.version_code }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: waozixyz/wurm
|
||||
steps:
|
||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||
with:
|
||||
ref: ${{ inputs.revision || github.sha }}
|
||||
path: waozixyz/wurm
|
||||
persist-credentials: false
|
||||
- name: Read the release version
|
||||
@@ -34,6 +46,18 @@ jobs:
|
||||
version=$(sed -n 's/^ *"version": "\([^"]*\)".*/\1/p' version.json)
|
||||
test -n "$version"
|
||||
echo "version=$version" >> "$GITHUB_OUTPUT"
|
||||
echo "version_code=$(python3 -c 'import json; print(json.load(open("version.json"))["version_code"])')" >> "$GITHUB_OUTPUT"
|
||||
- name: Require an already published GitHub release
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
VERSION: ${{ steps.version.outputs.version }}
|
||||
run: |
|
||||
python3 - <<'PY'
|
||||
import json, os, subprocess
|
||||
release = json.loads(subprocess.check_output(
|
||||
['gh', 'release', 'view', 'v' + os.environ['VERSION'], '--json', 'isDraft,publishedAt'], text=True))
|
||||
assert not release['isDraft'] and release['publishedAt'], 'Publish the GitHub release first'
|
||||
PY
|
||||
# The locked compiler comes prebuilt, the package checkouts cached, and
|
||||
# Ubuntu packages from the canonical archive.
|
||||
- name: Set up the locked Ziran, its packages and the build tools
|
||||
@@ -43,7 +67,7 @@ jobs:
|
||||
path: ziranlang/ziran
|
||||
fetch: true
|
||||
packages: >-
|
||||
build-essential cmake pkg-config zlib1g-dev libssl-dev
|
||||
build-essential cmake nasm meson ninja-build pkg-config zlib1g-dev libssl-dev
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
@@ -84,3 +108,20 @@ jobs:
|
||||
path: waozixyz/wurm/build/downloads/wurm-v${{ steps.version.outputs.version }}-gplay.aab
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
- name: Upload only the Google Play edition to internal testing
|
||||
uses: r0adkll/upload-google-play@e738b9dd8f2476ea806d921b64aacd24f34515a5 # v1.1.5
|
||||
with:
|
||||
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}
|
||||
packageName: xyz.waozi.wurm
|
||||
releaseFiles: waozixyz/wurm/build/downloads/wurm-v${{ steps.version.outputs.version }}-gplay.aab
|
||||
releaseName: ${{ steps.version.outputs.version }}
|
||||
track: internal
|
||||
status: completed
|
||||
|
||||
closed-testing:
|
||||
needs: bundle
|
||||
uses: ./.github/workflows/play-promote.yml
|
||||
with:
|
||||
version: ${{ needs.bundle.outputs.version }}
|
||||
version_code: ${{ needs.bundle.outputs.version_code }}
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,180 @@
|
||||
name: Google Play closed testing
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
version:
|
||||
required: true
|
||||
type: string
|
||||
version_code:
|
||||
required: true
|
||||
type: string
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: Exact published version completed on internal testing
|
||||
type: string
|
||||
version_code:
|
||||
description: Exact internal version code
|
||||
type: string
|
||||
inspect_only:
|
||||
description: Read all Play tracks and tester configuration without publishing
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: wurm-google-play
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
promote:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
- name: Validate the published release
|
||||
if: ${{ !inputs.inspect_only }}
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
VERSION: ${{ inputs.version }}
|
||||
VERSION_CODE: ${{ inputs.version_code }}
|
||||
run: |
|
||||
python3 - <<'PY'
|
||||
import json, os, re, subprocess
|
||||
version = os.environ['VERSION']
|
||||
assert re.fullmatch(r'\d+\.\d+\.\d+', version), 'Use a numeric release version'
|
||||
assert re.fullmatch(r'[1-9][0-9]*', os.environ['VERSION_CODE']), 'Use a positive version code'
|
||||
release = json.loads(subprocess.check_output(
|
||||
['gh', 'release', 'view', 'v' + version, '--json', 'isDraft,publishedAt'], text=True))
|
||||
assert not release['isDraft'] and release['publishedAt'], 'The version must already be published on GitHub'
|
||||
PY
|
||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
repository: waozixyz/entity
|
||||
ref: 2062597cecba5ce1bf54a20e6d5a2bdda148a06b
|
||||
path: play-entity
|
||||
persist-credentials: false
|
||||
- name: Test promotion boundaries
|
||||
run: python3 tests/play_promotion_test.py
|
||||
- name: Read tracks and complete closed testing
|
||||
env:
|
||||
GOOGLE_PLAY_SERVICE_ACCOUNT_JSON: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}
|
||||
PLAY_PACKAGE: xyz.waozi.wurm
|
||||
VERSION: ${{ inputs.version }}
|
||||
VERSION_CODE: ${{ inputs.version_code }}
|
||||
INSPECT_ONLY: ${{ inputs.inspect_only }}
|
||||
CLOSED_TRACK: ${{ vars.GOOGLE_PLAY_CLOSED_TRACK || 'alpha' }}
|
||||
run: |
|
||||
python3 - <<'PY'
|
||||
import copy
|
||||
import importlib.util
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import re
|
||||
import tempfile
|
||||
|
||||
CLOSED_TRACK = os.environ.get('CLOSED_TRACK', 'alpha')
|
||||
|
||||
|
||||
def closed_release(tracks, version, code, target=CLOSED_TRACK):
|
||||
# This allowlist is deliberately independent of workflow inputs.
|
||||
if target != CLOSED_TRACK or target in ('production', 'internal', 'beta'):
|
||||
raise ValueError('Only the configured closed testing track may be promoted')
|
||||
if not re.fullmatch(r'\d+\.\d+\.\d+', version):
|
||||
raise ValueError('Use a numeric release version')
|
||||
if not re.fullmatch(r'[1-9][0-9]*', code):
|
||||
raise ValueError('Use a positive version code')
|
||||
internal = next((t for t in tracks if t['track'] == 'internal'), {})
|
||||
source = [r for r in internal.get('releases', [])
|
||||
if r.get('name') == version and r.get('versionCodes') == [code]
|
||||
and r.get('status') == 'completed']
|
||||
if len(source) != 1:
|
||||
raise ValueError('The exact version must be completed on internal testing')
|
||||
closed = next((t for t in tracks if t['track'] == target), None)
|
||||
if closed is None:
|
||||
raise ValueError('Configured closed testing track is absent; inspect Play Console')
|
||||
existing = closed.get('releases', [])
|
||||
if (len(existing) == 1 and existing[0].get('name') == version
|
||||
and existing[0].get('versionCodes') == [code]
|
||||
and existing[0].get('status') == 'completed'
|
||||
and 'userFraction' not in existing[0]):
|
||||
return None
|
||||
if any(int(c) > int(code) for r in existing for c in r.get('versionCodes', [])):
|
||||
raise ValueError('Refusing to replace a newer closed testing release')
|
||||
release = copy.deepcopy(source[0])
|
||||
release['status'] = 'completed'
|
||||
release.pop('userFraction', None)
|
||||
return {'track': target, 'releases': [release]}
|
||||
|
||||
|
||||
def call(play, method, path, body=None):
|
||||
status, answer = play.call(method, path, body)
|
||||
if status != 200:
|
||||
raise RuntimeError(f'Play {method} {path}: HTTP {status}: {answer}')
|
||||
return answer
|
||||
|
||||
|
||||
def state(play, edit, label):
|
||||
tracks = call(play, 'GET', f'/edits/{edit}/tracks').get('tracks', [])
|
||||
testers = {}
|
||||
for track in tracks:
|
||||
name = track['track']
|
||||
if name != 'production':
|
||||
status, answer = play.call('GET', f'/edits/{edit}/testers/{name}')
|
||||
# Report the API response shape/count without publishing group addresses.
|
||||
testers[name] = {'http_status': status,
|
||||
'api_fields': sorted(answer) if isinstance(answer, dict) else [],
|
||||
'googleGroups_count': len(answer.get('googleGroups', [])) if isinstance(answer, dict) else 0}
|
||||
if status != 200:
|
||||
testers[name]['error'] = answer
|
||||
print(json.dumps({'phase': label, 'package': play.package,
|
||||
'tracks': tracks, 'testers': testers}, sort_keys=True))
|
||||
return tracks
|
||||
|
||||
|
||||
def promote(play, version, code, inspect_only=False):
|
||||
edit = call(play, 'POST', '/edits', {})['id']
|
||||
committed = False
|
||||
try:
|
||||
tracks = state(play, edit, 'before')
|
||||
if inspect_only:
|
||||
return
|
||||
update = closed_release(tracks, version, code)
|
||||
if update is not None:
|
||||
# Never construct a URL from a dispatch input or an API track name.
|
||||
call(play, 'PUT', f'/edits/{edit}/tracks/{CLOSED_TRACK}', update)
|
||||
call(play, 'POST', f'/edits/{edit}:validate', {})
|
||||
call(play, 'POST', f'/edits/{edit}:commit', {})
|
||||
committed = True
|
||||
finally:
|
||||
if not committed:
|
||||
play.call('DELETE', f'/edits/{edit}')
|
||||
verification = call(play, 'POST', '/edits', {})['id']
|
||||
try:
|
||||
tracks = state(play, verification, 'after')
|
||||
if closed_release(tracks, version, code) is not None:
|
||||
raise RuntimeError('Fresh API read did not confirm completed closed testing')
|
||||
finally:
|
||||
play.call('DELETE', f'/edits/{verification}')
|
||||
|
||||
|
||||
def main():
|
||||
spec = importlib.util.spec_from_file_location(
|
||||
'play_dew', Path('play-entity/tools/play_dew_products.py'))
|
||||
provider = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(provider)
|
||||
with tempfile.NamedTemporaryFile(mode='w', suffix='.json', dir='.') as key:
|
||||
key.write(os.environ['GOOGLE_PLAY_SERVICE_ACCOUNT_JSON'])
|
||||
key.flush()
|
||||
promote(provider.Play(key.name, os.environ['PLAY_PACKAGE']),
|
||||
os.environ.get('VERSION', ''), os.environ.get('VERSION_CODE', ''),
|
||||
os.environ.get('INSPECT_ONLY') == 'true')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
PY
|
||||
@@ -1,5 +1,30 @@
|
||||
# Changelog
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
- Offer the standalone Wurm ZX download in Wurm’s own releases, alongside its portable archive.
|
||||
|
||||
- Use the Apps frame type so Apfelwurm and its editor open in Arcade inside Breeze.
|
||||
|
||||
- Use Mesh naming and its canonical local referral fixture for browser tests.
|
||||
|
||||
- Use Ziran’s standard audio mixer and SDL, Android and WebAudio sinks, preserving music transitions and volume while testing playback, pause, seek and loop behavior. Take desktop codecs from Kryon’s desktop artifact.
|
||||
|
||||
- Give every opening key and switch lesson a visible interior gate that protects a useful garden area, with its control in a reachable court instead of locking only the exit.
|
||||
- Show the shader-lit terrain from a board's very first frame: the old tile textures no longer flash before it. The editor, its brushes and local multiplayer use the same terrain, Arcade lays the same painted materials as tiles, and the old tile art is gone.
|
||||
|
||||
## [0.2.34] - 2026-11-16
|
||||
|
||||
- Replace campaign levels 1–50 with authored gardens that teach route planning, growth, portals, keys, switches and readable patrols in a paced progression.
|
||||
- Give each of the first 50 normal campaign levels a non-move-count spatial challenge—ordered fruit, landmarks, clean runs, portals, keys or switches—with account-specific completion stars and migration of earlier puzzle clears.
|
||||
- Refresh the journey presentation with illustrated landscape cards, crafted board frames, richer terrain/material variants, clearer walls and objectives, restored classic worm proportions, and stronger basic-skin colors.
|
||||
- Prevent buffered turns at the next level’s entrance from causing an immediate death.
|
||||
- Paint every board with real shader-lit terrain: each landscape's painted grass, leaves, pines, rock and water are lit by two Kryon material shaders with rounded raised hedges and stones, soft shadows and contact shading, sun flecks under the trees, deep water with a foam line and wet shore, and drifting glints. The desktop runs the shaders on the GPU when one is available; other editions run the same shaders a few milliseconds per frame, Arcade keeps the classic tiles, and level previews use the new terrain. Tile sizes, collision and the worm are unchanged.
|
||||
|
||||
## [0.2.33] - 2026-11-07
|
||||
|
||||
- Runs in the latest Inner Breeze and Arcade.
|
||||
|
||||
## [0.2.32] - 2026-11-03
|
||||
|
||||
- Include Apfelwurm and its editor in Arcade's automatic game updates.
|
||||
|
||||
@@ -27,19 +27,28 @@ F-Droid editions use Monero for Dew top-ups.
|
||||
|
||||
## Five landscapes. Forty levels each.
|
||||
|
||||
- **Meadow:** learn at a gentle pace on spacious orchard paths. The first 20 levels have no moving enemies; matching portal rings introduce a simple shortcut from level 10.
|
||||
- **Meadow:** learn on fifty newly authored orchard and woodland puzzles. Open paths teach movement and growth before portals, keys, patrols and switches begin to combine.
|
||||
- **Leafwood:** weave through leafy rooms, mossy courtyards and branching trails.
|
||||
- **Pinewood:** follow fir-lined passages and watch the patrols around the next corner.
|
||||
- **Lake:** cross the shores, channels and islands without running out of room.
|
||||
- **Mountains:** wind through rock corridors, terraces and the final ascent.
|
||||
|
||||
Layouts take inspiration from the recovered original game's rooms, spirals
|
||||
and crossings. Wandering fire, bouncing patrols and chasing enemies make the
|
||||
journey more demanding as you climb.
|
||||
The first 50 levels are individual authored compositions rather than shuffled
|
||||
wall variants. They move through open orchards, dividers, courtyards, loops,
|
||||
linked rooms and long-body routes in a teach–confirm–combine rhythm. Portals,
|
||||
keys, switches and readable patrols arrive in their own spacious lessons before
|
||||
appearing together. Every board has a verified route in landscape and portrait.
|
||||
Levels 51–200 keep their established layouts, while personal editor layouts
|
||||
continue to take priority over every published default.
|
||||
|
||||
Meadow's landscape boards follow the portrait gardens' hedges and clear routes.
|
||||
Portal lessons appear on levels 10, 12, 16, 23, 31 and 38, with open exits and no
|
||||
moving enemies. Personal editor layouts keep priority over the new defaults.
|
||||
Each landscape carries its own illustrated journey cards and palette, and
|
||||
its boards are painted by real terrain shaders: meadow grass, woodland
|
||||
litter, pine crowns, lakeshore sand, rock and water are lit with rounded,
|
||||
raised hedges and stones that cast soft shadows, sun flecks under the
|
||||
trees, deep water with a foam line and wet shore, and glints drifting on
|
||||
the water. Routes stay readable and tile size, collision and solutions are
|
||||
unchanged. The worm retains its classic proportions and skin silhouettes;
|
||||
the basic color skins use clearer, richer companion colors.
|
||||
|
||||
Press **Play** and you are straight in the game. The levels follow one after
|
||||
another through all five landscapes. After each goal, preview the next board
|
||||
@@ -57,6 +66,19 @@ Complete a level to unlock the next one.
|
||||
After a game over, **Try again** starts the furthest unlocked level with
|
||||
three lives and a fresh score.
|
||||
|
||||
## Challenges in the journey
|
||||
|
||||
Every one of the first 50 normal levels has an optional spatial challenge.
|
||||
Some ask you to collect the authored fruit route in order, reach a marked
|
||||
garden stone or finish without colliding. The portal, key and switch lessons
|
||||
ask you to use that interaction while completing the level. These are normal
|
||||
real-time stages—not a separate mode, and never a move-count puzzle.
|
||||
|
||||
The ready card and live board show the current goal. Completing it earns a
|
||||
star on that level card, saved separately for each account. Missing a challenge
|
||||
does not block the next level: finish the garden normally and return later for
|
||||
its star.
|
||||
|
||||
## Play your way
|
||||
|
||||
On a phone or tablet, choose **swipe steering** or a **direction pad** on first
|
||||
@@ -154,3 +176,16 @@ LDLIBS=-lz ziran run --target=c tests/run_local.zi
|
||||
See the [build and development guide](docs/building.md) for the editor's
|
||||
save files, Android and portable builds, asset recovery and verification.
|
||||
[Report a bug or suggest a level](https://github.com/waozixyz/wurm/issues).
|
||||
|
||||
## Portable downloads
|
||||
|
||||
`python3 tools/build_portable.py` builds Wurm and its editor in this repository.
|
||||
It writes the complete portable archive and the identical standalone game to
|
||||
`build/downloads/wurm.zx`. Verify their agreement with
|
||||
`python3 tests/portable_export_test.py --built`.
|
||||
|
||||
The Gitea `portable.yml` workflow on `master` accepts only `target=zx` and uses
|
||||
the repository-scoped `build-native-wurm-zx` runner. It builds portable downloads
|
||||
without starting the Android or browser release jobs and retains the outputs as
|
||||
build artifacts. Installing that runner and verifying a hosted run are separate
|
||||
from the local packaging test. Published downloads belong to Wurm’s own releases.
|
||||
|
Before Width: | Height: | Size: 2.9 MiB |
|
Before Width: | Height: | Size: 1.5 MiB |
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"source": "/home/wao/.codex/generated_images/01a18385-718a-7a20-b897-3f36ab938b70/exec-a6318dc8-fc89-433a-a7cc-80f189e0f86f.png",
|
||||
"prompt": "Create a game texture bitmap: a large uninterrupted top-down surface of calm shallow turquoise pond water, matching a cozy illustrated mobile game with softly painted natural colors. Entire image is ONLY water edge to edge. Absolutely no shoreline, land, rocks, borders, tile outlines, grid, framed cells, text, plants, objects or perspective. Even medium teal/aqua base, subtle broad soft currents, sparse delicate pale turquoise curved ripples and soft underwater mottling. Flat overhead view, gentle non-directional lighting with no edge vignettes. Fairly low contrast, no bright white highlights or glossy bevels. This will be sampled once across an entire 40-by-30-cell game board and masked by terrain cells, so all touching cells must show continuous flowing water, never individual puddles. Landscape 4:3 composition, high resolution.",
|
||||
"transparent_background": false,
|
||||
"size": [
|
||||
1448,
|
||||
1086
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 19 KiB |