game-patterns
CommunityZero-GC patterns for extreme game performance.
AuthorJasonXuDeveloper
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Zero-GC patterns using JEngine reduce runtime allocations and garbage collection pressure by using pooled state objects, static lambdas, and async action flows.
Core Features & Use Cases
- Zero-GC combat patterns, ability cooldowns, and DoT management using JAction + JObjectPool.
- Wave spawning, projectile systems, and pooled resources for predictable performance in real-time games.
- Clear best practices: ExecuteAsync, using statements, and reference-type state objects to avoid closure allocations and minimize GC.
Quick Start
Create a minimal example that defines a basic ability with cooldown and runs via JAction with Delay and ExecuteAsync to demonstrate the zero-allocation flow in a simple scene.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: game-patterns Download link: https://github.com/JasonXuDeveloper/JEngine/archive/main.zip#game-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.