mirror of
https://github.com/Steffo99/particle-clash.git
synced 2024-11-21 15:14:19 +00:00
Create main game files
This commit is contained in:
parent
2b68b511ad
commit
314472e7ed
17 changed files with 312 additions and 9 deletions
|
@ -10,14 +10,16 @@ config_version=4
|
|||
|
||||
[application]
|
||||
|
||||
config/name="LD50"
|
||||
config/name="Atomic Fusion"
|
||||
run/main_scene="res://src/MainMenu.tscn"
|
||||
config/icon="res://src/icon.png"
|
||||
boot_splash/show_image=false
|
||||
config/icon="res://src/sprites/atom.png"
|
||||
|
||||
[display]
|
||||
|
||||
window/size/width=1280
|
||||
window/size/height=720
|
||||
window/size/width=1600
|
||||
window/size/height=900
|
||||
window/size/resizable=false
|
||||
|
||||
[physics]
|
||||
|
||||
|
|
|
@ -1,11 +1,38 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://src/MainMenu.gd" type="Script" id=1]
|
||||
[ext_resource path="res://src/scenes/Background.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://src/scenes/Play Area.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://src/scenes/Minimap.tscn" type="PackedScene" id=4]
|
||||
|
||||
[node name="MainMenu" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 14.0
|
||||
text = "Hello world!"
|
||||
[node name="Background" parent="." instance=ExtResource( 2 )]
|
||||
modulate = Color( 0, 0.294118, 0.196078, 1 )
|
||||
|
||||
[node name="Play Area" parent="." instance=ExtResource( 3 )]
|
||||
self_modulate = Color( 0, 0.34902, 0.329412, 1 )
|
||||
|
||||
[node name="Tiles" parent="Play Area" index="0"]
|
||||
self_modulate = Color( 0, 0.34902, 0.329412, 1 )
|
||||
|
||||
[node name="Atom" parent="Play Area/Atoms" index="0"]
|
||||
modulate = Color( 0, 1, 1, 1 )
|
||||
|
||||
[node name="Spinner" parent="Play Area" index="2"]
|
||||
modulate = Color( 0, 1, 0.658824, 1 )
|
||||
|
||||
[node name="Label" parent="Play Area" index="3"]
|
||||
modulate = Color( 0, 1, 0.658824, 1 )
|
||||
|
||||
[node name="Minimap" parent="." instance=ExtResource( 4 )]
|
||||
|
||||
[node name="Atom" parent="Minimap" index="0"]
|
||||
modulate = Color( 0, 1, 0.658824, 1 )
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 10.0
|
||||
|
||||
[editable path="Play Area"]
|
||||
[editable path="Minimap"]
|
||||
|
|
BIN
src/fonts/Xolonium-Bold.ttf
Normal file
BIN
src/fonts/Xolonium-Bold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/Xolonium-Regular.ttf
Normal file
BIN
src/fonts/Xolonium-Regular.ttf
Normal file
Binary file not shown.
7
src/scenes/Background.tscn
Normal file
7
src/scenes/Background.tscn
Normal file
|
@ -0,0 +1,7 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://src/sprites/background.png" type="Texture" id=1]
|
||||
|
||||
[node name="Background" type="Sprite"]
|
||||
position = Vector2( 800, 450 )
|
||||
texture = ExtResource( 1 )
|
15
src/scenes/Minimap.tscn
Normal file
15
src/scenes/Minimap.tscn
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://src/sprites/atom.png" type="Texture" id=1]
|
||||
|
||||
[node name="Minimap" type="Node2D"]
|
||||
position = Vector2( 0, 880 )
|
||||
|
||||
[node name="Atom" type="Sprite" parent="."]
|
||||
scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="Atom2" type="Sprite" parent="."]
|
||||
position = Vector2( 1600, 0 )
|
||||
scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 1 )
|
62
src/scenes/Play Area.tscn
Normal file
62
src/scenes/Play Area.tscn
Normal file
|
@ -0,0 +1,62 @@
|
|||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://src/sprites/huge-atom.png" type="Texture" id=1]
|
||||
[ext_resource path="res://src/sprites/grid-tile.png" type="Texture" id=2]
|
||||
[ext_resource path="res://src/sprites/atom.png" type="Texture" id=3]
|
||||
[ext_resource path="res://src/sprites/spinner.png" type="Texture" id=4]
|
||||
[ext_resource path="res://src/fonts/Xolonium-Bold.ttf" type="DynamicFontData" id=5]
|
||||
|
||||
[sub_resource type="TileSet" id=1]
|
||||
0/name = "grid-tile.png 0"
|
||||
0/texture = ExtResource( 2 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
0/modulate = Color( 1, 1, 1, 1 )
|
||||
0/region = Rect2( 0, 0, 85, 85 )
|
||||
0/tile_mode = 0
|
||||
0/occluder_offset = Vector2( 0, 0 )
|
||||
0/navigation_offset = Vector2( 0, 0 )
|
||||
0/shape_offset = Vector2( 0, 0 )
|
||||
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
0/shape_one_way = false
|
||||
0/shape_one_way_margin = 0.0
|
||||
0/shapes = [ ]
|
||||
0/z_index = 0
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 48
|
||||
font_data = ExtResource( 5 )
|
||||
|
||||
[sub_resource type="Theme" id=3]
|
||||
default_font = SubResource( 2 )
|
||||
|
||||
[node name="Play Area" type="Sprite"]
|
||||
position = Vector2( 400, 450 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="Tiles" type="TileMap" parent="."]
|
||||
tile_set = SubResource( 1 )
|
||||
cell_size = Vector2( 86, 86 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -131074, 0, 0, -131073, 0, 0, -196608, 0, 0, -196607, 0, 0, -65539, 0, 0, -65538, 0, 0, -65537, 0, 0, -131072, 0, 0, -131071, 0, 0, -131070, 0, 0, -3, 0, 0, -2, 0, 0, -1, 0, 0, -65536, 0, 0, -65535, 0, 0, -65534, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 131069, 0, 0, 131070, 0, 0, 131071, 0, 0, 65536, 0, 0, 65537, 0, 0, 65538, 0, 0, 196606, 0, 0, 196607, 0, 0, 131072, 0, 0, 131073, 0, 0 )
|
||||
|
||||
[node name="Atoms" type="Node2D" parent="."]
|
||||
|
||||
[node name="Atom" type="Sprite" parent="Atoms"]
|
||||
position = Vector2( 43, -215 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Spinner" type="Sprite" parent="."]
|
||||
position = Vector2( -87, -173 )
|
||||
texture = ExtResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -407.0
|
||||
margin_top = -32.0
|
||||
margin_right = -335.0
|
||||
margin_bottom = -342.0
|
||||
theme = SubResource( 3 )
|
||||
text = "32"
|
BIN
src/sprites/atom.png
(Stored with Git LFS)
Normal file
BIN
src/sprites/atom.png
(Stored with Git LFS)
Normal file
Binary file not shown.
35
src/sprites/atom.png.import
Normal file
35
src/sprites/atom.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/atom.png-d2f80998ea491940e904430d0ba60cce.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/sprites/atom.png"
|
||||
dest_files=[ "res://.import/atom.png-d2f80998ea491940e904430d0ba60cce.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
src/sprites/background.png
(Stored with Git LFS)
Normal file
BIN
src/sprites/background.png
(Stored with Git LFS)
Normal file
Binary file not shown.
35
src/sprites/background.png.import
Normal file
35
src/sprites/background.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/background.png-fdb80f05ddc5f048f71d08012867f458.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/sprites/background.png"
|
||||
dest_files=[ "res://.import/background.png-fdb80f05ddc5f048f71d08012867f458.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=1
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
src/sprites/grid-tile.png
(Stored with Git LFS)
Normal file
BIN
src/sprites/grid-tile.png
(Stored with Git LFS)
Normal file
Binary file not shown.
35
src/sprites/grid-tile.png.import
Normal file
35
src/sprites/grid-tile.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/grid-tile.png-b1ca29eebb71791e7b2b4747f6cb26ed.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/sprites/grid-tile.png"
|
||||
dest_files=[ "res://.import/grid-tile.png-b1ca29eebb71791e7b2b4747f6cb26ed.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
src/sprites/huge-atom.png
(Stored with Git LFS)
Normal file
BIN
src/sprites/huge-atom.png
(Stored with Git LFS)
Normal file
Binary file not shown.
35
src/sprites/huge-atom.png.import
Normal file
35
src/sprites/huge-atom.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/huge-atom.png-b5df697bc2932b55a82cb059f25aeabd.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/sprites/huge-atom.png"
|
||||
dest_files=[ "res://.import/huge-atom.png-b5df697bc2932b55a82cb059f25aeabd.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
src/sprites/spinner.png
(Stored with Git LFS)
Normal file
BIN
src/sprites/spinner.png
(Stored with Git LFS)
Normal file
Binary file not shown.
35
src/sprites/spinner.png.import
Normal file
35
src/sprites/spinner.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/spinner.png-e761811debc5651ed7547291ca89fdb4.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/sprites/spinner.png"
|
||||
dest_files=[ "res://.import/spinner.png-e761811debc5651ed7547291ca89fdb4.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Loading…
Reference in a new issue