Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
19f18ba
StringName support
Feb 17, 2026
f38867e
Update .gitignore
Feb 17, 2026
8c9011c
Updated parseAll to parse_all
Feb 17, 2026
66118bb
Ignoring whitespaces on test_parse_files and outputting StringName wi…
Feb 17, 2026
8f01daa
Removed whitespace from GDObject string representation and added Stri…
Feb 17, 2026
2b7410f
Removed regex warning
Feb 17, 2026
792b310
Typed Dictionary support
Feb 17, 2026
b9bbce2
Handling and testing special characters
Feb 17, 2026
5dc96f7
Allow specifying format version on GDCommonFile creation
Feb 17, 2026
7c2af0c
Fixed escaping back slashes
Feb 18, 2026
9cd8e61
test_parse_files.py now using difflib and dealing with whitespace dif…
Feb 18, 2026
eb0b7b4
TypedArray
Feb 18, 2026
31f177a
string output fixes
Feb 18, 2026
2fe6e00
Godot4 tests
Feb 18, 2026
939a3c2
Unescaping test_parse_files output
Feb 18, 2026
d63e131
Removed format on GDCommonFile as this is just a small part of a bigg…
Feb 18, 2026
8ea0da7
Renamed GDScene to GDPackedScene, moved node specific functions from …
Feb 21, 2026
64cdcff
test_parser using subTest
Feb 22, 2026
6a2cc43
ObjectFormat class and support for toggling puctuation spaces when ou…
Feb 22, 2026
f4df164
load_steps test
Feb 22, 2026
ce43c8b
resource_ids_as_strings
Feb 22, 2026
07c9c89
Formatting
Feb 23, 2026
5810bfe
Typing
Feb 23, 2026
65c2a3a
Object type support
Feb 23, 2026
acf8eaa
Multiversion Packed Array support
Feb 23, 2026
422b6fa
StringName support flag
Feb 23, 2026
edf8ad9
Fixes
Feb 23, 2026
9ddab93
Version tests
Feb 23, 2026
9e0d022
Testing with real projects and fixed accordingly
Feb 23, 2026
94014b6
Verifications
Feb 23, 2026
7c6f2eb
warnings
Feb 23, 2026
53d06c8
Minor fixes
Feb 23, 2026
ec3c281
Version guessing
Feb 23, 2026
df85537
Fix StringName output
Feb 23, 2026
dedb48f
Removed all diff sanitization from test_parse_files.py
Feb 24, 2026
9ef2d28
Formatting
Feb 24, 2026
844800a
Add VersionOutputFormat to README example
Feb 24, 2026
27215de
Merge pull request #5 from stevearc/master
dougVanny Feb 24, 2026
f288ba3
Merge branch 'dev' into multi_godot_version_support
Feb 24, 2026
8366347
Packed and Pool Array detection
Feb 24, 2026
b051987
Removed unused function from test_parse_files
Feb 24, 2026
edab6cb
Testing scene.is_inherited
Feb 24, 2026
1d95cef
OutputFormat documentation
Feb 24, 2026
4394fb4
OutputFormat ocumentation formatting
Feb 24, 2026
fade4a0
Improving coverage
Feb 24, 2026
0a85ec5
Tiny doc fix
Feb 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[MESSAGES CONTROL]
disable=E1101,W0511,W0612,W0613,W0212,W0221,W0703,W0622,C,R
disable=E1101,W0511,W0612,W0613,W0212,W0221,W0703,W0622,W1113,C,R

[BASIC]
argument-rgx=[a-z_][a-z0-9_]{0,30}$
Expand Down
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,21 @@ functionality and make it easier to perform certain tasks. Let's look at an
example by creating a new scene file for a Player:

```python
from godot_parser import GDScene, Node

scene = GDScene()
res = scene.add_ext_resource("res://PlayerSprite.png", "PackedScene")
with scene.use_tree() as tree:
tree.root = Node("Player", type="KinematicBody2D")
tree.root.add_child(
Node(
"Sprite",
type="Sprite",
properties={"texture": res.reference},
)
)
scene.write("Player.tscn")
from godot_parser import GDPackedScene, Node, VersionOutputFormat

scene = GDPackedScene()
res = scene.add_ext_resource("res://PlayerSprite.png", "PackedScene")
with scene.use_tree() as tree:
tree.root = Node("Player", type="KinematicBody2D")
tree.root.add_child(
Node(
"Sprite",
type="Sprite",
properties={"texture": res.reference},
)
)

scene.write("Player.tscn", VersionOutputFormat("4.6"))
```

It's much easier to use the high-level API when it's available, but it doesn't
Expand Down
1 change: 1 addition & 0 deletions godot_parser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .files import *
from .objects import *
from .output import *
from .sections import *
from .tree import *

Expand Down
Loading