Compare commits

...

12 Commits

Author SHA1 Message Date
bel
d8f75b94a0 tutorial
# oyvTZWUjCy0
2025-08-25 22:42:28 -06:00
bel
9c9fd7f91c multi animation track per char and secret of the single png to all frames 2025-08-25 22:29:50 -06:00
Bel LaPointe
0da3a4eedc i think less gdscript is key 2025-08-22 13:31:37 -06:00
Bel LaPointe
3d4e8bd619 inheritance is hard 2025-08-22 13:10:53 -06:00
breel
d99cd1cd69 Examples/mvp-walk-with-collision @bel 2025-08-17 21:41:41 -06:00
bel
9d2db4edda sprite 2025-08-17 16:20:42 -06:00
bel
3b18ba47a0 new img 2025-08-17 16:16:19 -06:00
bel
8617d4d4e0 paul evans 2025-07-29 21:11:58 -06:00
bel
e2be208288 fix 2025-07-29 21:07:57 -06:00
bel
a02a85e47a reorder 2025-07-29 21:07:20 -06:00
bel
8a8f135bb0 Merge branch 'main' of https://gitea.inhome.blapointe.com/qtnme/dearly-departed into main 2025-07-29 20:37:15 -06:00
bel
1dec689a68 ziggi 2025-07-29 20:36:55 -06:00
46 changed files with 1053 additions and 0 deletions

49
Concepts/Ziggi.md Normal file
View File

@@ -0,0 +1,49 @@
![](./character_arc.png)
# Top
![](./paul_evans.png)
![](https://i.pinimg.com/736x/83/18/9c/83189c09bff8639230f5cd445da12094.jpg)
![](https://i.pinimg.com/1200x/eb/16/91/eb1691ce78edb1c8deee05e8c8b9dac9.jpg)
![](https://i.pinimg.com/736x/c3/50/06/c350068e67fae1df7ff2e421448f26e7.jpg)
![](https://i.pinimg.com/1200x/19/3a/46/193a467fae32ecf9634e59e3f100f267.jpg)
![](https://i.pinimg.com/1200x/b0/bf/aa/b0bfaa13662e31e27531721a7f1833dc.jpg)
# Study
![](https://i.pinimg.com/1200x/2f/86/f9/2f86f9aef3da40d17894d3c6285910d3.jpg)
![](https://i.pinimg.com/736x/ff/6f/4b/ff6f4be88c4e7e62af4dd10c726f3f27.jpg)
![](https://i.pinimg.com/1200x/e8/f6/39/e8f639e63bdc73bc386754a6b6a6a57f.jpg)
![](https://i.pinimg.com/1200x/9d/17/ac/9d17acffce85ef12b72283e12b112bcd.jpg)
![](https://i.pinimg.com/736x/be/9d/ee/be9dee7d602a55029d33ab5b5ee2d416.jpg)
![](https://i.pinimg.com/736x/69/a1/c1/69a1c14d9a2dcdfe16bb75ffb52e02cb.jpg)
![](https://i.pinimg.com/736x/9b/b5/d1/9bb5d12005f4102ea583499e377cc0c9.jpg)
![](https://i.pinimg.com/1200x/a6/20/bb/a620bbe6b1a9cd26883aeaf16c376c51.jpg)
![](https://i.pinimg.com/1200x/a3/f6/28/a3f628efcaa7c9afda4a5fabef103c3b.jpg)
![](https://i.pinimg.com/736x/18/87/79/1887795970e314f9a9c1fcebf9184315.jpg)
![](https://i.pinimg.com/736x/42/06/a1/4206a18f8f32c04eeafa214c1a069bfe.jpg)
![](https://i.pinimg.com/736x/0f/72/8b/0f728bb46a0537b9cea3132592657089.jpg)
![](https://i.pinimg.com/1200x/ed/6d/3c/ed6d3c8af003f2646b62741d74be57b6.jpg)
![](https://i.pinimg.com/1200x/4e/04/b6/4e04b6ffa9e0460065bc77dcb65c0e34.jpg)
![](https://i.pinimg.com/1200x/ed/b4/70/edb47000b7cbaa9bd67ba4f7cd6424be.jpg)

BIN
Concepts/character_arc.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

BIN
Concepts/paul_evans.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,4 @@
root = true
[*]
charset = utf-8

View File

@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf

3
Examples/mvp-walk-with-collision/.gitignore vendored Executable file
View File

@@ -0,0 +1,3 @@
# Godot 4+ specific ignores
.godot/
/android/

View File

@@ -0,0 +1,17 @@
extends "res://Entities/Characters/Movers/mover.gd"
func _input(event):
if event is InputEventKey:
match event.keycode:
KEY_W:
self.state_move_forward = event.pressed
KEY_A:
self.state_move_left = event.pressed
KEY_S:
self.state_move_backward = event.pressed
KEY_D:
self.state_move_right = event.pressed
KEY_Q:
self.state_turn_left = event.pressed
KEY_E:
self.state_turn_right = event.pressed

View File

@@ -0,0 +1 @@
uid://be8ook47nacm3

View File

@@ -0,0 +1,100 @@
class_name Mover extends Node
var speed = 1.0
func _input(event):
return
func to_move_rotate(global_transform, delta: float):
var mv = Vector3.ZERO
var rot = 0.0
for state in _states():
var duo = _duo_for_state(global_transform, delta, state)
mv += duo[0]
rot += duo[1]
return [mv, rot]
var state_move_forward = false
var state_move_left = false
var state_move_backward = false
var state_move_right = false
var state_turn_left = false
var state_turn_right = false
enum {
STATE_MOVING_FORWARD,
STATE_MOVING_LEFT,
STATE_MOVING_RIGHT,
STATE_MOVING_BACKWARD,
STATE_TURNING_LEFT,
STATE_TURNING_RIGHT,
STATE_IDLE
}
func _states():
var result = _states_moving() + _states_turning()
if result.is_empty():
result = [STATE_IDLE]
return result
func _states_moving():
var moving_forward = self.state_move_forward and not self.state_move_backward
var moving_left = self.state_move_left and not self.state_move_right
var moving_right = self.state_move_right and not self.state_move_left
var moving_backward = self.state_move_backward and not self.state_move_forward
if moving_forward and moving_left:
return [STATE_MOVING_LEFT, STATE_MOVING_FORWARD]
elif moving_forward and moving_right:
return [STATE_MOVING_RIGHT, STATE_MOVING_FORWARD]
elif moving_forward:
return [STATE_MOVING_FORWARD]
elif moving_backward and moving_left:
return [STATE_MOVING_LEFT, STATE_MOVING_BACKWARD]
elif moving_backward and moving_right:
return [STATE_MOVING_RIGHT, STATE_MOVING_BACKWARD]
elif moving_backward:
return [STATE_MOVING_BACKWARD]
elif moving_left:
return [STATE_MOVING_LEFT]
elif moving_right:
return [STATE_MOVING_RIGHT]
return []
func _states_turning():
if self.state_turn_left and not self.state_turn_right:
return [STATE_TURNING_LEFT]
elif self.state_turn_right and not self.state_turn_left:
return [STATE_TURNING_RIGHT]
return []
func _duo_for_state(global_transform, delta: float, state):
var direction = Vector2.ZERO
var rotation = 0.0
match state:
STATE_MOVING_FORWARD:
direction.y = -1
STATE_MOVING_BACKWARD:
direction.y = 1
STATE_MOVING_LEFT:
direction.x = -1
STATE_MOVING_RIGHT:
direction.x = 1
STATE_TURNING_LEFT:
rotation = speed * delta
STATE_TURNING_RIGHT:
rotation = -speed * delta
STATE_IDLE:
pass
if direction == Vector2.ZERO:
return [Vector3.ZERO, rotation]
direction = direction.normalized()
var forward = global_transform.basis.z
var right = global_transform.basis.x
var relative_direction = (forward * direction.y + right * direction.x)
relative_direction.x *= speed * delta
relative_direction.z *= speed * delta
#relative_direction.y = -speed
return [relative_direction, rotation]

View File

@@ -0,0 +1 @@
uid://cpe76cgad0r7d

View File

@@ -0,0 +1,5 @@
extends "res://Entities/Characters/Players/Kobolds/kobold.gd"
func _ready():
super()
self.mover.speed = 1.5

View File

@@ -0,0 +1 @@
uid://djb32mbaia5hv

View File

@@ -0,0 +1,34 @@
[gd_scene load_steps=5 format=3 uid="uid://dh8s2ahe8nmgn"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_2kj0s"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2kj0s"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_w1w5b"]
[sub_resource type="CylinderMesh" id="CylinderMesh_2iju7"]
[node name="CharacterBody3D" type="CharacterBody3D"]
script = ExtResource("1_2kj0s")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.410002, 0)
shape = SubResource("CapsuleShape3D_2kj0s")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.410002, 0)
mesh = SubResource("CapsuleMesh_w1w5b")
skeleton = NodePath("")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.592745, 1.23893)
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(0.101041, 0, 0, 0, -0.000156024, 0.110026, 0, -0.0278485, -0.000616427, 0.313608, 0.598366, 0)
mesh = SubResource("CylinderMesh_2iju7")
skeleton = NodePath("")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="."]
transform = Transform3D(0.101041, 0, 0, 0, -0.000156024, 0.110026, 0, -0.0278485, -0.000616427, -0.32095, 0.598366, 0)
mesh = SubResource("CylinderMesh_2iju7")
skeleton = NodePath("")

View File

@@ -0,0 +1,4 @@
extends "res://Entities/Characters/Players/player.gd"
func _ready():
self.mover = preload("res://Entities/Characters/Movers/Players/wasd.gd").new()

View File

@@ -0,0 +1 @@
uid://y7r1crnxumyx

View File

@@ -0,0 +1,4 @@
extends "res://Entities/Characters/character.gd"
func _input(event):
self.mover._input(event)

View File

@@ -0,0 +1 @@
uid://brx1bih43d41c

View File

@@ -0,0 +1,12 @@
extends PhysicsBody3D
var mover: Mover = preload("res://Entities/Characters/Movers/mover.gd").new()
func _physics_process(delta: float):
var duo = self.mover.to_move_rotate(self.global_transform, delta)
self._physics_process_with(duo[0], duo[1])
func _physics_process_with(vel, rot):
self.velocity = vel
self.rotate_object_local(Vector3.UP, rot)
self.move_and_collide(self.velocity)

View File

@@ -0,0 +1 @@
uid://uj4hyacvqtqa

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>

After

Width:  |  Height:  |  Size: 994 B

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ba6ev60elqa6r"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -0,0 +1,21 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="mvp-walk-with-collision"
run/main_scene="uid://sq04wsxbebev"
config/features=PackedStringArray("4.4", "GL Compatibility")
config/icon="res://icon.svg"
[rendering]
renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"

View File

@@ -0,0 +1,28 @@
[gd_scene load_steps=4 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="PackedScene" uid="uid://dh8s2ahe8nmgn" path="res://Entities/Characters/Players/Kobolds/Baby/baby.tscn" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="DirectionalLight3D2" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.609305, -0.410386, 0.678477, 0.791335, 0.369058, -0.487427, -0.0503645, 0.833894, 0.549621, 3.06633, 1.15689, 0.070383)
light_energy = 0.5
[node name="baby_tscn" parent="." instance=ExtResource("1_pq8q7")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0585822, 0.0336914, 0.24129)

View File

@@ -0,0 +1,48 @@
[gd_scene load_steps=7 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[sub_resource type="CylinderMesh" id="CylinderMesh_pq8q7"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)
[node name="MeshInstance3D2" type="MeshInstance3D" parent="baby"]
transform = Transform3D(0.262444, 0, 0, 0, -0.000405256, 0.285781, 0, -0.0723338, -0.00160111, 0.57384, 0.489256, 0)
mesh = SubResource("CylinderMesh_pq8q7")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="baby"]
transform = Transform3D(0.262444, 0, 0, 0, -0.000405256, 0.285781, 0, -0.0723338, -0.00160111, -0.585222, 0.489256, 0)
mesh = SubResource("CylinderMesh_pq8q7")

View File

@@ -0,0 +1,48 @@
[gd_scene load_steps=7 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[sub_resource type="CylinderMesh" id="CylinderMesh_pq8q7"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)
[node name="MeshInstance3D2" type="MeshInstance3D" parent="baby"]
transform = Transform3D(0.262444, 0, 0, 0, -0.000405256, 0.285781, 0, -0.0723338, -0.00160111, 0.57384, 0.489256, 0)
mesh = SubResource("CylinderMesh_pq8q7")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="baby"]
transform = Transform3D(0.262444, 0, 0, 0, -0.000405256, 0.285781, 0, -0.0723338, -0.00160111, -0.585222, 0.489256, 0)
mesh = SubResource("CylinderMesh_pq8q7")

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Player/Kobold/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Player/Kobold/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Player/Kobold/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=6 format=3 uid="uid://sq04wsxbebev"]
[ext_resource type="Script" uid="uid://djb32mbaia5hv" path="res://Entities/Characters/Players/Kobolds/Baby/baby.gd" id="1_pq8q7"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vho56"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vho56"]
size = Vector3(1, 0.0673828, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq8q7"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pyidc"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_vho56")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_vho56")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.502768, 0.414074, -0.758793, 0.228711, 0.910243, 0.345179, 0.833616, 0, -0.552345, -1.51365, 1.15689, -0.818533)
[node name="baby" type="CharacterBody3D" parent="."]
transform = Transform3D(0.385, 0, 0, 0, 0.385, 0, 0, 0, 0.385, 0, 0.336205, 0)
script = ExtResource("1_pq8q7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="baby"]
shape = SubResource("CapsuleShape3D_pq8q7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="baby"]
mesh = SubResource("CapsuleMesh_pyidc")
[node name="Camera3D" type="Camera3D" parent="baby"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.474657, 1.04625)

View File

@@ -0,0 +1,4 @@
root = true
[*]
charset = utf-8

View File

@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf

View File

@@ -0,0 +1,3 @@
# Godot 4+ specific ignores
.godot/
/android/

View File

@@ -0,0 +1,28 @@
class_name Character extends CharacterBody2D
@export var speed := 135.0
# Xf2RduncoNU
func _physics_process(_delta: float) -> void:
var new_direction = Vector2.ZERO
if Input.is_action_pressed("left"):
new_direction.x -= 1.0
if Input.is_action_pressed("right"):
new_direction.x += 1.0
if Input.is_action_pressed("up"):
new_direction.y -= 1.0
if Input.is_action_pressed("down"):
new_direction.y += 1.0
new_direction = new_direction.normalized()
velocity = new_direction * speed
# oyvTZWUjCy0
var moving := velocity != Vector2.ZERO
$AnimationTree["parameters/conditions/moving"] = moving
$AnimationTree["parameters/conditions/not_moving"] = !moving
if !moving:
return
$AnimationTree.set("parameters/walk/blend_position", new_direction)
$AnimationTree.set("parameters/idle/blend_position", new_direction)
move_and_slide()

View File

@@ -0,0 +1 @@
uid://csqcsepu2r0ts

View File

@@ -0,0 +1,136 @@
[gd_scene load_steps=18 format=3 uid="uid://dbhiwig4potyb"]
[ext_resource type="Script" uid="uid://csqcsepu2r0ts" path="res://Entities/Character/character.gd" id="1_a1h5o"]
[ext_resource type="Texture2D" uid="uid://dasxw18q3mppl" path="res://icon.svg" id="1_bmc7m"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bmc7m"]
size = Vector2(14.8999, 28.4489)
[sub_resource type="Animation" id="Animation_xasj2"]
length = 0.5
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Icon:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.01),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [5]
}
[sub_resource type="Animation" id="Animation_6vsl0"]
resource_name = "idle"
length = 0.333337
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Icon:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="Animation" id="Animation_a1h5o"]
resource_name = "new_animation"
length = 2.00005
loop_mode = 1
step = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Icon:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.01, 0.303333, 0.59, 0.86, 1.15, 1.44, 1.74),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [2, 1, 3, 4, 5, 6, 7]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_xasj2"]
_data = {
&"RESET": SubResource("Animation_xasj2"),
&"idle": SubResource("Animation_6vsl0"),
&"new_animation": SubResource("Animation_a1h5o")
}
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_a1h5o"]
animation = &"idle"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_xasj2"]
animation = &"new_animation"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_6vsl0"]
animation = &"new_animation"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_k05qf"]
animation = &"idle"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_4th1x"]
animation = &"idle"
[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_roimm"]
blend_point_0/node = SubResource("AnimationNodeAnimation_xasj2")
blend_point_0/pos = Vector2(-1, 0)
blend_point_1/node = SubResource("AnimationNodeAnimation_6vsl0")
blend_point_1/pos = Vector2(0, -0.9)
blend_point_2/node = SubResource("AnimationNodeAnimation_k05qf")
blend_point_2/pos = Vector2(0, 1)
blend_point_3/node = SubResource("AnimationNodeAnimation_4th1x")
blend_point_3/pos = Vector2(1, 0)
blend_mode = 1
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_a1h5o"]
advance_mode = 2
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_xasj2"]
advance_mode = 2
advance_condition = &"moving"
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_6vsl0"]
advance_mode = 2
advance_condition = &"not_moving"
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_roimm"]
states/idle/node = SubResource("AnimationNodeAnimation_a1h5o")
states/idle/position = Vector2(490, 105)
states/walk/node = SubResource("AnimationNodeBlendSpace2D_roimm")
states/walk/position = Vector2(490, 199)
transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition_a1h5o"), "idle", "walk", SubResource("AnimationNodeStateMachineTransition_xasj2"), "walk", "idle", SubResource("AnimationNodeStateMachineTransition_6vsl0")]
[node name="Node2D" type="CharacterBody2D"]
scale = Vector2(1.00672, 0.989311)
script = ExtResource("1_a1h5o")
[node name="Icon" type="Sprite2D" parent="."]
position = Vector2(0.566751, -15.3349)
texture = ExtResource("1_bmc7m")
hframes = 6
vframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0.496663, -14.0781)
scale = Vector2(0.999999, 1)
shape = SubResource("RectangleShape2D_bmc7m")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_xasj2")
}
[node name="AnimationTree" type="AnimationTree" parent="."]
tree_root = SubResource("AnimationNodeStateMachine_roimm")
anim_player = NodePath("../AnimationPlayer")
parameters/conditions/moving = false
parameters/conditions/not_moving = false
parameters/walk/blend_position = Vector2(-0.819838, -0.497758)

View File

@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://du7dcihv2m3ue"]
[ext_resource type="Texture2D" uid="uid://dasxw18q3mppl" path="res://icon.svg" id="1_sl5yh"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qnvor"]
size = Vector2(10, 129)
[node name="Wall" type="StaticBody2D"]
[node name="Icon" type="Sprite2D" parent="."]
position = Vector2(-1.90735e-06, -65)
scale = Vector2(0.078125, 1)
texture = ExtResource("1_sl5yh")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -64.5)
shape = SubResource("RectangleShape2D_qnvor")

View File

@@ -0,0 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://bodk3sbrdedn2"]
[ext_resource type="PackedScene" uid="uid://dbhiwig4potyb" path="res://Entities/Character/character.tscn" id="1_uof5o"]
[ext_resource type="PackedScene" uid="uid://du7dcihv2m3ue" path="res://Entities/Objects/wall.tscn" id="2_6xle2"]
[node name="Playground" type="Node2D"]
[node name="character" parent="." instance=ExtResource("1_uof5o")]
[node name="wall" parent="." instance=ExtResource("2_6xle2")]
position = Vector2(245, 108)
scale = Vector2(3.35596, 3.35596)
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(0, -125)

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>

After

Width:  |  Height:  |  Size: 994 B

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dasxw18q3mppl"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -0,0 +1,44 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="tutorial-oyvTZWUjCy0"
run/main_scene="uid://bodk3sbrdedn2"
config/features=PackedStringArray("4.4", "GL Compatibility")
config/icon="res://icon.svg"
[input]
up={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
]
}
left={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
]
}
down={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
]
}
right={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
]
}
[rendering]
renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"