building-building-placer

Place buildings with ghost sprites and cursor tracking in PIXI.js.

1|Updated Jun 6, 2026
One-click install
npx skills add https://github.com/diadia0000/ForWanna --skill building-building-placer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: building-building-placer
Source: https://github.com/diadia0000/ForWanna/tree/main/.claude/skills/building/BuildingPlacer
Command: npx skills add https://github.com/diadia0000/ForWanna --skill building-building-placer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pixi.js, ./BuildingSystem, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the building placement process in games or simulations, offering a user-friendly interface for precise building placement.

Core Features & Use Cases

  • Ghost Preview: Visualize building placement with a semi-transparent ghost sprite.
  • Cursor Tracking: Track mouse cursor movements for accurate placement.
  • Click to Place: Place buildings by clicking on the desired location.
  • Use Case: When designing a game map, quickly place buildings by selecting the desired structure and clicking where you want it to appear.

Quick Start

Use the building-building-placer skill to place a house at coordinates (100, 100).

Frequently Asked Questions about building-building-placer

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

FAQPage Schema
How do I add a ghost preview for building placement in PIXI.js?

Ghost preview for building placement in PIXI.js is managed by rendering a semi-transparent ghost sprite that follows the mouse cursor. This visualizes the proposed location before committing the structure to the game map.

What's the best way to track mouse cursor movements for accurate building placement?

Accurate building placement is achieved by tracking mouse cursor movements to update the ghost sprite's coordinates in real-time. This ensures the visual preview aligns precisely with the cursor before clicking to place.

Does the building placement system require a separate validation module?

Yes, the building placement system requires the BuildingSystem module for validation. While PIXI.js handles the ghost preview rendering, the BuildingSystem module validates whether a placement is allowed.

How do I place a building at specific coordinates in a game?

To place a building at specific coordinates, select the desired structure and click the target location. The system uses cursor tracking to finalize the placement at the exact clicked coordinates.

Can I use this building placement approach for simulations beyond games?

Yes, this building placement approach works for simulations beyond games. It simplifies the placement process in any interactive simulation by offering a user-friendly interface for precise structural positioning.