Compare commits
2 Commits
a4d062ea04
...
263011b460
| Author | SHA1 | Date |
|---|---|---|
|
|
263011b460 | |
|
|
9de9d18632 |
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cua5ptyehfnag"
|
||||||
|
path="res://.godot/imported/bg-far-placeholder.jpg-6a0cffeb916e2168f0ff74b7863cf6c9.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://bg-far-placeholder.jpg"
|
||||||
|
dest_files=["res://.godot/imported/bg-far-placeholder.jpg-6a0cffeb916e2168f0ff74b7863cf6c9.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
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/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
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.
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bfjf6dxvbq5cj"
|
||||||
|
path="res://.godot/imported/dirt-specs.png-ba680203b0a1b1c73166838cd341279d.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://dirt-specs.png"
|
||||||
|
dest_files=["res://.godot/imported/dirt-specs.png-ba680203b0a1b1c73166838cd341279d.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
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/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
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
|
||||||
|
|
@ -2,4 +2,4 @@ extends Control
|
||||||
|
|
||||||
|
|
||||||
func _on_play_button_pressed() -> void:
|
func _on_play_button_pressed() -> void:
|
||||||
get_tree().change_scene_to_file("res://molecular_stag.tscn")
|
get_tree().change_scene_to_file("res://molecular_stage.tscn")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_scene load_steps=3 format=3 uid="uid://drgv154ei1vrl"]
|
[gd_scene load_steps=3 format=3 uid="uid://drgv154ei1vrl"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://dxc66bci2ivrj" path="res://main_menu.gd" id="1_06t4h"]
|
[ext_resource type="Script" path="res://main_menu.gd" id="1_06t4h"]
|
||||||
|
|
||||||
[sub_resource type="LabelSettings" id="LabelSettings_rhts7"]
|
[sub_resource type="LabelSettings" id="LabelSettings_rhts7"]
|
||||||
font_size = 64
|
font_size = 64
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
extends Area2D
|
||||||
|
|
||||||
|
@export var speed = 400
|
||||||
|
var screen_size
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
screen_size = get_viewport_rect().size
|
||||||
|
|
||||||
|
func _process(delta):
|
||||||
|
var velocity = Vector2.ZERO
|
||||||
|
if Input.is_action_pressed("move_right"):
|
||||||
|
velocity.x += 1
|
||||||
|
if Input.is_action_pressed("move_left"):
|
||||||
|
velocity.x -= 1
|
||||||
|
if Input.is_action_pressed("move_down"):
|
||||||
|
velocity.y += 1
|
||||||
|
if Input.is_action_pressed("move_up"):
|
||||||
|
velocity.y -= 1
|
||||||
|
|
||||||
|
position += speed * velocity * delta
|
||||||
|
position = position.clamp(Vector2.ZERO, screen_size)
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://di7eglnrnqm6i
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
[gd_scene load_steps=5 format=3 uid="uid://dxluckxdkpv4f"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://di7eglnrnqm6i" path="res://molecular_player.gd" id="1_0ix7k"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cy6kyldb6toa4" path="res://player-sprite-placeholder-crop.png" id="1_hh536"]
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_onrkg"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": ExtResource("1_hh536")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"default",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_4flbx"]
|
||||||
|
radius = 191.95984
|
||||||
|
height = 1295.8773
|
||||||
|
|
||||||
|
[node name="player" type="Area2D"]
|
||||||
|
script = ExtResource("1_0ix7k")
|
||||||
|
|
||||||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
|
scale = Vector2(0.5, 0.5)
|
||||||
|
sprite_frames = SubResource("SpriteFrames_onrkg")
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2(0, 56)
|
||||||
|
rotation = -1.5732701
|
||||||
|
shape = SubResource("CapsuleShape2D_4flbx")
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://b55w56d4twno1"]
|
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://ceut2lrvkns75" path="res://debug_label.gd" id="1_quyes"]
|
|
||||||
|
|
||||||
[node name="MolecularStag" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="DebugLabel" type="Label" parent="."]
|
|
||||||
offset_right = 40.0
|
|
||||||
offset_bottom = 23.0
|
|
||||||
text = "Debug: You made it into the game!
|
|
||||||
This is running from C++: "
|
|
||||||
script = ExtResource("1_quyes")
|
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
[gd_scene load_steps=5 format=3 uid="uid://b55w56d4twno1"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://ceut2lrvkns75" path="res://debug_label.gd" id="1_0kdu2"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cua5ptyehfnag" path="res://bg-far-placeholder.jpg" id="2_f4v4g"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bfjf6dxvbq5cj" path="res://dirt-specs.png" id="3_582e3"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dxluckxdkpv4f" path="res://molecular_player.tscn" id="4_f4v4g"]
|
||||||
|
|
||||||
|
[node name="MolecularStag" type="Node2D"]
|
||||||
|
|
||||||
|
[node name="Background" type="Node2D" parent="."]
|
||||||
|
|
||||||
|
[node name="ParallaxFar" type="Parallax2D" parent="Background"]
|
||||||
|
scroll_scale = Vector2(0.5, 0.5)
|
||||||
|
repeat_times = 7
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="Background/ParallaxFar"]
|
||||||
|
position = Vector2(295.99997, 360)
|
||||||
|
scale = Vector2(0.94648564, 0.92012787)
|
||||||
|
texture = ExtResource("2_f4v4g")
|
||||||
|
|
||||||
|
[node name="Sprite2D2" type="Sprite2D" parent="Background/ParallaxFar"]
|
||||||
|
position = Vector2(892.09973, 359.82693)
|
||||||
|
scale = Vector2(0.95814764, 0.9195748)
|
||||||
|
texture = ExtResource("2_f4v4g")
|
||||||
|
|
||||||
|
[node name="ParallaxNear" type="Parallax2D" parent="Background"]
|
||||||
|
scroll_scale = Vector2(0.9, 0.9)
|
||||||
|
repeat_times = 7
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="Background/ParallaxNear"]
|
||||||
|
position = Vector2(596, 359.5)
|
||||||
|
scale = Vector2(3.725, 2.4159663)
|
||||||
|
texture = ExtResource("3_582e3")
|
||||||
|
|
||||||
|
[node name="player" parent="." instance=ExtResource("4_f4v4g")]
|
||||||
|
position = Vector2(120, 144)
|
||||||
|
scale = Vector2(0.047164187, 0.089221194)
|
||||||
|
|
||||||
|
[node name="Camera2D" type="Camera2D" parent="player"]
|
||||||
|
rotation = 3.1415927
|
||||||
|
zoom = Vector2(5, 5)
|
||||||
|
limit_enabled = false
|
||||||
|
limit_left = 0
|
||||||
|
limit_top = 0
|
||||||
|
limit_right = 1152
|
||||||
|
limit_bottom = 648
|
||||||
|
|
||||||
|
[node name="UI" type="Node2D" parent="."]
|
||||||
|
|
||||||
|
[node name="CanvasLayer" type="CanvasLayer" parent="UI"]
|
||||||
|
|
||||||
|
[node name="DebugLabel" type="Label" parent="UI/CanvasLayer"]
|
||||||
|
offset_right = 296.0
|
||||||
|
offset_bottom = 49.0
|
||||||
|
text = "Debug: You made it into the game!
|
||||||
|
This is running from C++: "
|
||||||
|
script = ExtResource("1_0kdu2")
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 715 KiB |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cy6kyldb6toa4"
|
||||||
|
path="res://.godot/imported/player-sprite-placeholder-crop.png-235fee3dea28a886964cc2a1a4d4ef94.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://player-sprite-placeholder-crop.png"
|
||||||
|
dest_files=["res://.godot/imported/player-sprite-placeholder-crop.png-235fee3dea28a886964cc2a1a4d4ef94.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
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/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
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.
|
After Width: | Height: | Size: 12 KiB |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bl387esu1eeh"
|
||||||
|
path="res://.godot/imported/player-sprite-placeholder.png-8f910f217c7c1bd0e8dd681061ddca66.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://player-sprite-placeholder.png"
|
||||||
|
dest_files=["res://.godot/imported/player-sprite-placeholder.png-8f910f217c7c1bd0e8dd681061ddca66.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
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/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
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
|
||||||
|
|
@ -14,3 +14,26 @@ config/name="EvolveDieRepeat"
|
||||||
run/main_scene="uid://drgv154ei1vrl"
|
run/main_scene="uid://drgv154ei1vrl"
|
||||||
config/features=PackedStringArray("4.5", "Forward Plus")
|
config/features=PackedStringArray("4.5", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
|
[input]
|
||||||
|
|
||||||
|
move_right={
|
||||||
|
"deadzone": 0.2,
|
||||||
|
"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)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
move_left={
|
||||||
|
"deadzone": 0.2,
|
||||||
|
"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)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
move_up={
|
||||||
|
"deadzone": 0.2,
|
||||||
|
"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)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
move_down={
|
||||||
|
"deadzone": 0.2,
|
||||||
|
"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)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue