unreal-blueprints
O que ela faz
Esta skill mostra como estruturar a jogabilidade na Unreal Engine 5 usando Blueprints, o sistema de script visual. Ela é para criadores que montam a lógica do jogo sem escrever C++.
Quando usar
- ✓Quando você está ligando eventos, como begin play ou sobreposições, em um Blueprint da Unreal.
- ✓Quando você precisa que dois Blueprints se comuniquem sem referências emaranhadas.
- ✓Quando você quer configurar um comportamento em tempo de edição no script de construção de um Blueprint.
Link da skill
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/unreal/unreal-blueprints/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Crie um Blueprint de porta na Unreal que abra quando o jogador se aproximar e apertar E.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela explica a diferença entre classes Blueprint e o Level Blueprint, quando usar o script de construção, e como casts, interfaces e event dispatchers transmitem mensagens.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
O que é o Level Blueprint?
É um grafo anexado a uma única fase, destinado apenas a scripts específicos dessa fase.
Quando devo usar C++ em vez disso?
A skill sugere C++ para sistemas grandes ou sensíveis ao desempenho, que se beneficiam de controle de versão e testes.
Isso cobre a configuração de entrada?
Não totalmente. O mapeamento de entrada é coberto por uma skill separada de Enhanced Input.
Detalhes
Descrição original do autor
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.
Popularidade
- Estrelas no GitHub
- 6,6 mil
- Posição no ranking
- #13853
- Licença
- Apache-2.0
- Atualizada em
- 28/10/2026
Comentários
- …
Mais skills deste repositório
router
6,6 milAjuda seu agente a escolher a skill certa de desenvolvimento de jogos para cada pedido, detectando sua engine e o tipo de tarefa que você precisa.
ai-behavior-trees-utility-ai
6,6 milAjuda seu agente a criar uma árvore de comportamento e um sistema de IA por utilidade para inimigos e personagens que escolhem ações por prioridade e pontuação.
audio-design
6,6 milEnsina seu agente a fazer a mixagem de áudio de jogos: barramentos, volume em decibéis, redução de volume sob diálogos, música adaptativa e variação de efeitos sonoros.
camera-systems
6,6 milAjuda seu agente a criar câmeras de jogo que seguem o personagem com suavidade, ficam dentro da fase e giram ou olham ao redor em 3D.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.