unreal-blueprints
यह क्या करती है
यह स्किल दिखाती है कि Blueprints से Unreal Engine 5 में गेमप्ले कैसे व्यवस्थित करें। यह उन रचनाकारों के लिए है जो C++ लिखे बिना गेम लॉजिक बनाते हैं।
कब इस्तेमाल करें
- ✓जब आप Unreal Blueprint में begin play या overlap जैसे इवेंट जोड़ रहे हों।
- ✓जब आपको दो Blueprints को उलझे संदर्भों के बिना आपस में बात करवानी हो।
- ✓जब आप Blueprint के construction script में एडिटर के समय का व्यवहार सेट करना चाहें।
Skill का लिंक
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/unreal/unreal-blueprints/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Unreal में एक दरवाज़े का Blueprint बनाइए जो तब खुले जब खिलाड़ी पास आए और E दबाए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह Blueprint classes और Level Blueprint का अंतर, construction script कब इस्तेमाल करें, और casts, interfaces व event dispatchers से संदेश कैसे जाते हैं, यह समझाती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Unreal Blueprints (Visual Scripting)
Structure gameplay logic in Unreal Engine 5 Blueprints: pick the right graph, expose data cleanly, and choose a communication method that doesn't create hard-reference spaghetti. Targets UE 5.8. (Blueprints are node graphs; the snippets below describe node flows.)
When to use
- Use when authoring a Blueprint Class, wiring the Event Graph (BeginPlay/Tick/overlap), using the Construction Script, creating variables/functions/macros, or choosing how two Blueprints communicate (Cast, Interface, or Event Dispatcher).
- Use when the project has
*.uprojectand Blueprint*.uassetfiles, and the user works visually rather than in C++.
When not to use: performance-critical systems, large data structures, or anything that
benefits from source control diffs and unit tests → unreal-cpp-gameplay. Player input
mapping → unreal-enhanced-input. AI logic → unreal-behavior-trees.
Core workflow
- Choose the Blueprint type. A Blueprint Class (derived from Actor/Pawn/Character/ ActorComponent) defines a reusable object. The Level Blueprint is a per-level graph for level-specific scripting only — don't put reusable logic there.
- Use the Construction Script for editor-time setup (procedural placement, configuring components from variables) — it runs when the actor is placed or edited, not during play.
- Use the Event Graph for runtime logic.
Event BeginPlayfor init, input/overlap events for reactions. AvoidEvent Tickunless you truly need per-frame work. - Expose data with variables; click the eye icon to make a variable Instance Editable, and group related ones with categories. Mark pure functions (no exec pin) for getters.
- Pick a communication method by coupling (see Patterns): direct Cast for things you own, Blueprint Interface to call across types without hard references, Event Dispatcher to broadcast one-to-many.
- Verify with the Blueprint debugger: drop breakpoints on nodes, watch variable values, and use Print String to confirm execution paths during Play In Editor (PIE).
Patterns
1. Reactive Event Graph (no Tick)
Event BeginPlay
-> Set 'StartLocation' = GetActorLocation
-> Bind Event to OnComponentBeginOverlap (TriggerVolume) [calls custom event OnEnterZone]
OnEnterZone (Other Actor)
-> Branch: Other Actor == Player?
True -> Open Door (Timeline drives the rotation) // event-driven, runs once
Prefer events (overlaps, timers, dispatchers) and Timelines over polling in Tick.
2. Direct reference + Cast (tight coupling, use sparingly)
Overlapped Actor (Actor ref)
-> Cast To BP_Player
Cast Failed -> (do nothing)
Success -> call BP_Player.ApplyDamage(10)
Cast To creates a hard reference to that class (it loads with this Blueprint). Fine when the
caller genuinely depends on that type; otherwise prefer an Interface.
3. Blueprint Interface (decoupled call)
// 1. Create BPI_Interactable with function 'Interact(Instigator)'.
// 2. Add the interface to BP_Door, BP_Chest, BP_Lever and implement 'Interact' in each.
// 3. Caller, with any Actor ref:
Player presses Use
-> Does Object Implement Interface (BPI_Interactable)? // safe check, no Cast/hard ref
True -> Interact (Message) on Target Actor
4. Event Dispatcher (one-to-many broadcast)
// In BP_Player: declare Event Dispatcher 'OnHealthChanged (float NewHealth)'.
TakeDamage -> Set Health -> Call 'OnHealthChanged' (Health) // broadcast
// In WBP_HUD BeginPlay: Bind Event to 'OnHealthChanged' -> update health bar.
// Many listeners can bind; the player never references them.
Pitfalls
- Cast spaghetti / long load times — chains of
Cast Tocreate hard references that pull whole asset trees into memory. Decouple with Interfaces or Dispatchers. - Logic in the Level Blueprint that should be reusable — it can't be reused across levels. Put it in a Blueprint Class.
Event Tickoveruse — every-frame nodes add up fast. Use events, Timers (Set Timer by Event), and Timelines instead.- Construction Script doing gameplay — it runs in the editor on edit/placement; spawning gameplay actors or starting logic there causes editor-only artifacts. Init in BeginPlay.
- Variable not visible on the instance — toggle Instance Editable (the eye); to edit before spawn via Spawn node, also m
अक्सर पूछे जाने वाले सवाल
Level Blueprint क्या है?
यह एक ग्राफ़ है जो एक लेवल से जुड़ा होता है और सिर्फ़ उस लेवल के लिए खास स्क्रिप्टिंग के लिए है।
मुझे C++ कब इस्तेमाल करना चाहिए?
स्किल प्रदर्शन-महत्वपूर्ण या बड़े सिस्टम के लिए C++ सुझाती है, जिन्हें सोर्स कंट्रोल और टेस्ट से फ़ायदा होता है।
क्या यह इनपुट सेटअप कवर करती है?
पूरी तरह नहीं। इनपुट मैपिंग एक अलग Enhanced Input स्किल में कवर है।
जानकारी
लेखक का मूल विवरण
Build Unreal Engine 5 gameplay with Blueprint visual scripting: Blueprint Classes, the Event Graph and Construction Script, variables/functions/macros, and Blueprint communication (Cast, Interfaces, Event Dispatchers). Use when working in Blueprints, wiring an event graph, deciding how Blueprints talk to each other, or when the user mentions Blueprint, BP, event graph, construction script, or a Blueprint .uasset.
लोकप्रियता
- GitHub स्टार
- 6.6k
- रैंकिंग में स्थान
- #13853
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
router
6.6kयह आपके एजेंट को इंजन और काम के प्रकार को पहचानकर किसी अनुरोध के लिए सही गेम डेवलपमेंट स्किल चुनने में मदद करती है।
ai-behavior-trees-utility-ai
6.6kयह आपके एजेंट को दुश्मनों और किरदारों के लिए बिहेवियर ट्री और यूटिलिटी AI सिस्टम बनाने में मदद करती है, जो प्राथमिकता और स्कोर से कार्रवाई चुनें।
audio-design
6.6kआपके एजेंट को गेम ऑडियो मिक्सिंग सिखाती है: बस, डेसिबल में वॉल्यूम, डायलॉग में म्यूज़िक धीमा करना और साउंड इफ़ेक्ट की विविधता।
camera-systems
6.6kयह आपके एजेंट को ऐसे गेम कैमरा बनाने में मदद करती है जो सहजता से पीछा करें, लेवल के भीतर रहें, और 3D में घूम या देख सकें।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।