{"schemaVersion":"1.0","record":{"label":"ggez","description":"Rust game framework with callback-driven logic, GPU drawing, audio and packaged resource loading.","aliases":[],"kind":"software","website":"https://ggez.rs/","overview":"ggez is a Rust game framework inspired by LÖVE, providing drawing, audio, resource loading and event handling. Developers implement their own game state and callbacks rather than authoring a project in a supplied scene editor. This article focuses on documented desktop 2D workflows and keeps differences between release documentation and development-branch claims explicit.","license":"MIT for ggez; dependencies and bundled or imported assets have separate terms.","lifecycle":"active","example":false,"features":[{"name":"Callback-driven game logic","status":"supported","detail":"Implement update/draw and selected input callbacks through EventHandler.","useCase":"Programming desktop 2D games in Rust","platforms":["Windows","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.rs/ggez/latest/ggez/event/trait.EventHandler.html","locator":"Required update/draw and optional input/quit callbacks","retrievedAt":"2026-10-07T20:38:26Z","kind":"vendor"}]},{"name":"2D render targets","status":"supported","detail":"Canvas represents a render pass targeting the screen or an image; finish submits queued draws.","useCase":"Programming desktop 2D games in Rust","platforms":["Windows","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.rs/ggez/latest/ggez/graphics/index.html","locator":"Canvas render passes, queued draws, finish and image render targets","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"}]},{"name":"Resource archives","status":"supported","detail":"Resources can load from a folder, ZIP or platform save location in a documented order.","useCase":"Programming desktop 2D games in Rust","platforms":["Windows","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.rs/ggez/latest/ggez/filesystem/index.html","locator":"Resource folder/archive/save-directory precedence and symlink warning","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"}]},{"name":"Filesystem security sandbox","status":"unsupported","detail":"The documentation explicitly states directory isolation is for convenience and follows symlinks.","useCase":"Programming desktop 2D games in Rust","platforms":["Windows","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.rs/ggez/latest/ggez/filesystem/index.html","locator":"Resource folder/archive/save-directory precedence and symlink warning","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"}]},{"name":"macOS support status","status":"disputed","detail":"Development README lists full support, but the platform guide calls macOS DIY and the 0.10 API overview does not officially support it.","useCase":"Programming desktop 2D games in Rust","platforms":["Windows","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/ggez/ggez","locator":"Platform and higher-level subsystem statements; comparison with release documentation","retrievedAt":"2026-10-07T20:38:05Z","kind":"vendor"},{"url":"https://github.com/ggez/ggez/blob/master/docs/BuildingForEveryPlatform.md","locator":"Linux dependencies, Windows distribution, macOS DIY and unofficial mobile/web","retrievedAt":"2026-10-07T20:38:32Z","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/","locator":"Context/EventHandler workflow, extension scope and stated platform support","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"}]}],"alternatives":[],"slug":"ggez","draftAlternatives":[{"targetSlug":"love","status":"limited","detail":"Assessment: an alternative for desktop 2D games when rewriting Lua behavior into Rust is acceptable. The project explicitly draws on LÖVE's design but does not promise identical behavior or performance; mobile/web coverage and higher-level systems need separate integration.","useCase":"Programming desktop 2D games in Rust","platforms":["Windows","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://ggez.rs/","locator":"LÖVE-inspired framework and included subsystems","retrievedAt":"2026-10-07T20:38:05Z","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/","locator":"Context/EventHandler workflow, extension scope and stated platform support","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"},{"url":"https://love2d.org/","locator":"Lua 2D framework, drawing/audio examples and platforms","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"},{"url":"https://github.com/ggez/ggez/blob/master/docs/BuildingForEveryPlatform.md","locator":"Linux dependencies, Windows distribution, macOS DIY and unofficial mobile/web","retrievedAt":"2026-10-07T20:38:32Z","kind":"vendor"}]}],"evidence":[{"url":"https://ggez.rs/","locator":"LÖVE-inspired framework and included subsystems","retrievedAt":"2026-10-07T20:38:05Z","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/","locator":"Context/EventHandler workflow, extension scope and stated platform support","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/event/trait.EventHandler.html","locator":"Required update/draw and optional input/quit callbacks","retrievedAt":"2026-10-07T20:38:26Z","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/graphics/index.html","locator":"Canvas render passes, queued draws, finish and image render targets","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/filesystem/index.html","locator":"Resource folder/archive/save-directory precedence and symlink warning","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/audio/index.html","locator":"SoundData, Source, SpatialSource and drop behavior","retrievedAt":"2026-10-07T20:38:26Z","kind":"vendor"},{"url":"https://github.com/ggez/ggez/blob/master/docs/BuildingForEveryPlatform.md","locator":"Linux dependencies, Windows distribution, macOS DIY and unofficial mobile/web","retrievedAt":"2026-10-07T20:38:32Z","kind":"vendor"},{"url":"https://github.com/ggez/ggez","locator":"Platform and higher-level subsystem statements; comparison with release documentation","retrievedAt":"2026-10-07T20:38:05Z","kind":"vendor"},{"url":"https://github.com/ggez/ggez/blob/master/LICENSE","locator":"Copyright/permission retention and commercial use","retrievedAt":"2026-10-07T20:38:32Z","kind":"vendor"},{"url":"https://love2d.org/","locator":"Lua 2D framework, drawing/audio examples and platforms","retrievedAt":"2026-10-07T20:38:16Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://ggez.rs/","locator":"LÖVE-inspired framework and included subsystems","retrievedAt":"2026-10-07T20:38:05Z","id":"site","title":"ggez project overview","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/","locator":"Context/EventHandler workflow, extension scope and stated platform support","retrievedAt":"2026-10-07T20:38:16Z","id":"docs","title":"ggez 0.10 API overview","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/event/trait.EventHandler.html","locator":"Required update/draw and optional input/quit callbacks","retrievedAt":"2026-10-07T20:38:26Z","id":"events","title":"ggez EventHandler","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/graphics/index.html","locator":"Canvas render passes, queued draws, finish and image render targets","retrievedAt":"2026-10-07T20:38:16Z","id":"graphics","title":"ggez graphics","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/filesystem/index.html","locator":"Resource folder/archive/save-directory precedence and symlink warning","retrievedAt":"2026-10-07T20:38:16Z","id":"files","title":"ggez filesystem","kind":"vendor"},{"url":"https://docs.rs/ggez/latest/ggez/audio/index.html","locator":"SoundData, Source, SpatialSource and drop behavior","retrievedAt":"2026-10-07T20:38:26Z","id":"audio","title":"ggez audio","kind":"vendor"},{"url":"https://github.com/ggez/ggez/blob/master/docs/BuildingForEveryPlatform.md","locator":"Linux dependencies, Windows distribution, macOS DIY and unofficial mobile/web","retrievedAt":"2026-10-07T20:38:32Z","id":"platforms","title":"ggez platform guide","kind":"vendor"},{"url":"https://github.com/ggez/ggez","locator":"Platform and higher-level subsystem statements; comparison with release documentation","retrievedAt":"2026-10-07T20:38:05Z","id":"repo","title":"ggez development README","kind":"vendor"},{"url":"https://github.com/ggez/ggez/blob/master/LICENSE","locator":"Copyright/permission retention and commercial use","retrievedAt":"2026-10-07T20:38:32Z","id":"license","title":"ggez MIT license","kind":"vendor"},{"url":"https://love2d.org/","locator":"Lua 2D framework, drawing/audio examples and platforms","retrievedAt":"2026-10-07T20:38:16Z","id":"love","title":"LÖVE overview","kind":"vendor"}],"overviewCitations":["docs","site"],"licenseCitations":["license"],"sections":[{"id":"logic","heading":"Application structure","paragraphs":[{"id":"logic-detail","content":[{"text":"A game supplies its own state type and implements EventHandler, with update and draw required. Input and window callbacks can be overridden as needed. The default keyboard behavior includes quitting on Escape; replacing that callback means deciding whether to retain the behavior. This callback model provides the main loop's interface while leaving the application's state organization to its author."}],"citations":["events"]}]},{"id":"drawing","heading":"Drawing and sound","paragraphs":[{"id":"drawing-detail","content":[{"text":"Drawing work is queued into a Canvas, which represents one render pass. It can target the window or an image for subsequent effects, and finish submits the queued operations. Audio has separate data and playback objects: SoundData holds bytes, while Source connects data to an output channel. Source and SpatialSource stop playing when dropped, making object lifetime relevant to sound playback."}],"citations":["graphics","audio"]}]},{"id":"resources","heading":"Resource lookup and packaging","paragraphs":[{"id":"resources-detail","content":[{"text":"The filesystem layer searches a resources folder beside the executable, then a resources.zip archive, then a platform-dependent save location. The first matching file wins, permitting local asset overrides without repacking the archive. The documentation explicitly warns that lookups follow symlinks and that this arrangement is not a security sandbox. Modding convenience should therefore not be mistaken for confinement of untrusted files."}],"citations":["files"]}]},{"id":"platforms","heading":"Platform qualifications","paragraphs":[{"id":"platforms-detail","content":[{"text":"Windows and Linux are consistently documented development targets. The Linux guide lists native build dependencies, while distribution guidance includes the executable and resource data. macOS claims differ: the development README lists full support, but the detailed build guide calls it a do-it-yourself target and the 0.10 API overview does not officially support it. Android and web routes are not treated as equivalent to supported desktop deployment."}],"citations":["platforms","repo","docs"]}]},{"id":"scope","heading":"Framework scope and license","paragraphs":[{"id":"scope-detail","content":[{"text":"ggez supplies common runtime facilities without prescribing every higher-level game system. The repository lists physics, animation, GUI, asset management, AI, entity-component systems and networking as functions to add from elsewhere when needed. The MIT license permits commercial use and modification with retained notices. That covers the library, not unrestricted rights to every third-party asset or dependency a game may include."}],"citations":["repo","license"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"ggez is directly relevant to developers considering a Rust replacement for "},{"text":"LÖVE","targetSlug":"love"},{"text":" because the project explicitly identifies that framework as its design inspiration. The supported overlap is programming desktop 2D drawing, sound and game input. Moving a Lua game requires rewriting behavior and reviewing rendering, resource paths and optional systems. Similar callbacks do not establish source compatibility, identical runtime behavior or equal platform coverage."}],"citations":["site","docs","love","platforms"]}]}]},"id":"Q246","revision":231,"updatedAt":"2026-10-10T15:50:02Z","sourceUrl":"https://substitutefor.net/entities/Q246?revision=231"}}