mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
This makes uses of the new built-in 2D physics interpolation added in 4.3. For 3D demos, a separate PR requiring `master` will be made later.
29 lines
863 B
Plaintext
29 lines
863 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://bryfdf2r0lvau"]
|
|
|
|
[ext_resource type="Script" uid="uid://ncd8ojl2luqf" path="res://troll.gd" id="1"]
|
|
[ext_resource type="Texture2D" uid="uid://c125b0x0g8lwk" path="res://troll.png" id="2"]
|
|
|
|
[sub_resource type="CircleShape2D" id="1"]
|
|
radius = 16.0
|
|
|
|
[node name="Troll" type="CharacterBody2D"]
|
|
script = ExtResource("1")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2")
|
|
|
|
[node name="Shadow" type="Sprite2D" parent="."]
|
|
modulate = Color(0, 0, 0, 0.501961)
|
|
show_behind_parent = true
|
|
position = Vector2(16.4422, 4.89438)
|
|
scale = Vector2(0.794259, 1.04505)
|
|
skew = 0.523599
|
|
texture = ExtResource("2")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(3.24216, 19.453)
|
|
shape = SubResource("1")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
process_callback = 0
|