Commit graph

605 commits

Author SHA1 Message Date
Admin
2562da61fc gamemaker: hide the perf overlay by default (F3 shows it)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 16:10:38 +02:00
Admin
de1d81519f gamemaker: Escape as push-to-talk alongside F1
VoiceWave grows an opt-in ptt_use_escape flag (Escape doubles as cancel/
dismiss elsewhere, so hosts choose); both keys drive the same logical talk
button. Gamemaker opts in via the caption_bar's hidden voice_wave and the
hints now read 'hold Esc' — the big friendly key for kids. Verified the
nested named-child merge lands on the live widget.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 16:05:45 +02:00
Admin
d3d110df7b perf 2026-07-10 15:34:38 +02:00
Admin
2c15305f03 PerfGraph: generic frame profiler widget + Cx perf monitor channels
platform: Cx.perf_monitor — per-frame ring (240) of paint-to-paint gap +
per-channel CPU us. Built-in channels: event dispatch (outermost, minus
app-attributed time), script exec, GC, pass encode, nextDrawable wait.
Apps register custom channels: cx.perf_monitor.channel("physics", rgb).
Off until enabled; hooks in event dispatch, macos repaint, metal draw_pass.

widgets: PerfGraph — corner-pinned live panel (DrawVector strips): frame-gap
bars colored against 120/60Hz budgets with guide lines, stacked per-channel
CPU, legend with averages. Self-positions bottom-right (DrawVector geometry
+ deferred turtle alignment don't mix — no aligning parent).

gamemaker: PerfGraph hovers the game pane (F3 toggles), engine feeds script
+ physics channels (incl. hot-reload evals); engine text overlay moved to
F4; per-phase engine window kept for ag perf / AIGAME_PERF=1; new 'ag perf'
harness verb + template guidance (template CLAUDE.md force-added: runtime
resource, blanket CLAUDE.md gitignore had kept it untracked).

Measured on my-game-5: engine frame CPU ~0.3ms; the hiccup is frame pacing —
the 8ms NSTimer paint clock beats against the 120Hz display, the drawable
pool drifts full and nextDrawable blocks the main thread in a ~25-frame
sawtooth (avg 2-3.4ms, spikes 20-30ms). The graph shows it as red ramps.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 15:10:27 +02:00
Admin
59b7d2712f gamemaker: full engine round — chase camera rig, racing-game APIs, script stdlib math, real error line numbers
Engine (examples/gamemaker): chase camera rig (camera({chase}) — ease-behind
with mouse-wins/recenter authority), writable camera + look deltas, spatial
queries (raycast/overlap_sphere/ground_normal), save/load, sustained tones,
rot_y + collide:false spawnables, HUD slots/bars, terrain noise shaping +
height bands, per-shape instanced render batching with static slabs (3.2x),
error push-loop into the agent chat, unknown-verb/option diagnostics with
game.splash:line:col positions, streaming tail-statement finalization, quiet
toolbar UI, Shh voice hush, fable voice.

Platform: runtime vector methods (.length/.normalized/.dot/.cross), scalar+
vector lerp, TAU; ScriptVm error capture sink; window frame capture API; four
headless-JIT fixes (scalar casts, mat4 mul, Id-arg expansion, commuted
scalar-vec ops) with regression test stages. Widgets: single-line TextInput
baseline centering, TextFlow inline-code baseline alignment, glass button
corner_radius uniform. Voice/ggml Metal backends: debug logs behind
GGML_METAL_TRACE. splashgame.md: the runtime-loaded game API contract.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 14:20:03 +02:00
Admin
94b58ec6f8 game maker 2026-07-10 12:09:47 +02:00
Admin
0878f5fe2f box3d: external task-system hooks + makepad 3D example
- WorldDef enqueue_task/finish_task/user_task_context (C contract incl.
  null-return-means-inline); TaskSystem dispatch (Serial/Internal/External)
  replaces the bare scheduler; determinism hash bit-identical through an
  external thread-per-task system.
- examples/box3d: makepad app rendering the live simulation (offscreen 3D
  pass with depth, orbit/zoom camera, instanced lit boxes/spheres, 204-box
  pyramid + spheres, 4-worker solver, Space to reset).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 16:06:18 +02:00
Admin
ef0514a9aa hypothetical heap access fix 2026-07-01 14:04:23 +02:00
Admin
daacb601d9 history 2026-06-26 16:47:13 +02:00
Admin
80a7992294 animating buttons 2026-06-26 16:46:24 +02:00
Admin
68118217b6 animating bg 2026-06-26 15:49:25 +02:00
Admin
82fbe1aa46 animating bg 2026-06-26 15:34:54 +02:00
Admin
c855d14409 glass style 2026-06-26 14:06:57 +02:00
Admin
29932cb008 parse {}{} as {},{} 2026-06-26 13:37:17 +02:00
Admin
1a0dfec58e glass centering 2026-06-26 13:07:21 +02:00
Admin
56cf3bc2e6 aichat 2026-06-25 18:52:10 +02:00
Admin
4966882eee aichat: track glass splash.md doc & fix runtime path
- Rename splash2.md -> splash.md so the tracked doc matches what aichat
  references via include_str!/read_to_string (a clean clone now builds).
- Fix the live-read path (CARGO_MANIFEST_DIR was ../../../ = one dir above
  the repo, loading a stale doc); now ../../splash.md -> repo-root glass doc.
- Full repaint (cx.redraw_all) on Clear/remove so self-managed glass overlay
  draw lists aren't left composited stale.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 16:41:49 +02:00
Admin
0af21f2737 aichat 2026-06-25 16:11:42 +02:00
Admin
6ab335fd80 aichat otw 2026-06-25 16:11:42 +02:00
Admin
ae7853338e glass kit more 2026-06-25 16:11:42 +02:00
Admin
3848a1ab29 glass kit more 2026-06-25 16:11:42 +02:00
Admin
57595b1b40 gloop glass radio 2026-06-25 16:11:42 +02:00
Admin
434aa59e7c gloop glass radio 2026-06-25 16:11:42 +02:00
Admin
bafb396921 gloop glass radio 2026-06-25 16:11:42 +02:00
Admin
612996c038 Add glass_panel widget example; restore rustfmt guard
- New GlassPanel widget (widgets/src/glass_panel.rs) + lib export
- gauss_view: honor surface_alpha for translucent glass surfaces
- examples/glass: standalone demo (wired into Cargo workspace + makepad.splash)
- rustfmt.toml: re-enable disable_all_formatting to stop rustfmt from
  reformatting the whole tree on save

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 16:11:42 +02:00
Admin
64e6998b6b move after draw demo 2026-06-16 17:45:59 +02:00
Kevin Boos
49e639bce4 Add CropToFill image fit variant, improve ImageFit docs (#1102)
* Support standard keyboard navg shortcuts/keys in TextInput

Implement platform-standard TextInput navigation and deletion behavior,
including Home, End, PageUp, PageDown, word movement, line/document
boundaries, and Shift-based selection.

* Use Apple Option/Cmd conventions on Apple targets
* Use Ctrl conventions on non-Apple targets
* Web accepts both shortcut styles for now, since we don't have a way
  to query the host OS from within a makepad web env.

Also, be extremely careful to ensure that we respect Unicode grapheme boundaries
when doing all the selection/navigation logic.

Fix `Delete`, which was erroneously handled before.

Add lots of missing keys in Linux X11 & Wayland backends, e.g.,
Home, End, Delete, Insert, PageUp/PageDown, and arrow keys

* Add `CropToFill` image fit variant, improve ImageFit docs

This allows you to easily achieve the "centered cropped fit" that most apps
want for things like avatars or small thubmnails that get masked.
2026-06-05 07:18:35 +02:00
Admin
52022b79ae Add isolate example files 2026-06-02 19:12:25 +02:00
Admin
f91eec1b7f isolates 2026-06-02 18:51:17 +02:00
Admin
f50ee44a0f update zune 2026-06-02 18:47:28 +02:00
Kevin Boos
0b6b943f33 Redesign StackNavigation to support pushing dynamically-defined widgets (#1093)
Remove the concept of a "full-screen" override for stack nav,
as it's completely useless and just added complexity.

This also fixes the push/pop "sliding" animation to be more fluid
2026-05-23 10:13:20 +02:00
alanpoon
dabcdca5de Added gif (#1083)
* added giphy

* added gif

* remove unnecessary file changes

* animated_image_git
2026-05-18 22:47:53 +02:00
admin
e6e8b2cdc3 fix slides 2026-05-05 10:00:39 +02:00
admin
444bc4f310 Fix todo input styling and studio build env 2026-05-05 07:50:38 +02:00
admin
754ffc7b18 cad 2026-05-04 18:34:29 +02:00
admin
e9dd8ae3a9 Fix and restyle todo example 2026-05-04 17:37:21 +02:00
admin
a70ac2806f Add local AI talk slide 2026-05-04 17:05:19 +02:00
admin
07e8914a8b Tighten realtime CAD demo wording 2026-05-04 17:02:46 +02:00
admin
8168e15b70 Add Robrix opening demo 2026-05-04 17:01:23 +02:00
admin
d79a5f0adc Clarify realtime CAD demo 2026-05-04 16:58:37 +02:00
admin
ddcc48ef4c Update AI talk demo sequence 2026-05-04 16:57:16 +02:00
admin
634d334f67 Wrap AI talk title slide 2026-05-04 16:54:24 +02:00
admin
3a97269f21 Refine AI talk slide content 2026-05-04 16:53:04 +02:00
admin
e7a25e96ae Add AI Makepad talk slides example 2026-05-04 16:25:03 +02:00
Admin
fd30963802 aichat 2026-05-04 13:50:02 +02:00
Admin
9555fb5448 fix cad 2026-05-04 11:35:36 +02:00
Admin
08d631a77c ai chat working 2026-05-04 08:48:38 +02:00
Admin
88645f37a5 xr 2026-05-03 23:45:59 +02:00
Admin
759a5a386c gauss blurs 2026-05-03 23:45:59 +02:00
Admin
4a106111b8 ai manager otw 2026-04-28 12:24:40 +02:00