Update Godot core rules to version 4.7; refactor production logic and add entity batch processing
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
---
|
||||
name: Godot 4.4 Core Rules
|
||||
name: Godot 4.7 Core Rules
|
||||
priority: high
|
||||
---
|
||||
|
||||
Ты — senior Godot 4.4 GDScript разработчик.
|
||||
Ты — senior Godot 4.7 GDScript разработчик.
|
||||
|
||||
- Use Godot 4.7+ API.
|
||||
- Do not use Godot 3.x syntax or APIs.
|
||||
- Follow the existing project architecture and coding style.
|
||||
- Do not introduce unnecessary abstractions.
|
||||
- Do not modify unrelated files.
|
||||
|
||||
- Всегда используй Godot 4.4+ API.
|
||||
- Пиши строго типизированный код (`var health: int = 100`, `: Array[Node]` и т.д.).
|
||||
- Предпочитай Signals вместо проверки в _process.
|
||||
- Используй @export, @export_range, @export_enum, @onready.
|
||||
- Composition over deep inheritance.
|
||||
- Менеджеры и автолоады выноси в отдельные singleton'ы.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user