added level background and world boundaries
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c7wvhwsys1ll4"
|
||||||
|
path="res://.godot/imported/levelbg.webp-13dc333f5212843a52473becf509d09f.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://resources/backgrounds/levelbg.webp"
|
||||||
|
dest_files=["res://.godot/imported/levelbg.webp-13dc333f5212843a52473becf509d09f.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
|
||||||
+17
-1
@@ -1,3 +1,19 @@
|
|||||||
[gd_scene format=3 uid="uid://bmscox3qtwvs2"]
|
[gd_scene load_steps=2 format=3 uid="uid://bmscox3qtwvs2"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c7wvhwsys1ll4" path="res://resources/backgrounds/levelbg.webp" id="1_7ct6t"]
|
||||||
|
|
||||||
[node name="Level" type="Node2D"]
|
[node name="Level" type="Node2D"]
|
||||||
|
|
||||||
|
[node name="GUI" type="Control" parent="."]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 0
|
||||||
|
offset_right = 40.0
|
||||||
|
offset_bottom = 40.0
|
||||||
|
|
||||||
|
[node name="PlayArea" type="Camera2D" parent="."]
|
||||||
|
position = Vector2(960, 540)
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||||||
|
offset_right = 40.0
|
||||||
|
offset_bottom = 40.0
|
||||||
|
texture = ExtResource("1_7ct6t")
|
||||||
|
|||||||
+2
-2
@@ -8,6 +8,6 @@ func _ready():
|
|||||||
func _process(delta):
|
func _process(delta):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
func _on_start_game_btn_pressed():
|
func _on_start_game_btn_pressed():
|
||||||
print("start game!")
|
get_tree().get_root().add_child(preload("res://scenes/level.tscn").instantiate())
|
||||||
|
hide()
|
||||||
|
|||||||
Reference in New Issue
Block a user