diff --git a/tutorial---basic-player-traits/assets/Eyeball Center.png b/tutorial---basic-player-traits/assets/Eyeball Center.png new file mode 100644 index 0000000..df96e00 Binary files /dev/null and b/tutorial---basic-player-traits/assets/Eyeball Center.png differ diff --git a/tutorial---basic-player-traits/assets/Eyeball Center.png.import b/tutorial---basic-player-traits/assets/Eyeball Center.png.import new file mode 100644 index 0000000..13d7bb4 --- /dev/null +++ b/tutorial---basic-player-traits/assets/Eyeball Center.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ba16is2pmwcyq" +path="res://.godot/imported/Eyeball Center.png-44fd0bc4d7fd030f0a8ce05d22fe7de9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Eyeball Center.png" +dest_files=["res://.godot/imported/Eyeball Center.png-44fd0bc4d7fd030f0a8ce05d22fe7de9.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 diff --git a/tutorial---basic-player-traits/assets/Eyeball tentacles 1.png b/tutorial---basic-player-traits/assets/Eyeball tentacles 1.png new file mode 100644 index 0000000..c8fb382 Binary files /dev/null and b/tutorial---basic-player-traits/assets/Eyeball tentacles 1.png differ diff --git a/tutorial---basic-player-traits/assets/Eyeball tentacles 1.png.import b/tutorial---basic-player-traits/assets/Eyeball tentacles 1.png.import new file mode 100644 index 0000000..de995ad --- /dev/null +++ b/tutorial---basic-player-traits/assets/Eyeball tentacles 1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bgfs8dp7hxre5" +path="res://.godot/imported/Eyeball tentacles 1.png-9fa0098f61a4ef1bbc324223601beb94.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Eyeball tentacles 1.png" +dest_files=["res://.godot/imported/Eyeball tentacles 1.png-9fa0098f61a4ef1bbc324223601beb94.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 diff --git a/tutorial---basic-player-traits/assets/Eyeball tentacles 2.png b/tutorial---basic-player-traits/assets/Eyeball tentacles 2.png new file mode 100644 index 0000000..08e4753 Binary files /dev/null and b/tutorial---basic-player-traits/assets/Eyeball tentacles 2.png differ diff --git a/tutorial---basic-player-traits/assets/Eyeball tentacles 2.png.import b/tutorial---basic-player-traits/assets/Eyeball tentacles 2.png.import new file mode 100644 index 0000000..f578920 --- /dev/null +++ b/tutorial---basic-player-traits/assets/Eyeball tentacles 2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://t7rfy3nkknuu" +path="res://.godot/imported/Eyeball tentacles 2.png-b92df62cff6c7417125a65ae09b6e6e4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Eyeball tentacles 2.png" +dest_files=["res://.godot/imported/Eyeball tentacles 2.png-b92df62cff6c7417125a65ae09b6e6e4.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 diff --git a/tutorial---basic-player-traits/assets/Eyeball tentacles 3.png b/tutorial---basic-player-traits/assets/Eyeball tentacles 3.png new file mode 100644 index 0000000..a3405df Binary files /dev/null and b/tutorial---basic-player-traits/assets/Eyeball tentacles 3.png differ diff --git a/tutorial---basic-player-traits/assets/Eyeball tentacles 3.png.import b/tutorial---basic-player-traits/assets/Eyeball tentacles 3.png.import new file mode 100644 index 0000000..6fb3010 --- /dev/null +++ b/tutorial---basic-player-traits/assets/Eyeball tentacles 3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbh0076ummars" +path="res://.godot/imported/Eyeball tentacles 3.png-e42ba5a95b86fc317575cc6896ffeb8d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Eyeball tentacles 3.png" +dest_files=["res://.godot/imported/Eyeball tentacles 3.png-e42ba5a95b86fc317575cc6896ffeb8d.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 diff --git a/tutorial---basic-player-traits/assets/eyeball enemy.png b/tutorial---basic-player-traits/assets/eyeball enemy.png new file mode 100644 index 0000000..487f4f5 Binary files /dev/null and b/tutorial---basic-player-traits/assets/eyeball enemy.png differ diff --git a/tutorial---basic-player-traits/assets/eyeball enemy.png.import b/tutorial---basic-player-traits/assets/eyeball enemy.png.import new file mode 100644 index 0000000..81c0320 --- /dev/null +++ b/tutorial---basic-player-traits/assets/eyeball enemy.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bafnrn6op1sks" +path="res://.godot/imported/eyeball enemy.png-88b5760b9447cc821b80f144639db4f4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/eyeball enemy.png" +dest_files=["res://.godot/imported/eyeball enemy.png-88b5760b9447cc821b80f144639db4f4.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 diff --git a/tutorial---basic-player-traits/eyeball.gd b/tutorial---basic-player-traits/eyeball.gd new file mode 100644 index 0000000..2d5498e --- /dev/null +++ b/tutorial---basic-player-traits/eyeball.gd @@ -0,0 +1,11 @@ +extends Area2D + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + pass diff --git a/tutorial---basic-player-traits/eyeball.tscn b/tutorial---basic-player-traits/eyeball.tscn new file mode 100644 index 0000000..b94963b --- /dev/null +++ b/tutorial---basic-player-traits/eyeball.tscn @@ -0,0 +1,49 @@ +[gd_scene load_steps=9 format=3 uid="uid://b1iu27y3u2hkh"] + +[ext_resource type="Script" path="res://eyeball.gd" id="1_nw4j4"] +[ext_resource type="Texture2D" uid="uid://bafnrn6op1sks" path="res://assets/eyeball enemy.png" id="2_aq74w"] +[ext_resource type="Texture2D" uid="uid://bgfs8dp7hxre5" path="res://assets/Eyeball tentacles 1.png" id="3_pcrml"] +[ext_resource type="Texture2D" uid="uid://t7rfy3nkknuu" path="res://assets/Eyeball tentacles 2.png" id="4_1qlwt"] +[ext_resource type="Texture2D" uid="uid://bbh0076ummars" path="res://assets/Eyeball tentacles 3.png" id="5_o0i1g"] +[ext_resource type="Texture2D" uid="uid://ba16is2pmwcyq" path="res://assets/Eyeball Center.png" id="6_og1wa"] + +[sub_resource type="SpriteFrames" id="SpriteFrames_1buim"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("3_pcrml") +}, { +"duration": 1.0, +"texture": ExtResource("4_1qlwt") +}, { +"duration": 1.0, +"texture": ExtResource("5_o0i1g") +}, { +"duration": 1.0, +"texture": ExtResource("4_1qlwt") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + +[sub_resource type="CircleShape2D" id="CircleShape2D_cgpfj"] +radius = 40.0 + +[node name="Eyeball" type="Area2D"] +script = ExtResource("1_nw4j4") + +[node name="Eyeball" type="Sprite2D" parent="."] +texture = ExtResource("2_aq74w") + +[node name="Tails" type="AnimatedSprite2D" parent="."] +z_index = -1 +scale = Vector2(1.25, 1.25) +sprite_frames = SubResource("SpriteFrames_1buim") +offset = Vector2(0, 45) + +[node name="Iris" type="Sprite2D" parent="."] +texture = ExtResource("6_og1wa") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CircleShape2D_cgpfj")