alpha

Stops a coding assistant from writing Godot 3 syntax in Godot 4 projects, mapping old annotations, await, setters, RPCs, signals and Callables to GDScript 2.0.
description: "Prevent Godot 3 syntax in Godot 4 projects: GDScript 2.0 annotations, await, setters, @rpc, typed signals and Callables"
applyTo: "**/*.gd"
| Godot 3 (wrong) | Godot 4 (use) |
|---|---|
| export var speed = 5 / export(int) var | @export var speed: float = 5.0 (@export_range, @export_enum, @export_group) |
| onready var x = $X | @onready var x: Node2D = $X |
| tool | @tool (first line) |
| yield(get_tree().create_timer(1), "timeout") | await get_tree().create_timer(1.0).timeout |
| yield(obj, "signal") | await obj.signal_name |
| var x setget set_x, get_x | var x: int: with set(value): / get: blocks |
| puppet funcs | @rpc (authority-only; Godot 4 default) |
| remote funcs | @rpc("any_peer") |
| remotesync funcs | @rpc("any_peer", "call_local") |
| puppetsync funcs | @rpc("call_local") |
| master funcs | no direct map; use @rpc("any_peer") + multiplayer.get_remote_sender_id() check |
| funcref(obj, "m") | Callable(obj, "m") or just obj.m |
| PoolStringArray, PoolVector2Array | PackedStringArray, PackedVector2Array |
var hp: int = 100, func hit(dmg: int) -> void:. Use := for inferred types._ready, _process) no longer call the parent automatically; call super() when extending a scripted class.StringName literals &"action" for input actions/groups and ^"path" NodePaths where it helps.signal health_changed(new_value: int).button.pressed.connect(_on_button_pressed). Never use the Godot 3 form connect("pressed", self, "_on_button_pressed")..bind(): enemy.died.connect(_on_enemy_died.bind(enemy)). Flags: connect(callable, CONNECT_ONE_SHOT).health_changed.emit(hp) rather than emit_signal("health_changed", hp).sig.disconnect(callable); check sig.is_connected(callable) first.timer.timeout.connect(func(): queue_free()).get_parent().get_parent() chains.© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com


Nine panel morning routine photo dump carousel
Makes a 3x3 Instagram-style collage of one woman's messy, candid morning routine, panel by panel, with a negative prompt to avoid glamour and plastic skin.
image-prompt, nano-banana, negative-prompt, character-consistency, collage, multi-panel, social-media-graphic, candid, photorealistic, smartphone-photo, natural-light, soft-lighting, woman, muted-colors, selfie, square-format, instagram, for-content-creators, text-rendering, long-form, beauty, cozy, portrait

Three frame underwater movie poster of sinking man
Draws a cinematic three-frame underwater movie poster of a man sinking, moving from close-up to wide shot with light beams, bubbles and a short title.
image-prompt, nano-banana, poster, ocean, cinematic, multi-panel, close-up, medium-shot, wide-shot, dramatic-lighting, photorealistic, moody, bokeh, text-rendering, vertical-format, man, portrait, blue-hour, soft-lighting, muted-colors, for-filmmakers, for-designers, short-film

A summer evening in Seoul, shot like a home video
Generates a 30-second home-video style clip of a young woman on a summer evening in a Seoul neighborhood, shot like early-2000s camcorder footage with small accidents and natural sound only.
video-prompt, home-video, vlog, handheld, film-grain, candid, korea, multi-shot, ugc-video, lip-sync, guardrails, seedance, long-form, natural-light, vintage, muted-colors, cityscape, for-content-creators, sound-effects, structured-output, summer, timed-beats
Loading reviews…
Loading comments…