This commit is contained in:
Egg Man 2024-09-04 13:34:11 -04:00
commit 116d900cb8
4 changed files with 236 additions and 1 deletions

View File

@ -0,0 +1,190 @@
[gd_scene load_steps=45 format=3 uid="uid://cny5b638kjd3w"]
[ext_resource type="Texture2D" uid="uid://3ysrchetuhic" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_01.png" id="1_ify6l"]
[ext_resource type="Script" path="res://Assets/Characters/Friendly/Tellik/tellick.gd" id="1_q21sg"]
[ext_resource type="Texture2D" uid="uid://dfrghc5ant65t" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_02.png" id="2_6e1ho"]
[ext_resource type="Texture2D" uid="uid://c0x0km4vyitk0" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_03.png" id="3_yl3ph"]
[ext_resource type="Texture2D" uid="uid://d1a6c3w1irdm4" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_04.png" id="4_hjn41"]
[ext_resource type="Texture2D" uid="uid://bl3utcdknudg2" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_05.png" id="5_xw8e0"]
[ext_resource type="Texture2D" uid="uid://d2owfdm0wo5mb" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_06.png" id="6_20qgd"]
[ext_resource type="Texture2D" uid="uid://tfmr8en1xkkj" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_07.png" id="7_3nevn"]
[ext_resource type="Texture2D" uid="uid://badpvb4hewfu5" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_08.png" id="8_sdt08"]
[ext_resource type="Texture2D" uid="uid://ddjiuxf8e3dpr" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_09.png" id="9_fetfh"]
[ext_resource type="Texture2D" uid="uid://bexdi5oos1gl5" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_10.png" id="10_1mxwi"]
[ext_resource type="Texture2D" uid="uid://dsxp6c3f1531f" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_11.png" id="11_ib581"]
[ext_resource type="Texture2D" uid="uid://b0hu1dof2mdpt" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_12.png" id="12_rgrhb"]
[ext_resource type="Texture2D" uid="uid://betsvmkgxug1g" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_13.png" id="13_2p5d3"]
[ext_resource type="Texture2D" uid="uid://c6qdtqnmo1axb" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_14.png" id="14_xgyc6"]
[ext_resource type="Texture2D" uid="uid://bmvmm6l3i6t0a" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_15.png" id="15_32hf8"]
[ext_resource type="Texture2D" uid="uid://46ter85xlngk" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_16.png" id="16_f56td"]
[ext_resource type="Texture2D" uid="uid://bthxx4ep847jk" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_17.png" id="17_ctbgy"]
[ext_resource type="Texture2D" uid="uid://bvmdgeebunnna" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_18.png" id="18_7jr3b"]
[ext_resource type="Texture2D" uid="uid://dogueysx71g4p" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_19.png" id="19_7p4k2"]
[ext_resource type="Texture2D" uid="uid://dw2wd3pqf0ibk" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_20.png" id="20_s7rgo"]
[ext_resource type="Texture2D" uid="uid://bo6rji24owmnx" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_21.png" id="21_bjwun"]
[ext_resource type="Texture2D" uid="uid://byqjvskvt7te7" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_22.png" id="22_l8j1p"]
[ext_resource type="Texture2D" uid="uid://bdpjx6y1f4jik" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_23.png" id="23_7t352"]
[ext_resource type="Texture2D" uid="uid://cumqtgxpnwnfl" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_24.png" id="24_t0r2h"]
[ext_resource type="Texture2D" uid="uid://gtcih3or6r1u" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_25.png" id="25_5opqh"]
[ext_resource type="Texture2D" uid="uid://bn1r5v6wed7pv" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_26.png" id="26_nqih6"]
[ext_resource type="Texture2D" uid="uid://yy2ygwib4iw0" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_27.png" id="27_x52or"]
[ext_resource type="Texture2D" uid="uid://cqvqcoyypsut0" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_28.png" id="28_874mv"]
[ext_resource type="Texture2D" uid="uid://mkva7tqdxxmo" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_29.png" id="29_tyivn"]
[ext_resource type="Texture2D" uid="uid://bb46rcabj6xid" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_30.png" id="30_tgiux"]
[ext_resource type="Texture2D" uid="uid://cfjshiumy1sv0" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_31.png" id="31_kwchq"]
[ext_resource type="Texture2D" uid="uid://1d1t8ccmyxgv" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_32.png" id="32_ttkv4"]
[ext_resource type="Texture2D" uid="uid://d22rdic52ct4n" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_33.png" id="33_urb15"]
[ext_resource type="Texture2D" uid="uid://bwkhjk6jtv1vn" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_34.png" id="34_gipq8"]
[ext_resource type="Texture2D" uid="uid://druphx81xhs81" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_35.png" id="35_4dufe"]
[ext_resource type="Texture2D" uid="uid://c760mgbtrbdqb" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_36.png" id="36_8quca"]
[ext_resource type="Texture2D" uid="uid://did4y2o2f6myi" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_37.png" id="37_522cg"]
[ext_resource type="Texture2D" uid="uid://bjsqr60uvxdcl" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_38.png" id="38_24opt"]
[ext_resource type="Texture2D" uid="uid://cjj10ihxr8r54" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_39.png" id="39_4u1yg"]
[ext_resource type="Texture2D" uid="uid://bpijphvgqltr3" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_40.png" id="40_6v3id"]
[ext_resource type="Texture2D" uid="uid://dqgklrjt18cts" path="res://Assets/Characters/Friendly/Tellik/Idle/Telick_standing_41.png" id="41_78oau"]
[sub_resource type="SpriteFrames" id="SpriteFrames_jl8dy"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_ify6l")
}, {
"duration": 1.0,
"texture": ExtResource("2_6e1ho")
}, {
"duration": 1.0,
"texture": ExtResource("3_yl3ph")
}, {
"duration": 1.0,
"texture": ExtResource("4_hjn41")
}, {
"duration": 1.0,
"texture": ExtResource("5_xw8e0")
}, {
"duration": 1.0,
"texture": ExtResource("6_20qgd")
}, {
"duration": 1.0,
"texture": ExtResource("7_3nevn")
}, {
"duration": 1.0,
"texture": ExtResource("8_sdt08")
}, {
"duration": 1.0,
"texture": ExtResource("9_fetfh")
}, {
"duration": 1.0,
"texture": ExtResource("10_1mxwi")
}, {
"duration": 1.0,
"texture": ExtResource("11_ib581")
}, {
"duration": 1.0,
"texture": ExtResource("12_rgrhb")
}, {
"duration": 1.0,
"texture": ExtResource("13_2p5d3")
}, {
"duration": 1.0,
"texture": ExtResource("14_xgyc6")
}, {
"duration": 1.0,
"texture": ExtResource("15_32hf8")
}, {
"duration": 1.0,
"texture": ExtResource("16_f56td")
}, {
"duration": 1.0,
"texture": ExtResource("17_ctbgy")
}, {
"duration": 1.0,
"texture": ExtResource("18_7jr3b")
}, {
"duration": 1.0,
"texture": ExtResource("19_7p4k2")
}, {
"duration": 1.0,
"texture": ExtResource("20_s7rgo")
}, {
"duration": 1.0,
"texture": ExtResource("21_bjwun")
}, {
"duration": 1.0,
"texture": ExtResource("22_l8j1p")
}, {
"duration": 1.0,
"texture": ExtResource("23_7t352")
}, {
"duration": 1.0,
"texture": ExtResource("24_t0r2h")
}, {
"duration": 1.0,
"texture": ExtResource("25_5opqh")
}, {
"duration": 1.0,
"texture": ExtResource("26_nqih6")
}, {
"duration": 1.0,
"texture": ExtResource("27_x52or")
}, {
"duration": 1.0,
"texture": ExtResource("28_874mv")
}, {
"duration": 1.0,
"texture": ExtResource("29_tyivn")
}, {
"duration": 1.0,
"texture": ExtResource("30_tgiux")
}, {
"duration": 1.0,
"texture": ExtResource("31_kwchq")
}, {
"duration": 1.0,
"texture": ExtResource("32_ttkv4")
}, {
"duration": 1.0,
"texture": ExtResource("33_urb15")
}, {
"duration": 1.0,
"texture": ExtResource("34_gipq8")
}, {
"duration": 1.0,
"texture": ExtResource("35_4dufe")
}, {
"duration": 1.0,
"texture": ExtResource("36_8quca")
}, {
"duration": 1.0,
"texture": ExtResource("37_522cg")
}, {
"duration": 1.0,
"texture": ExtResource("38_24opt")
}, {
"duration": 1.0,
"texture": ExtResource("39_4u1yg")
}, {
"duration": 1.0,
"texture": ExtResource("40_6v3id")
}, {
"duration": 1.0,
"texture": ExtResource("41_78oau")
}],
"loop": true,
"name": &"default",
"speed": 24.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_aoset"]
radius = 21.0
height = 182.0
[node name="Tellick" type="CharacterBody2D"]
script = ExtResource("1_q21sg")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, 2)
scale = Vector2(0.2, 0.2)
sprite_frames = SubResource("SpriteFrames_jl8dy")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_aoset")

View File

@ -0,0 +1,25 @@
extends CharacterBody2D
const SPEED = 300.0
const JUMP_VELOCITY = -400.0
func _physics_process(delta: float) -> void:
# Add the gravity.
if not is_on_floor():
velocity += get_gravity() * delta
# Handle jump.
if Input.is_action_just_pressed("ui_accept") and is_on_floor():
velocity.y = JUMP_VELOCITY
# Get the input direction and handle the movement/deceleration.
# As good practice, you should replace UI actions with custom gameplay actions.
var direction := Input.get_axis("ui_left", "ui_right")
if direction:
velocity.x = direction * SPEED
else:
velocity.x = move_toward(velocity.x, 0, SPEED)
move_and_slide()

View File

@ -11,5 +11,9 @@ config_version=5
[application]
config/name="lakewood"
<<<<<<< HEAD
=======
run/main_scene="res://world.tscn"
>>>>>>> f25b89aa52bc76423cd04483e3b0644fe3df1dc6
config/features=PackedStringArray("4.3", "Forward Plus")
config/icon="res://icon.svg"

View File

@ -1,3 +1,19 @@
[gd_scene format=3 uid="uid://b0jkivtwisycv"]
[gd_scene load_steps=3 format=3 uid="uid://b0jkivtwisycv"]
[ext_resource type="PackedScene" uid="uid://cny5b638kjd3w" path="res://Assets/Characters/Friendly/Tellik/Tellick.tscn" id="1_dgu6h"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_5e4u7"]
[node name="World" type="Node2D"]
physics_interpolation_mode = 1
[node name="Tellick" parent="." instance=ExtResource("1_dgu6h")]
position = Vector2(-7, -130)
[node name="Camera2D" type="Camera2D" parent="."]
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(1, 140)
shape = SubResource("WorldBoundaryShape2D_5e4u7")