PROGRESS
parent
8c2c33644e
commit
38bfae2aaa
|
@ -3,3 +3,9 @@
|
||||||
|
|
||||||
# old files
|
# old files
|
||||||
*.old*
|
*.old*
|
||||||
|
|
||||||
|
# build
|
||||||
|
Build/
|
||||||
|
|
||||||
|
# cache
|
||||||
|
.cache/
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://coarr28adgo1u"
|
||||||
|
path="res://.godot/imported/point-light.png-2a3976318d4aaede46957261acffe3d9.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Sprites/Particles/point-light.png"
|
||||||
|
dest_files=["res://.godot/imported/point-light.png-2a3976318d4aaede46957261acffe3d9.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
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
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 468 B |
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://yqet0b22i70d"
|
||||||
|
path="res://.godot/imported/campfire.png-15ae3109f3a9a9b4ebf5bffb3876d86b.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Sprites/campfire.png"
|
||||||
|
dest_files=["res://.godot/imported/campfire.png-15ae3109f3a9a9b4ebf5bffb3876d86b.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
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
|
|
@ -101,9 +101,9 @@ _data = {
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="ExampleEnemy" type="CharacterBody2D" node_paths=PackedStringArray("Sprite", "Inventory", "StateMachine")]
|
[node name="ExampleEnemy" type="CharacterBody2D" node_paths=PackedStringArray("Sprite", "Inventory", "StateMachine")]
|
||||||
|
y_sort_enabled = true
|
||||||
texture_filter = 3
|
texture_filter = 3
|
||||||
material = SubResource("ShaderMaterial_ms3xg")
|
material = SubResource("ShaderMaterial_ms3xg")
|
||||||
y_sort_enabled = true
|
|
||||||
collision_layer = 10
|
collision_layer = 10
|
||||||
script = ExtResource("1_2yopk")
|
script = ExtResource("1_2yopk")
|
||||||
Health = 50.0
|
Health = 50.0
|
||||||
|
|
|
@ -57,6 +57,7 @@ namespace SupaLidlGame.Characters
|
||||||
|
|
||||||
public override void Die()
|
public override void Die()
|
||||||
{
|
{
|
||||||
|
GD.Print("died");
|
||||||
//base.Die();
|
//base.Die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,21 +106,22 @@ _data = {
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="Player" type="CharacterBody2D" node_paths=PackedStringArray("Camera", "Sprite", "Inventory", "StateMachine")]
|
[node name="Player" type="CharacterBody2D" node_paths=PackedStringArray("Camera", "Sprite", "Inventory", "StateMachine")]
|
||||||
|
y_sort_enabled = true
|
||||||
texture_filter = 3
|
texture_filter = 3
|
||||||
material = SubResource("ShaderMaterial_h78y7")
|
material = SubResource("ShaderMaterial_h78y7")
|
||||||
y_sort_enabled = true
|
position = Vector2(0, -12)
|
||||||
collision_layer = 6
|
collision_layer = 6
|
||||||
script = ExtResource("1_flygr")
|
script = ExtResource("1_flygr")
|
||||||
Camera = NodePath("Camera2D")
|
Camera = NodePath("Camera2D")
|
||||||
Speed = 64.0
|
Speed = 64.0
|
||||||
Mass = 1.0
|
|
||||||
Health = 100.0
|
|
||||||
Sprite = NodePath("Sprite")
|
Sprite = NodePath("Sprite")
|
||||||
Inventory = NodePath("Inventory")
|
Inventory = NodePath("Inventory")
|
||||||
StateMachine = NodePath("StateMachine")
|
StateMachine = NodePath("StateMachine")
|
||||||
Faction = 1
|
Faction = 1
|
||||||
|
|
||||||
[node name="Camera2D" parent="." instance=ExtResource("4_ym125")]
|
[node name="Camera2D" parent="." instance=ExtResource("4_ym125")]
|
||||||
|
position_smoothing_enabled = true
|
||||||
|
position_smoothing_speed = 8.0
|
||||||
|
|
||||||
[node name="Sprite" type="AnimatedSprite2D" parent="."]
|
[node name="Sprite" type="AnimatedSprite2D" parent="."]
|
||||||
use_parent_material = true
|
use_parent_material = true
|
||||||
|
@ -168,8 +169,8 @@ horizontal_alignment = 1
|
||||||
[node name="Node" type="Node" parent="."]
|
[node name="Node" type="Node" parent="."]
|
||||||
|
|
||||||
[node name="Inventory" type="Node2D" parent="."]
|
[node name="Inventory" type="Node2D" parent="."]
|
||||||
position = Vector2(0, 2)
|
|
||||||
y_sort_enabled = true
|
y_sort_enabled = true
|
||||||
|
position = Vector2(0, 2)
|
||||||
script = ExtResource("7_xyenu")
|
script = ExtResource("7_xyenu")
|
||||||
|
|
||||||
[node name="Sword" parent="Inventory" instance=ExtResource("7_4rxuv")]
|
[node name="Sword" parent="Inventory" instance=ExtResource("7_4rxuv")]
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace SupaLidlGame.Entities
|
||||||
|
{
|
||||||
|
public partial class Campfire : StaticBody2D
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,62 @@
|
||||||
|
[gd_scene load_steps=11 format=3 uid="uid://dhl071rj5wyvx"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://yqet0b22i70d" path="res://Assets/Sprites/campfire.png" id="1_7eor7"]
|
||||||
|
[ext_resource type="Script" path="res://Entities/Campfire.cs" id="1_w4gfp"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://coarr28adgo1u" path="res://Assets/Sprites/Particles/point-light.png" id="3_lm3vq"]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_68qj1"]
|
||||||
|
atlas = ExtResource("1_7eor7")
|
||||||
|
region = Rect2(0, 0, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rt0be"]
|
||||||
|
atlas = ExtResource("1_7eor7")
|
||||||
|
region = Rect2(16, 0, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0embb"]
|
||||||
|
atlas = ExtResource("1_7eor7")
|
||||||
|
region = Rect2(32, 0, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_victi"]
|
||||||
|
atlas = ExtResource("1_7eor7")
|
||||||
|
region = Rect2(48, 0, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jg745"]
|
||||||
|
atlas = ExtResource("1_7eor7")
|
||||||
|
region = Rect2(64, 0, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_o6lfi"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [SubResource("AtlasTexture_68qj1"), SubResource("AtlasTexture_rt0be"), SubResource("AtlasTexture_0embb"), SubResource("AtlasTexture_victi")],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"active",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [SubResource("AtlasTexture_jg745")],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"default",
|
||||||
|
"speed": 8.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ubam4"]
|
||||||
|
size = Vector2(16, 4)
|
||||||
|
|
||||||
|
[node name="Campfire" type="StaticBody2D"]
|
||||||
|
texture_filter = 3
|
||||||
|
position = Vector2(0, -8)
|
||||||
|
script = ExtResource("1_w4gfp")
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
|
frames = SubResource("SpriteFrames_o6lfi")
|
||||||
|
animation = &"active"
|
||||||
|
playing = true
|
||||||
|
|
||||||
|
[node name="PointLight2D" type="PointLight2D" parent="."]
|
||||||
|
color = Color(0.976471, 0.564706, 0.168627, 1)
|
||||||
|
energy = 2.0
|
||||||
|
blend_mode = 2
|
||||||
|
texture = ExtResource("3_lm3vq")
|
||||||
|
texture_scale = 0.25
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2(0, 6)
|
||||||
|
shape = SubResource("RectangleShape2D_ubam4")
|
|
@ -296,25 +296,26 @@ _data = {
|
||||||
points = PackedVector2Array(-11.314, -11.314, 0, -16, 11.314, -11.314, 16, 0, 11.314, 11.314, 0, 16, -11.314, 11.314, 0, 0)
|
points = PackedVector2Array(-11.314, -11.314, 0, -16, 11.314, -11.314, 16, 0, 11.314, 11.314, 0, 16, -11.314, 11.314, 0, 0)
|
||||||
|
|
||||||
[node name="Sword" type="Node2D" node_paths=PackedStringArray("Hitbox", "AnimationPlayer", "ParryParticles")]
|
[node name="Sword" type="Node2D" node_paths=PackedStringArray("Hitbox", "AnimationPlayer", "ParryParticles")]
|
||||||
|
y_sort_enabled = true
|
||||||
texture_filter = 3
|
texture_filter = 3
|
||||||
position = Vector2(2, 0)
|
position = Vector2(2, 0)
|
||||||
y_sort_enabled = true
|
|
||||||
script = ExtResource("1_mlo73")
|
script = ExtResource("1_mlo73")
|
||||||
Hitbox = NodePath("Hitbox")
|
Hitbox = NodePath("Hitbox")
|
||||||
AnimationPlayer = NodePath("AnimationPlayer")
|
AnimationPlayer = NodePath("AnimationPlayer")
|
||||||
AttackTime = 0.1
|
AttackTime = 0.1
|
||||||
ParryParticles = NodePath("Anchor/Sprite2D/ParryParticles")
|
ParryParticles = NodePath("Anchor/Sprite2D/ParryParticles")
|
||||||
|
Damage = 20.0
|
||||||
UseTime = 0.8
|
UseTime = 0.8
|
||||||
Knockback = 80.0
|
Knockback = 80.0
|
||||||
Description = "A basic sword."
|
Description = "A basic sword."
|
||||||
|
|
||||||
[node name="Anchor" type="Node2D" parent="."]
|
[node name="Anchor" type="Node2D" parent="."]
|
||||||
rotation = -0.610865
|
|
||||||
y_sort_enabled = true
|
y_sort_enabled = true
|
||||||
|
rotation = -0.610865
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="Anchor"]
|
[node name="Sprite2D" type="Sprite2D" parent="Anchor"]
|
||||||
position = Vector2(0, -10)
|
|
||||||
y_sort_enabled = true
|
y_sort_enabled = true
|
||||||
|
position = Vector2(0, -10)
|
||||||
texture = ExtResource("2_rnfo4")
|
texture = ExtResource("2_rnfo4")
|
||||||
|
|
||||||
[node name="ParryParticles" type="CPUParticles2D" parent="Anchor/Sprite2D"]
|
[node name="ParryParticles" type="CPUParticles2D" parent="Anchor/Sprite2D"]
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
<Project Sdk="Godot.NET.Sdk/4.0.0-beta.6">
|
<Project Sdk="Godot.NET.Sdk/4.0.0-beta.7">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#+TITLE: SupaLidlGame To-do List
|
||||||
|
|
||||||
|
* List of what to add
|
||||||
|
|
||||||
|
** STARTED Campfires
|
||||||
|
DEADLINE: <2022-12-03 Sat>
|
||||||
|
|
||||||
|
** TODO Enemy Spawning
|
||||||
|
|
||||||
|
** TODO Handle Character Death
|
||||||
|
DEADLINE: <2022-12-04 Sun>
|
Loading…
Reference in New Issue