How keeguri/artstudiosimulator works
Purpose and Runtime
This is a Godot game project, apparently shipped as Art Studio Simulator for Linux and Windows. The repository contains gameplay scenes, 3D assets, custom shaders, localizable text, and bundled editor/runtime addons. Built artifacts are present in exports/linux/Art Studio Simulator.x86_64 and exports/windows/Art Studio Simulator.exe.
Application Entry and Scene Routing
Godot project metadata and startup configuration are centralized in project.godot. Main scene-level entry points appear to be the menu, game world, and statue-creation flow:
• scenes/menu.tscn
• scenes/game.tscn
• scenes/statue_maker.tscn
Menu/UI control is implemented in scripts/menu_ui.gd; global game-state coordination likely belongs to scripts/game_manager.gd.
Player and World Interaction
The playable 3D character is composed from a player prefab and gameplay controller, with spawning separated into a reusable component:
• prefabs/player.tscn
• scripts/player.gd
• scripts/player_spawner.gd
World objects are scene-prefab based—boxes, statues, pedestals, ladders, and effects—allowing the game scene to compose interactions rather than instantiate raw models directly. Interaction logic includes laptop and statue activation paths:
• scripts/laptop_interact.gd
• scripts/statue_activator.gd
• prefabs/statue_activator.tscn
Statue Creation and Persistence Model
The statue-maker domain is represented by typed Godot resources rather than hard-coded scene-only state. statue_resource.gd defines the data representation, while statue_maker.gd drives construction or selection; saved/example content is stored as .tres resources.
• statue_data/statue_resource.gd
• statue_data/statue_maker.gd
• statue_data/moai.tres
This forms a boundary between authored/saved statue data and its in-world presentation through statue-related prefabs such as prefabs/moai.tscn and prefabs/cat_statue.tscn.
UI, Settings, and Localization
UI behavior is split into focused controllers for menus, pause flow, laptop HUD, and settings:
• scripts/pause_screen.gd
• scripts/laptop_hud.gd
• scripts/settings_manager.gd
Translations are packaged through Godot translation resources for English and Russian: translations.en.translation and translations.ru.translation. scripts/netvar.gd suggests a shared observable/value abstraction, but no network service or backend is visible in the tree.
Visual Effects and Asset Pipeline
The 3D world draws from imported glTF/GLB assets, Godot material resources, and custom spatial shaders. Highlight, outline, and voxel effects likely support object selection and destruction feedback:
• models/scene.gltf
• shaders/highlight.gdshader
• shaders/outline.gdshader
Destruction is prefab-driven, connecting likely gameplay triggers to particle effects and timed cleanup:
• prefabs/voxel_destruction_particles.tscn
• scripts/destroy_after_time_component.gd
• materials/shader_materials/voxel_highlight.tres
Addon Boundaries and Platform Infrastructure
Two third-party-style Godot addons are vendored. Debug Draw 3D is a native GDExtension with platform binaries, including WebAssembly, macOS frameworks, and iOS libraries:
• addons/debug_draw_3d/debug_draw_3d.gdextension
• addons/debug_draw_3d/libs/libdd3d.web.template_debug.wasm32.wasm
Shaker provides editor and runtime components for 2D/3D shake effects, using emitters, receivers, presets, and waveform/noise type resources:
• addons/shaker/plugin.cfg
• addons/shaker/src/shaker_plugin.gd
• addons/shaker/src/Vector3/ShakerEmitter3D.gd
No external APIs, databases, authentication providers, or server infrastructure are represented.
Main entry points: game.tscn Game World · project.godot Godot Project · menu_ui.gd Menu UI Controller · laptop_interact.gd World Interactions
Components 22
Game Runtime
- Godot Project · Configures startup and packaged game runtime.
project.godot - Menu Scene
scenes/menu.tscn - Game World
scenes/game.tscn - Menu UI Controller
scripts/menu_ui.gd - Game Manager
scripts/game_manager.gd - Player
prefabs/player.tscn - Player Controller
scripts/player.gd - Player Spawner
scripts/player_spawner.gd - World Interactions · Laptop and statue activation paths.
scripts/laptop_interact.gd - Pause, HUD & Settings
scripts/pause_screen.gd - Translations · English and Russian localized text.
translations.en.translation - Desktop Exports · Linux and Windows game binaries.
exports/linux/Art Studio Simulator.x86_64
Statue Creation
- Statue Maker Scene
scenes/statue_maker.tscn - Statue Maker
statue_data/statue_maker.gd - Statue Resource · Defines authored and saved statue data.
statue_data/statue_resource.gd - Moai Data
statue_data/moai.tres
World Content & Effects
- Statue Activator
prefabs/statue_activator.tscn - Statue Prefabs · Includes Moai and cat statue scenes.
prefabs/moai.tscn - 3D Visual Pipeline · Imported models and custom highlight/outline effects.
models/scene.gltf - Voxel Destruction · Particle feedback with timed cleanup.
prefabs/voxel_destruction_particles.tscn
Vendored Addons
- Debug Draw 3D · Vendored cross-platform debug rendering addon.
addons/debug_draw_3d/debug_draw_3d.gdextension - Shaker · 2D/3D shake emitters, receivers, and presets.
addons/shaker/src/shaker_plugin.gd
Connections 22
- Godot Project → Menu Scene: starts
- Menu Scene → Menu UI Controller: controlled by
- Menu UI Controller → Game World: enters
- Menu UI Controller → Statue Maker Scene: opens
- Game Manager → Game World: coordinates
- Game World → Player Spawner: uses
- Player Spawner → Player: spawns
- Player → Player Controller: controlled by
- Game World → World Interactions: hosts
- World Interactions → Statue Activator: activates
- World Interactions → Statue Maker Scene: opens creation flow
- Statue Maker Scene → Statue Maker: driven by
- Statue Maker → Statue Resource: creates or selects
- Moai Data → Statue Resource: instance of
- Statue Resource → Statue Prefabs: presented in world
- Game World → Pause, HUD & Settings: shows
- Godot Project → Translations: loads locales
- Game World → 3D Visual Pipeline: renders with
- Game World → Voxel Destruction: triggers
- Godot Project → Debug Draw 3D: loads extension
- Godot Project → Shaker: includes addon
- Godot Project → Desktop Exports: builds