Bevy ECS skill for 2D sprite animation. Keywords: Bevy, sprite, animation, AnimationPlayer, AnimationClip, 2D.
中文简介正在准备中。当前显示原文说明。
Expert blueprint for performance profiling and optimization (frame drops, memory leaks, draw calls) using Godot Profiler, object pooling, visibility culling, and bottleneck identification. Use when diagnosing lag, optimizing for target FPS, or reducing memory usage. Keywords profiling, Godot Profiler, bottleneck, object pooling, VisibleOnScreenNotifier, draw calls, MultiMesh.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
print() in release builds — print() every frame = file I/O bottleneck + log spam. Use @warning_ignore or conditional if OS.is_debug_build(): [21].VisibleOnScreenNotifier2D for off-screen entities — Enemies processing logic off-screen = wasted CPU. Disable set_process(false) when screen_exited [22].for i in 1000: var bullet = Bullet.new() = 1000 allocations. Use object pools, reuse instances [23].get_node() in _process() — Calling get_node("Player") 60x/sec = tree traversal spam. Cache in @onready var player := $Player [24].OS.delay_msec() or long synchronous data processing. Use WorkerThreadPool to keep framerates steady._inter_ray or _physics_process can lock the physics server. Use call_deferred.Debug → Profiler (F3)
Tabs:
Open Debug → Profiler first. MANDATORY load only the script for the hot tab/symptom.
Do NOT Load every perf script for a single hitch.
| Profiler / symptom | Likely cause | Script |
|---|---|---|
| Time — same script hot | Alloc / get_node / process | object_pool_system.gd, cache @onready; custom_monitor_profiler.gd |
| Time — off-screen AI/VFX | Process while invisible | MANDATORY manual_culling_logic.gd |
| Memory — climbs over time | Leaks / unique resources | shared_resource_strategy.gd; pair with debugging orphan tools |
| Physics — collision spikes | Query/node RayCast spam | MANDATORY low_level_physics_query.gd |
| GPU / draw calls | Unique sprites/meshes | MANDATORY multimesh_optimizer.gd / multimesh_foliage_manager.gd / texture_array_batching.gd |
| SceneTree overhead at scale | Canvas/mesh item spam | MANDATORY rendering_server_direct.gd |
| Main-thread hitch (gen/parse) | Sync heavy work | MANDATORY worker_thread_pool_manager.gd |
| Crowd path spikes | Nav agents same frame | navigation_agent_optimization.gd |
| Custom game metrics | Missing monitors | custom_performance_monitor.gd |
MANDATORY for hot-path spawn/despawn — reuse, do not invent Array pop pools inline.
VisibilityNotifier-driven process disable for CPU-heavy off-screen entities.
RenderingServer canvas/mesh path when SceneTree overhead dominates.
Direct space-state queries vs hundreds of RayCast nodes.
WorkerThreadPool offload for heavy jobs.
Hardware instancing for dense meshes/foliage.
Texture2DArray batching to cut material switches.
Shared vs local-to-scene memory tradeoffs.
Staggered path updates for crowds.
Performance.get_monitor / custom monitors for game-specific spikes.
Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Bevy ECS skill for 2D sprite animation. Keywords: Bevy, sprite, animation, AnimationPlayer, AnimationClip, 2D.
中文简介正在准备中。当前显示原文说明。
Spawn and tune Bevy 0.20 directional, point, and spot lights, cascade shadows, distance fog, and a nearest-light shadow budget. Use when a 3D scene needs a sun, local lights, or fog on the camera. Keywords: DirectionalLight, PointLight, SpotLight, CascadeShadowConfig, DistanceFog, bevy_light.
中文简介正在准备中。当前显示原文说明。
Bevy ECS skill for PBR materials. Keywords: Bevy, StandardMaterial, PBR, material, ExtendedMaterial.
中文简介正在准备中。当前显示原文说明。
Bevy ECS skill for 3D level assembly. Keywords: Bevy, level, scene, mesh, world, ECS.
中文简介正在准备中。当前显示原文说明。
Bevy ECS skill for abilities. Keywords: Bevy, ability, cooldown, ECS, gameplay.
中文简介正在准备中。当前显示原文说明。
Rewrite Bevy 2D actors and cameras into 3D meshes and Camera3d while keeping gameplay components. Use when a Bevy 2D game should gain a perspective camera, mesh draw, and a planar velocity lifted onto XZ. Keywords: Camera2d, Camera3d, Sprite, Mesh3d, StandardMaterial, WishVelocity.
中文简介正在准备中。当前显示原文说明。