domain-gamedev

Analyze float32 precision and deterministic physics challenges in game development.

5|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/AxGord/claude-workflow --skill domain-gamedev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-gamedev
Source: https://github.com/AxGord/claude-workflow/tree/main/templates/skills/domain-gamedev
Command: npx skills add https://github.com/AxGord/claude-workflow --skill domain-gamedev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill equips game developers with in-depth knowledge of common pitfalls in game development, focusing on precision and physics aspects to help avoid costly mistakes.

Core Features & Use Cases

  • Float32 Precision: Offers detailed analysis of float32 precision issues and their impact on game mechanics.
  • Deterministic Physics: Provides guidelines for achieving deterministic physics across different platforms and compilers.
  • CCD Threshold: Explains when and how to enable continuous collision detection for accurate object interactions.
  • Camera Zoom-Out Trade-offs: Discusses the trade-offs between different camera zoom-out methods and their impact on scene rendering.
  • Transform Composition: Guides on how to correctly compose and debug transform chains in 2D engines.
  • Audio Latency Thresholds: Defines acceptable audio latency thresholds for different types of games.
  • Crash / Multiplier-Game RTP: Analyzes economic models for crash/multiplier games and their impact on player strategy and RTP.
  • Virtual-Scroll / Treadmill Takeover: Offers best practices for seamless transitions between real translation and virtual scrolling in game backgrounds.

Quick Start

Learn about float32 precision issues in game development by reading the section on 'Float32 World Precision'.

Frequently Asked Questions about domain-gamedev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix float32 precision issues causing physics glitches in large game worlds?

Float32 precision issues in large game worlds cause visual jitter and physics glitches. You can mitigate this by understanding precision limits and adjusting world scaling or origin rebasing to maintain accurate game mechanics.

What is deterministic physics and how does it work across different platforms?

Deterministic physics ensures identical simulation results across different platforms and compilers. Achieving it requires strict guidelines for floating-point math and physics calculations to guarantee consistent game mechanics.

When should I enable continuous collision detection (CCD) threshold in my game?

Enable continuous collision detection (CCD) when fast-moving objects tunnel through colliders. Setting the correct CCD threshold ensures accurate object interactions by preventing missed collisions during high-speed physics simulations.

What are the acceptable audio latency thresholds for different types of games?

Acceptable audio latency thresholds vary by genre, with rhythm games requiring the lowest latency. Defining these thresholds ensures responsive audio feedback and prevents noticeable delays between player actions and sound playback.

How do I calculate RTP for crash and multiplier games?

Calculating RTP for crash and multiplier games involves analyzing their specific economic models. This analysis reveals the mathematical impact on player strategy and the theoretical return to player percentage.

What are the trade-offs between different camera zoom-out methods for scene rendering?

Different camera zoom-out methods present trade-offs between rendering performance and visual perspective. Analyzing these trade-offs helps optimize scene rendering without sacrificing the visual quality or frame rate of the game.