Update Matrix Transform demo to Godot 4.1 (#978)

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
Alex
2023-10-18 02:38:00 +02:00
committed by GitHub
parent 647002a75c
commit e2abd0e7fb
5 changed files with 10 additions and 18 deletions

View File

@@ -1,7 +1,9 @@
@tool
class_name AxisMarker2D, "res://marker/AxisMarker2D.svg"
@icon("res://marker/AxisMarker2D.svg")
class_name AxisMarker2D
extends Node2D
func _process(_delta):
var line: Line2D = get_child(0).get_child(0)
var marker_parent = get_parent()

View File

@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/AxisMarker2D.svg-a52a23070c2ca9dcdd860a47183c
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false

View File

@@ -1,7 +1,7 @@
@tool
extends Node3D
class_name AxisMarker3D
@icon("res://marker/AxisMarker3D.svg")
class_name AxisMarker3D
extends Node3D
func _process(_delta):

View File

@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/AxisMarker3D.svg-613a31ba426aca266949d2735333
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false

View File

@@ -8,16 +8,6 @@
config_version=5
_global_script_classes=[{
"base": "Node3D",
"class": &"AxisMarker3D",
"language": &"GDScript",
"path": "res://marker/AxisMarker3D.gd"
}]
_global_script_class_icons={
"AxisMarker3D": "res://marker/AxisMarker3D.svg"
}
[application]
config/name="Matrix Transform3D"
@@ -26,10 +16,10 @@ config/description="This demo project is a playground where you can visualize ho
Do not 'run' this project. You are only meant to use it within the Godot editor.
For more information, see the Matrices and Transforms article."
run/main_scene="res://3D.tscn"
config/features=PackedStringArray("4.0")
config/icon="res://icon.webp"
config/tags=PackedStringArray("3d", "demo", "editor", "official")
run/main_scene="res://3D.tscn"
config/features=PackedStringArray("4.1")
config/icon="res://icon.webp"
[rendering]