— No reviews yet
0 installs
9 views
0.0% view→install
Install
$ agentstack add skill-fenixnix-godot-skills-godot-global-variables ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Godot Global Variables? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
godot-global-variables
何时使用
当用户需要了解Godot全局变量使用和Autoload模式时使用此技能。
执行指示
- 提供Godot全局变量和Autoload的详细说明
- 回答用户关于Autoload注册、访问方式、最佳实践等问题
- 提供Autoload使用示例代码
输出格式
返回Godot全局变量使用指南内容,包括Autoload配置和使用示例。
示例
用户请求: 我需要了解如何在Godot中使用Autoload。
执行过程:
- 查找Autoload相关内容
- 提供详细说明和示例代码
输出: Godot中使用Autoload的步骤:
- 注册Autoload:在Godot编辑器中,进入Project → Autoload,添加需要全局访问的脚本
- 访问方式:直接使用注册的名称访问,如
$Game或Game - 最佳实践:将全局状态、游戏管理等功能放在Autoload中
示例Autoload脚本:
# Game.gd
class_name Game
var score: int = 0
var player_health: int = 100
func add_score(points: int) -> void:
score += points
print("Score: %d" % score)
func damage_player(amount: int) -> void:
player_health -= amount
if player_health void:
print("Game Over!")
访问Autoload:
# 在其他脚本中访问
Game.add_score(100)
Game.damage_player(20)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: fenixnix
- Source: fenixnix/Godot-Skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.