the small
This commit is contained in:
parent
3109bdc44a
commit
aff18ec43c
82 changed files with 6436 additions and 630 deletions
15
addons/ldtk-importer/post-import/entity-template.gd
Normal file
15
addons/ldtk-importer/post-import/entity-template.gd
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
@tool
|
||||
|
||||
# Entity Post-Import Template for LDTK-Importer.
|
||||
|
||||
func post_import(entity_layer: LDTKEntityLayer) -> LDTKEntityLayer:
|
||||
var definition: Dictionary = entity_layer.definition
|
||||
var entities: Array = entity_layer.entities
|
||||
|
||||
print("EntityLayer: ", entity_layer.name, " | Count: ", entities.size())
|
||||
|
||||
for entity in entities:
|
||||
# Perform operations here
|
||||
pass
|
||||
|
||||
return entity_layer
|
||||
1
addons/ldtk-importer/post-import/entity-template.gd.uid
Normal file
1
addons/ldtk-importer/post-import/entity-template.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://xm2daqcapb3
|
||||
8
addons/ldtk-importer/post-import/level-template.gd
Normal file
8
addons/ldtk-importer/post-import/level-template.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
@tool
|
||||
|
||||
# Level Post-Import Template for LDTK-Importer.
|
||||
|
||||
func post_import(level: LDTKLevel) -> LDTKLevel:
|
||||
# Behaviour goes here
|
||||
print("Level: ", level)
|
||||
return level
|
||||
1
addons/ldtk-importer/post-import/level-template.gd.uid
Normal file
1
addons/ldtk-importer/post-import/level-template.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://gn6h3yyffwll
|
||||
9
addons/ldtk-importer/post-import/tileset-template.gd
Normal file
9
addons/ldtk-importer/post-import/tileset-template.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@tool
|
||||
|
||||
# Tileset Post-Import Template for LDTK-Importer.
|
||||
|
||||
func post_import(tilesets: Dictionary) -> Dictionary:
|
||||
# Behaviour goes here
|
||||
for tileset: TileSet in tilesets.values():
|
||||
print("Tileset: ", tileset, tileset.tile_size)
|
||||
return tilesets
|
||||
1
addons/ldtk-importer/post-import/tileset-template.gd.uid
Normal file
1
addons/ldtk-importer/post-import/tileset-template.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://bkwk4dt3lrlh3
|
||||
8
addons/ldtk-importer/post-import/world-template.gd
Normal file
8
addons/ldtk-importer/post-import/world-template.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
@tool
|
||||
|
||||
# World Post-Import Template for LDTK-Importer.
|
||||
|
||||
func post_import(world: LDTKWorld) -> LDTKWorld:
|
||||
# Behaviour goes here
|
||||
print("World: ", world)
|
||||
return world
|
||||
1
addons/ldtk-importer/post-import/world-template.gd.uid
Normal file
1
addons/ldtk-importer/post-import/world-template.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://bh8x86p2eq475
|
||||
Loading…
Add table
Add a link
Reference in a new issue