-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use TileMapLayer in Dynamic TileMap Layers (#1133)
TileMap is deprecated in 4.3 as TileMapLayer supersedes it. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
- Loading branch information
Showing
3 changed files
with
26 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
[gd_scene load_steps=4 format=2] | ||
[gd_scene load_steps=4 format=3 uid="uid://1o70ce0fv10w"] | ||
|
||
[ext_resource path="res://player/player.gd" type="Script" id=1] | ||
[ext_resource path="res://player/player.png" type="Texture2D" id=2] | ||
[ext_resource type="Script" path="res://player/player.gd" id="1"] | ||
[ext_resource type="Texture2D" uid="uid://dfb8rr2fakwgp" path="res://player/player.png" id="2"] | ||
|
||
[sub_resource type="RectangleShape2D" id=1] | ||
extents = Vector2(7, 7) | ||
[sub_resource type="RectangleShape2D" id="1"] | ||
size = Vector2(14, 14) | ||
|
||
[node name="Player" type="CharacterBody2D"] | ||
script = ExtResource( 1 ) | ||
script = ExtResource("1") | ||
|
||
[node name="Sprite2D" type="Sprite2D" parent="."] | ||
texture = ExtResource( 2 ) | ||
texture = ExtResource("2") | ||
|
||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] | ||
position = Vector2(-0.315559, 0.157784) | ||
shape = SubResource( 1 ) | ||
shape = SubResource("1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters