initial commit
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Normalize EOL for all files that Git considers text files.
|
||||||
|
* text=auto eol=lf
|
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Godot 4+ specific ignores
|
||||||
|
.godot/
|
||||||
|
/android/
|
41
export_presets.cfg
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
[preset.0]
|
||||||
|
|
||||||
|
name="Web"
|
||||||
|
platform="Web"
|
||||||
|
runnable=true
|
||||||
|
advanced_options=false
|
||||||
|
dedicated_server=false
|
||||||
|
custom_features=""
|
||||||
|
export_filter="all_resources"
|
||||||
|
include_filter=""
|
||||||
|
exclude_filter=""
|
||||||
|
export_path="../../Games/spacegame/index.html"
|
||||||
|
encryption_include_filters=""
|
||||||
|
encryption_exclude_filters=""
|
||||||
|
encrypt_pck=false
|
||||||
|
encrypt_directory=false
|
||||||
|
script_export_mode=2
|
||||||
|
|
||||||
|
[preset.0.options]
|
||||||
|
|
||||||
|
custom_template/debug=""
|
||||||
|
custom_template/release=""
|
||||||
|
variant/extensions_support=false
|
||||||
|
variant/thread_support=false
|
||||||
|
vram_texture_compression/for_desktop=true
|
||||||
|
vram_texture_compression/for_mobile=false
|
||||||
|
html/export_icon=true
|
||||||
|
html/custom_html_shell=""
|
||||||
|
html/head_include=""
|
||||||
|
html/canvas_resize_policy=2
|
||||||
|
html/focus_canvas_on_start=true
|
||||||
|
html/experimental_virtual_keyboard=false
|
||||||
|
progressive_web_app/enabled=false
|
||||||
|
progressive_web_app/ensure_cross_origin_isolation_headers=true
|
||||||
|
progressive_web_app/offline_page=""
|
||||||
|
progressive_web_app/display=1
|
||||||
|
progressive_web_app/orientation=0
|
||||||
|
progressive_web_app/icon_144x144=""
|
||||||
|
progressive_web_app/icon_180x180=""
|
||||||
|
progressive_web_app/icon_512x512=""
|
||||||
|
progressive_web_app/background_color=Color(0, 0, 0, 1)
|
1
icon.svg
Normal 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 |
37
icon.svg.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://btjgadff5k55h"
|
||||||
|
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=0.125
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
67
main.tscn
Normal file
BIN
palette.png
Normal file
After Width: | Height: | Size: 229 B |
34
palette.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b7fdu10qbwug3"
|
||||||
|
path="res://.godot/imported/palette.png-d856c922a66047950b8cb0cc7a9eeeb7.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://palette.png"
|
||||||
|
dest_files=["res://.godot/imported/palette.png-d856c922a66047950b8cb0cc7a9eeeb7.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
|
BIN
player/fire.png
Normal file
After Width: | Height: | Size: 213 B |
34
player/fire.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bfsqm78hmybs5"
|
||||||
|
path="res://.godot/imported/fire.png-a4c585a765d3c5c986dbd91409ca2058.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://player/fire.png"
|
||||||
|
dest_files=["res://.godot/imported/fire.png-a4c585a765d3c5c986dbd91409ca2058.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
|
16
player/player.gd
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
extends RigidBody2D
|
||||||
|
class_name Player
|
||||||
|
|
||||||
|
@export var thruster_strength := 40.0
|
||||||
|
@export var rotation_strnegth := 500.0
|
||||||
|
|
||||||
|
func _physics_process(delta: float) -> void:
|
||||||
|
var input := Vector2(Input.get_action_strength("left") - Input.get_action_strength("right"), Input.get_action_strength("front") - Input.get_action_strength("back"))
|
||||||
|
|
||||||
|
apply_central_impulse(Vector2.DOWN.rotated(rotation) * thruster_strength * delta * input.y)
|
||||||
|
apply_torque_impulse(input.x * rotation_strnegth * delta)
|
||||||
|
|
||||||
|
if input.y < 0:
|
||||||
|
%thruster.active = true
|
||||||
|
else:
|
||||||
|
%thruster.active = false
|
63
player/player.tscn
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
[gd_scene load_steps=10 format=3 uid="uid://b3xadpl4pu33u"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://player/player.gd" id="1_kkw55"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dlenptyfk1iwn" path="res://player/ship.png" id="2_1h4u8"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://y08tu4ftj3t4" path="res://player/thruster.tscn" id="3_r6c8y"]
|
||||||
|
|
||||||
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_6481p"]
|
||||||
|
friction = 0.0
|
||||||
|
|
||||||
|
[sub_resource type="Curve" id="Curve_f2yms"]
|
||||||
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.217391, 1), 0.0, 0.0, 0, 0, Vector2(0.804348, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
|
point_count = 4
|
||||||
|
|
||||||
|
[sub_resource type="CurveTexture" id="CurveTexture_q5aon"]
|
||||||
|
curve = SubResource("Curve_f2yms")
|
||||||
|
|
||||||
|
[sub_resource type="Curve" id="Curve_kdc30"]
|
||||||
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.195652, 1), 0.0, 0.0, 0, 0, Vector2(0.820158, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
|
point_count = 4
|
||||||
|
|
||||||
|
[sub_resource type="CurveTexture" id="CurveTexture_w2mcu"]
|
||||||
|
curve = SubResource("Curve_kdc30")
|
||||||
|
|
||||||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_k0vl1"]
|
||||||
|
particle_flag_disable_z = true
|
||||||
|
emission_shape = 3
|
||||||
|
emission_box_extents = Vector3(200, 200, 1)
|
||||||
|
angle_min = -720.0
|
||||||
|
angle_max = 720.0
|
||||||
|
spread = 180.0
|
||||||
|
initial_velocity_max = 1.0
|
||||||
|
angular_velocity_min = -10.0
|
||||||
|
angular_velocity_max = 9.99998
|
||||||
|
gravity = Vector3(0, 0, 0)
|
||||||
|
scale_max = 2.0
|
||||||
|
scale_curve = SubResource("CurveTexture_w2mcu")
|
||||||
|
alpha_curve = SubResource("CurveTexture_q5aon")
|
||||||
|
|
||||||
|
[node name="player" type="RigidBody2D"]
|
||||||
|
physics_material_override = SubResource("PhysicsMaterial_6481p")
|
||||||
|
gravity_scale = 0.0
|
||||||
|
can_sleep = false
|
||||||
|
angular_damp = 2.0
|
||||||
|
script = ExtResource("1_kkw55")
|
||||||
|
|
||||||
|
[node name="camera" type="Camera2D" parent="."]
|
||||||
|
zoom = Vector2(4, 4)
|
||||||
|
position_smoothing_enabled = true
|
||||||
|
|
||||||
|
[node name="stars" type="GPUParticles2D" parent="camera"]
|
||||||
|
amount = 100
|
||||||
|
process_material = SubResource("ParticleProcessMaterial_k0vl1")
|
||||||
|
lifetime = 30.0
|
||||||
|
|
||||||
|
[node name="collision" type="CollisionPolygon2D" parent="."]
|
||||||
|
polygon = PackedVector2Array(-5, 7, 0, -7, 5, 7, 2, 8, -2, 8)
|
||||||
|
|
||||||
|
[node name="image" type="Sprite2D" parent="."]
|
||||||
|
texture = ExtResource("2_1h4u8")
|
||||||
|
|
||||||
|
[node name="thruster" parent="." instance=ExtResource("3_r6c8y")]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
position = Vector2(0, 8)
|
BIN
player/ship.png
Normal file
After Width: | Height: | Size: 297 B |
34
player/ship.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dlenptyfk1iwn"
|
||||||
|
path="res://.godot/imported/ship.png-677bb5a443152bb556cce6ce388a6fa0.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://player/ship.png"
|
||||||
|
dest_files=["res://.godot/imported/ship.png-677bb5a443152bb556cce6ce388a6fa0.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
|
BIN
player/smoke.png
Normal file
After Width: | Height: | Size: 234 B |
34
player/smoke.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://de5mda3l4wy3x"
|
||||||
|
path="res://.godot/imported/smoke.png-90e2193252b3c7142bebc97fd88b34fa.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://player/smoke.png"
|
||||||
|
dest_files=["res://.godot/imported/smoke.png-90e2193252b3c7142bebc97fd88b34fa.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
|
11
player/thruster.gd
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
extends Marker2D
|
||||||
|
|
||||||
|
@export var active : bool
|
||||||
|
|
||||||
|
func _physics_process(delta: float) -> void:
|
||||||
|
if active:
|
||||||
|
%fire.emitting = true
|
||||||
|
%smoke.emitting = true
|
||||||
|
else:
|
||||||
|
%fire.emitting = false
|
||||||
|
%smoke.emitting = false
|
65
player/thruster.tscn
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
[gd_scene load_steps=11 format=3 uid="uid://y08tu4ftj3t4"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://player/thruster.gd" id="1_ua4l5"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bfsqm78hmybs5" path="res://player/fire.png" id="2_jmeol"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://de5mda3l4wy3x" path="res://player/smoke.png" id="3_gj8x6"]
|
||||||
|
|
||||||
|
[sub_resource type="Curve" id="Curve_5r2lj"]
|
||||||
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.0454545, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
|
point_count = 3
|
||||||
|
|
||||||
|
[sub_resource type="CurveTexture" id="CurveTexture_70rip"]
|
||||||
|
curve = SubResource("Curve_5r2lj")
|
||||||
|
|
||||||
|
[sub_resource type="Curve" id="Curve_1d6y2"]
|
||||||
|
max_value = 100.0
|
||||||
|
_data = [Vector2(0, 47.0097), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
|
point_count = 2
|
||||||
|
|
||||||
|
[sub_resource type="CurveTexture" id="CurveTexture_4ynfm"]
|
||||||
|
curve = SubResource("Curve_1d6y2")
|
||||||
|
|
||||||
|
[sub_resource type="Curve" id="Curve_ihsbl"]
|
||||||
|
_data = [Vector2(0, 0.541764), 0.0, 0.0, 0, 0, Vector2(0.29249, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -3.36652, 0.0, 0, 0]
|
||||||
|
point_count = 3
|
||||||
|
|
||||||
|
[sub_resource type="CurveTexture" id="CurveTexture_rkb0o"]
|
||||||
|
curve = SubResource("Curve_ihsbl")
|
||||||
|
|
||||||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_wobn2"]
|
||||||
|
particle_flag_disable_z = true
|
||||||
|
angle_min = -720.0
|
||||||
|
angle_max = 720.0
|
||||||
|
spread = 10.0
|
||||||
|
initial_velocity_min = 150.0
|
||||||
|
initial_velocity_max = 150.0
|
||||||
|
angular_velocity_min = -180.0
|
||||||
|
angular_velocity_max = 180.0
|
||||||
|
gravity = Vector3(0, 0, 0)
|
||||||
|
damping_min = 2.0
|
||||||
|
damping_max = 2.0
|
||||||
|
damping_curve = SubResource("CurveTexture_4ynfm")
|
||||||
|
scale_curve = SubResource("CurveTexture_rkb0o")
|
||||||
|
alpha_curve = SubResource("CurveTexture_70rip")
|
||||||
|
turbulence_noise_strength = 0.3
|
||||||
|
|
||||||
|
[node name="thruster" type="Marker2D"]
|
||||||
|
gizmo_extents = 3.0
|
||||||
|
script = ExtResource("1_ua4l5")
|
||||||
|
|
||||||
|
[node name="smoke" type="GPUParticles2D" parent="."]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
rotation = 1.5708
|
||||||
|
amount = 50
|
||||||
|
process_material = SubResource("ParticleProcessMaterial_wobn2")
|
||||||
|
texture = ExtResource("3_gj8x6")
|
||||||
|
lifetime = 2.0
|
||||||
|
fixed_fps = 60
|
||||||
|
|
||||||
|
[node name="fire" type="GPUParticles2D" parent="."]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
rotation = 1.5708
|
||||||
|
amount = 50
|
||||||
|
process_material = SubResource("ParticleProcessMaterial_wobn2")
|
||||||
|
texture = ExtResource("2_jmeol")
|
||||||
|
fixed_fps = 60
|
56
project.godot
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
; 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="spacegame"
|
||||||
|
run/main_scene="res://main.tscn"
|
||||||
|
config/features=PackedStringArray("4.3", "Forward Plus")
|
||||||
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
|
[display]
|
||||||
|
|
||||||
|
window/size/mode=3
|
||||||
|
window/stretch/mode="canvas_items"
|
||||||
|
window/stretch/aspect="keep_width"
|
||||||
|
|
||||||
|
[input]
|
||||||
|
|
||||||
|
back={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"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)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
front={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"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)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
left={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"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)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
right={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"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)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
[physics]
|
||||||
|
|
||||||
|
2d/default_gravity=0.0
|
||||||
|
2d/default_linear_damp=0.0
|
||||||
|
2d/default_angular_damp=0.0
|
||||||
|
|
||||||
|
[rendering]
|
||||||
|
|
||||||
|
textures/canvas_textures/default_texture_filter=0
|
||||||
|
environment/defaults/default_clear_color=Color(0, 0, 0, 1)
|
BIN
tiles/big_wall.png
Normal file
After Width: | Height: | Size: 421 B |
34
tiles/big_wall.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dywcxixvvt1u5"
|
||||||
|
path="res://.godot/imported/big_wall.png-337efe880549c8b9608ffa10d676143e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://tiles/big_wall.png"
|
||||||
|
dest_files=["res://.godot/imported/big_wall.png-337efe880549c8b9608ffa10d676143e.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
|
BIN
tiles/small_wall.png
Normal file
After Width: | Height: | Size: 236 B |
34
tiles/small_wall.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://d0wr4ox4fkkt"
|
||||||
|
path="res://.godot/imported/small_wall.png-17babcecadbd6b1519f8ea1aa7989f9d.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://tiles/small_wall.png"
|
||||||
|
dest_files=["res://.godot/imported/small_wall.png-17babcecadbd6b1519f8ea1aa7989f9d.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
|
BIN
tiles/wall.png
Normal file
After Width: | Height: | Size: 309 B |
34
tiles/wall.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://2b3vdhhu0yih"
|
||||||
|
path="res://.godot/imported/wall.png-5ce395d0bb3bb6421fdacc0a7ddd35b1.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://tiles/wall.png"
|
||||||
|
dest_files=["res://.godot/imported/wall.png-5ce395d0bb3bb6421fdacc0a7ddd35b1.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
|