This commit is contained in:
Booklordofthedings 2024-08-17 00:32:52 +02:00
parent c074d5b826
commit 1e3b3df3cf
11 changed files with 94 additions and 96 deletions

View file

@ -0,0 +1,21 @@
[gd_scene load_steps=3 format=3 uid="uid://dii1q3f5dj72y"]
[ext_resource type="Shader" path="res://shaders/crt.gdshader" id="1_wsc8u"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_c8ly2"]
shader = ExtResource("1_wsc8u")
shader_parameter/crt_curve = 0.01
shader_parameter/crt_scan_line_color = 0.178
shader_parameter/aperture_grille_rate = 0.141
shader_parameter/rf_switch_esque_blur = 1.0
shader_parameter/white_noise_rate = 0.0
[node name="CanvasLayer" type="CanvasLayer"]
[node name="ColorRect" type="ColorRect" parent="."]
material = SubResource("ShaderMaterial_c8ly2")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

View file

@ -0,0 +1,19 @@
[gd_scene load_steps=4 format=3 uid="uid://snxpqx0ony7s"]
[ext_resource type="Script" path="res://scripts/player_movement.gd" id="1_a6lhy"]
[ext_resource type="Texture2D" uid="uid://qcx482jc7pqr" path="res://textures/player.png" id="2_sscjv"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jqi2f"]
radius = 9.0
height = 22.0
[node name="Player" type="CharacterBody2D"]
script = ExtResource("1_a6lhy")
jump_count = 1
jump_strength = 600
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_jqi2f")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_sscjv")