diff --git a/MainMenuTheme.tres b/MainMenuTheme.tres new file mode 100644 index 0000000..e81d193 --- /dev/null +++ b/MainMenuTheme.tres @@ -0,0 +1,12 @@ +[gd_resource type="Theme" load_steps=3 format=2] + +[ext_resource path="res://fonts/Roboto/Roboto-Black.ttf" type="DynamicFontData" id=1] + +[sub_resource type="DynamicFont" id=1] +size = 64 +use_mipmaps = true +use_filter = true +font_data = ExtResource( 1 ) + +[resource] +default_font = SubResource( 1 ) diff --git a/Menu.tscn b/Menu.tscn index 47fbdd0..a178ef1 100644 --- a/Menu.tscn +++ b/Menu.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://Menu.gd" type="Script" id=1] [ext_resource path="res://assets/title logo.png" type="Texture" id=2] +[ext_resource path="res://MainMenuTheme.tres" type="Theme" id=3] [node name="Menu" type="Node2D"] script = ExtResource( 1 ) @@ -11,58 +12,60 @@ anchor_mode = 0 current = true [node name="VBoxContainer" type="VBoxContainer" parent="Camera2D"] +anchor_bottom = 0.224 +margin_top = 92.0 +margin_right = 2553.0 +margin_bottom = 1344.0 rect_scale = Vector2( 0.4, 0.4 ) custom_constants/separation = 64 -alignment = 1 __meta__ = { "_edit_use_anchors_": false } -[node name="TextureRect" type="TextureRect" parent="Camera2D/VBoxContainer"] -margin_right = 1523.0 -margin_bottom = 445.0 +[node name="HBoxContainer3" type="HBoxContainer" parent="Camera2D/VBoxContainer"] +margin_right = 2553.0 +margin_bottom = 600.0 +rect_min_size = Vector2( 0, 600 ) +alignment = 1 + +[node name="TextureRect" type="TextureRect" parent="Camera2D/VBoxContainer/HBoxContainer3"] +margin_left = 515.0 +margin_right = 2038.0 +margin_bottom = 600.0 size_flags_horizontal = 13 size_flags_vertical = 13 texture = ExtResource( 2 ) -stretch_mode = 4 - -[node name="HBoxContainer2" type="HBoxContainer" parent="Camera2D/VBoxContainer"] -margin_top = 509.0 -margin_right = 1523.0 -margin_bottom = 509.0 -grow_horizontal = 2 -grow_vertical = 2 -size_flags_horizontal = 5 -size_flags_vertical = 5 -alignment = 1 -__meta__ = { -"_edit_use_anchors_": false -} +stretch_mode = 3 [node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/VBoxContainer"] -margin_top = 573.0 -margin_right = 1523.0 -margin_bottom = 673.0 +margin_top = 664.0 +margin_right = 2553.0 +margin_bottom = 814.0 custom_constants/separation = 128 +alignment = 1 [node name="SimpleButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] -margin_right = 100.0 -margin_bottom = 100.0 -rect_min_size = Vector2( 100, 100 ) +margin_left = 773.0 +margin_right = 1023.0 +margin_bottom = 150.0 +rect_min_size = Vector2( 250, 150 ) +theme = ExtResource( 3 ) text = "Leicht" [node name="MediumButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] -margin_left = 228.0 -margin_right = 328.0 -margin_bottom = 100.0 -rect_min_size = Vector2( 100, 100 ) +margin_left = 1151.0 +margin_right = 1401.0 +margin_bottom = 150.0 +rect_min_size = Vector2( 250, 150 ) +theme = ExtResource( 3 ) text = "Mittel" [node name="HardButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] -margin_left = 456.0 -margin_right = 556.0 -margin_bottom = 100.0 -rect_min_size = Vector2( 100, 100 ) +margin_left = 1529.0 +margin_right = 1779.0 +margin_bottom = 150.0 +rect_min_size = Vector2( 250, 150 ) +theme = ExtResource( 3 ) text = "Schwer" [node name="CanvasLayer" type="CanvasLayer" parent="."] diff --git a/assets/HexagonTile.blend b/assets/HexagonTile.blend new file mode 100644 index 0000000..87a99a0 Binary files /dev/null and b/assets/HexagonTile.blend differ diff --git a/assets/HexagonTile.glb b/assets/HexagonTile.glb new file mode 100644 index 0000000..c15f3ad Binary files /dev/null and b/assets/HexagonTile.glb differ diff --git a/assets/HexagonTile.glb.import b/assets/HexagonTile.glb.import new file mode 100644 index 0000000..460b8dd --- /dev/null +++ b/assets/HexagonTile.glb.import @@ -0,0 +1,1065 @@ +[remap] + +importer="scene" +type="PackedScene" +path="res://.import/HexagonTile.glb-19ce1f50fe10a68235996a1426e91107.scn" + +[deps] + +source_file="res://assets/HexagonTile.glb" +dest_files=[ "res://.import/HexagonTile.glb-19ce1f50fe10a68235996a1426e91107.scn" ] + +[params] + +nodes/root_type="Spatial" +nodes/root_name="Scene Root" +nodes/root_scale=1.0 +nodes/custom_script="" +nodes/storage=0 +nodes/use_legacy_names=false +materials/location=1 +materials/storage=1 +materials/keep_on_reimport=true +meshes/octahedral_compression=true +meshes/compress=4286 +meshes/ensure_tangents=true +meshes/storage=0 +meshes/light_baking=0 +meshes/lightmap_texel_size=0.1 +skins/use_named_skins=true +external_files/store_in_subdir=false +animation/import=true +animation/fps=15 +animation/filter_script="" +animation/storage=false +animation/keep_custom_tracks=false +animation/optimizer/enabled=true +animation/optimizer/max_linear_error=0.05 +animation/optimizer/max_angular_error=0.01 +animation/optimizer/max_angle=22 +animation/optimizer/remove_unused_tracks=true +animation/clips/amount=0 +animation/clip_1/name="" +animation/clip_1/start_frame=0 +animation/clip_1/end_frame=0 +animation/clip_1/loops=false +animation/clip_2/name="" +animation/clip_2/start_frame=0 +animation/clip_2/end_frame=0 +animation/clip_2/loops=false +animation/clip_3/name="" +animation/clip_3/start_frame=0 +animation/clip_3/end_frame=0 +animation/clip_3/loops=false +animation/clip_4/name="" +animation/clip_4/start_frame=0 +animation/clip_4/end_frame=0 +animation/clip_4/loops=false +animation/clip_5/name="" +animation/clip_5/start_frame=0 +animation/clip_5/end_frame=0 +animation/clip_5/loops=false +animation/clip_6/name="" +animation/clip_6/start_frame=0 +animation/clip_6/end_frame=0 +animation/clip_6/loops=false +animation/clip_7/name="" +animation/clip_7/start_frame=0 +animation/clip_7/end_frame=0 +animation/clip_7/loops=false +animation/clip_8/name="" +animation/clip_8/start_frame=0 +animation/clip_8/end_frame=0 +animation/clip_8/loops=false +animation/clip_9/name="" +animation/clip_9/start_frame=0 +animation/clip_9/end_frame=0 +animation/clip_9/loops=false +animation/clip_10/name="" +animation/clip_10/start_frame=0 +animation/clip_10/end_frame=0 +animation/clip_10/loops=false +animation/clip_11/name="" +animation/clip_11/start_frame=0 +animation/clip_11/end_frame=0 +animation/clip_11/loops=false +animation/clip_12/name="" +animation/clip_12/start_frame=0 +animation/clip_12/end_frame=0 +animation/clip_12/loops=false +animation/clip_13/name="" +animation/clip_13/start_frame=0 +animation/clip_13/end_frame=0 +animation/clip_13/loops=false +animation/clip_14/name="" +animation/clip_14/start_frame=0 +animation/clip_14/end_frame=0 +animation/clip_14/loops=false +animation/clip_15/name="" +animation/clip_15/start_frame=0 +animation/clip_15/end_frame=0 +animation/clip_15/loops=false +animation/clip_16/name="" +animation/clip_16/start_frame=0 +animation/clip_16/end_frame=0 +animation/clip_16/loops=false +animation/clip_17/name="" +animation/clip_17/start_frame=0 +animation/clip_17/end_frame=0 +animation/clip_17/loops=false +animation/clip_18/name="" +animation/clip_18/start_frame=0 +animation/clip_18/end_frame=0 +animation/clip_18/loops=false +animation/clip_19/name="" +animation/clip_19/start_frame=0 +animation/clip_19/end_frame=0 +animation/clip_19/loops=false +animation/clip_20/name="" +animation/clip_20/start_frame=0 +animation/clip_20/end_frame=0 +animation/clip_20/loops=false +animation/clip_21/name="" +animation/clip_21/start_frame=0 +animation/clip_21/end_frame=0 +animation/clip_21/loops=false +animation/clip_22/name="" +animation/clip_22/start_frame=0 +animation/clip_22/end_frame=0 +animation/clip_22/loops=false +animation/clip_23/name="" +animation/clip_23/start_frame=0 +animation/clip_23/end_frame=0 +animation/clip_23/loops=false +animation/clip_24/name="" +animation/clip_24/start_frame=0 +animation/clip_24/end_frame=0 +animation/clip_24/loops=false +animation/clip_25/name="" +animation/clip_25/start_frame=0 +animation/clip_25/end_frame=0 +animation/clip_25/loops=false +animation/clip_26/name="" +animation/clip_26/start_frame=0 +animation/clip_26/end_frame=0 +animation/clip_26/loops=false +animation/clip_27/name="" +animation/clip_27/start_frame=0 +animation/clip_27/end_frame=0 +animation/clip_27/loops=false +animation/clip_28/name="" +animation/clip_28/start_frame=0 +animation/clip_28/end_frame=0 +animation/clip_28/loops=false +animation/clip_29/name="" +animation/clip_29/start_frame=0 +animation/clip_29/end_frame=0 +animation/clip_29/loops=false +animation/clip_30/name="" +animation/clip_30/start_frame=0 +animation/clip_30/end_frame=0 +animation/clip_30/loops=false +animation/clip_31/name="" +animation/clip_31/start_frame=0 +animation/clip_31/end_frame=0 +animation/clip_31/loops=false +animation/clip_32/name="" +animation/clip_32/start_frame=0 +animation/clip_32/end_frame=0 +animation/clip_32/loops=false +animation/clip_33/name="" +animation/clip_33/start_frame=0 +animation/clip_33/end_frame=0 +animation/clip_33/loops=false +animation/clip_34/name="" +animation/clip_34/start_frame=0 +animation/clip_34/end_frame=0 +animation/clip_34/loops=false +animation/clip_35/name="" +animation/clip_35/start_frame=0 +animation/clip_35/end_frame=0 +animation/clip_35/loops=false +animation/clip_36/name="" +animation/clip_36/start_frame=0 +animation/clip_36/end_frame=0 +animation/clip_36/loops=false +animation/clip_37/name="" +animation/clip_37/start_frame=0 +animation/clip_37/end_frame=0 +animation/clip_37/loops=false +animation/clip_38/name="" +animation/clip_38/start_frame=0 +animation/clip_38/end_frame=0 +animation/clip_38/loops=false +animation/clip_39/name="" +animation/clip_39/start_frame=0 +animation/clip_39/end_frame=0 +animation/clip_39/loops=false +animation/clip_40/name="" +animation/clip_40/start_frame=0 +animation/clip_40/end_frame=0 +animation/clip_40/loops=false +animation/clip_41/name="" +animation/clip_41/start_frame=0 +animation/clip_41/end_frame=0 +animation/clip_41/loops=false +animation/clip_42/name="" +animation/clip_42/start_frame=0 +animation/clip_42/end_frame=0 +animation/clip_42/loops=false +animation/clip_43/name="" +animation/clip_43/start_frame=0 +animation/clip_43/end_frame=0 +animation/clip_43/loops=false +animation/clip_44/name="" +animation/clip_44/start_frame=0 +animation/clip_44/end_frame=0 +animation/clip_44/loops=false +animation/clip_45/name="" +animation/clip_45/start_frame=0 +animation/clip_45/end_frame=0 +animation/clip_45/loops=false +animation/clip_46/name="" +animation/clip_46/start_frame=0 +animation/clip_46/end_frame=0 +animation/clip_46/loops=false +animation/clip_47/name="" +animation/clip_47/start_frame=0 +animation/clip_47/end_frame=0 +animation/clip_47/loops=false +animation/clip_48/name="" +animation/clip_48/start_frame=0 +animation/clip_48/end_frame=0 +animation/clip_48/loops=false +animation/clip_49/name="" +animation/clip_49/start_frame=0 +animation/clip_49/end_frame=0 +animation/clip_49/loops=false +animation/clip_50/name="" +animation/clip_50/start_frame=0 +animation/clip_50/end_frame=0 +animation/clip_50/loops=false +animation/clip_51/name="" +animation/clip_51/start_frame=0 +animation/clip_51/end_frame=0 +animation/clip_51/loops=false +animation/clip_52/name="" +animation/clip_52/start_frame=0 +animation/clip_52/end_frame=0 +animation/clip_52/loops=false +animation/clip_53/name="" +animation/clip_53/start_frame=0 +animation/clip_53/end_frame=0 +animation/clip_53/loops=false +animation/clip_54/name="" +animation/clip_54/start_frame=0 +animation/clip_54/end_frame=0 +animation/clip_54/loops=false +animation/clip_55/name="" +animation/clip_55/start_frame=0 +animation/clip_55/end_frame=0 +animation/clip_55/loops=false +animation/clip_56/name="" +animation/clip_56/start_frame=0 +animation/clip_56/end_frame=0 +animation/clip_56/loops=false +animation/clip_57/name="" +animation/clip_57/start_frame=0 +animation/clip_57/end_frame=0 +animation/clip_57/loops=false +animation/clip_58/name="" +animation/clip_58/start_frame=0 +animation/clip_58/end_frame=0 +animation/clip_58/loops=false +animation/clip_59/name="" +animation/clip_59/start_frame=0 +animation/clip_59/end_frame=0 +animation/clip_59/loops=false +animation/clip_60/name="" +animation/clip_60/start_frame=0 +animation/clip_60/end_frame=0 +animation/clip_60/loops=false +animation/clip_61/name="" +animation/clip_61/start_frame=0 +animation/clip_61/end_frame=0 +animation/clip_61/loops=false +animation/clip_62/name="" +animation/clip_62/start_frame=0 +animation/clip_62/end_frame=0 +animation/clip_62/loops=false +animation/clip_63/name="" +animation/clip_63/start_frame=0 +animation/clip_63/end_frame=0 +animation/clip_63/loops=false +animation/clip_64/name="" +animation/clip_64/start_frame=0 +animation/clip_64/end_frame=0 +animation/clip_64/loops=false +animation/clip_65/name="" +animation/clip_65/start_frame=0 +animation/clip_65/end_frame=0 +animation/clip_65/loops=false +animation/clip_66/name="" +animation/clip_66/start_frame=0 +animation/clip_66/end_frame=0 +animation/clip_66/loops=false +animation/clip_67/name="" +animation/clip_67/start_frame=0 +animation/clip_67/end_frame=0 +animation/clip_67/loops=false +animation/clip_68/name="" +animation/clip_68/start_frame=0 +animation/clip_68/end_frame=0 +animation/clip_68/loops=false +animation/clip_69/name="" +animation/clip_69/start_frame=0 +animation/clip_69/end_frame=0 +animation/clip_69/loops=false +animation/clip_70/name="" +animation/clip_70/start_frame=0 +animation/clip_70/end_frame=0 +animation/clip_70/loops=false +animation/clip_71/name="" +animation/clip_71/start_frame=0 +animation/clip_71/end_frame=0 +animation/clip_71/loops=false +animation/clip_72/name="" +animation/clip_72/start_frame=0 +animation/clip_72/end_frame=0 +animation/clip_72/loops=false +animation/clip_73/name="" +animation/clip_73/start_frame=0 +animation/clip_73/end_frame=0 +animation/clip_73/loops=false +animation/clip_74/name="" +animation/clip_74/start_frame=0 +animation/clip_74/end_frame=0 +animation/clip_74/loops=false +animation/clip_75/name="" +animation/clip_75/start_frame=0 +animation/clip_75/end_frame=0 +animation/clip_75/loops=false +animation/clip_76/name="" +animation/clip_76/start_frame=0 +animation/clip_76/end_frame=0 +animation/clip_76/loops=false +animation/clip_77/name="" +animation/clip_77/start_frame=0 +animation/clip_77/end_frame=0 +animation/clip_77/loops=false +animation/clip_78/name="" +animation/clip_78/start_frame=0 +animation/clip_78/end_frame=0 +animation/clip_78/loops=false +animation/clip_79/name="" +animation/clip_79/start_frame=0 +animation/clip_79/end_frame=0 +animation/clip_79/loops=false +animation/clip_80/name="" +animation/clip_80/start_frame=0 +animation/clip_80/end_frame=0 +animation/clip_80/loops=false +animation/clip_81/name="" +animation/clip_81/start_frame=0 +animation/clip_81/end_frame=0 +animation/clip_81/loops=false +animation/clip_82/name="" +animation/clip_82/start_frame=0 +animation/clip_82/end_frame=0 +animation/clip_82/loops=false +animation/clip_83/name="" +animation/clip_83/start_frame=0 +animation/clip_83/end_frame=0 +animation/clip_83/loops=false +animation/clip_84/name="" +animation/clip_84/start_frame=0 +animation/clip_84/end_frame=0 +animation/clip_84/loops=false +animation/clip_85/name="" +animation/clip_85/start_frame=0 +animation/clip_85/end_frame=0 +animation/clip_85/loops=false +animation/clip_86/name="" +animation/clip_86/start_frame=0 +animation/clip_86/end_frame=0 +animation/clip_86/loops=false +animation/clip_87/name="" +animation/clip_87/start_frame=0 +animation/clip_87/end_frame=0 +animation/clip_87/loops=false +animation/clip_88/name="" +animation/clip_88/start_frame=0 +animation/clip_88/end_frame=0 +animation/clip_88/loops=false +animation/clip_89/name="" +animation/clip_89/start_frame=0 +animation/clip_89/end_frame=0 +animation/clip_89/loops=false +animation/clip_90/name="" +animation/clip_90/start_frame=0 +animation/clip_90/end_frame=0 +animation/clip_90/loops=false +animation/clip_91/name="" +animation/clip_91/start_frame=0 +animation/clip_91/end_frame=0 +animation/clip_91/loops=false +animation/clip_92/name="" +animation/clip_92/start_frame=0 +animation/clip_92/end_frame=0 +animation/clip_92/loops=false +animation/clip_93/name="" +animation/clip_93/start_frame=0 +animation/clip_93/end_frame=0 +animation/clip_93/loops=false +animation/clip_94/name="" +animation/clip_94/start_frame=0 +animation/clip_94/end_frame=0 +animation/clip_94/loops=false +animation/clip_95/name="" +animation/clip_95/start_frame=0 +animation/clip_95/end_frame=0 +animation/clip_95/loops=false +animation/clip_96/name="" +animation/clip_96/start_frame=0 +animation/clip_96/end_frame=0 +animation/clip_96/loops=false +animation/clip_97/name="" +animation/clip_97/start_frame=0 +animation/clip_97/end_frame=0 +animation/clip_97/loops=false +animation/clip_98/name="" +animation/clip_98/start_frame=0 +animation/clip_98/end_frame=0 +animation/clip_98/loops=false +animation/clip_99/name="" +animation/clip_99/start_frame=0 +animation/clip_99/end_frame=0 +animation/clip_99/loops=false +animation/clip_100/name="" +animation/clip_100/start_frame=0 +animation/clip_100/end_frame=0 +animation/clip_100/loops=false +animation/clip_101/name="" +animation/clip_101/start_frame=0 +animation/clip_101/end_frame=0 +animation/clip_101/loops=false +animation/clip_102/name="" +animation/clip_102/start_frame=0 +animation/clip_102/end_frame=0 +animation/clip_102/loops=false +animation/clip_103/name="" +animation/clip_103/start_frame=0 +animation/clip_103/end_frame=0 +animation/clip_103/loops=false +animation/clip_104/name="" +animation/clip_104/start_frame=0 +animation/clip_104/end_frame=0 +animation/clip_104/loops=false +animation/clip_105/name="" +animation/clip_105/start_frame=0 +animation/clip_105/end_frame=0 +animation/clip_105/loops=false +animation/clip_106/name="" +animation/clip_106/start_frame=0 +animation/clip_106/end_frame=0 +animation/clip_106/loops=false +animation/clip_107/name="" +animation/clip_107/start_frame=0 +animation/clip_107/end_frame=0 +animation/clip_107/loops=false +animation/clip_108/name="" +animation/clip_108/start_frame=0 +animation/clip_108/end_frame=0 +animation/clip_108/loops=false +animation/clip_109/name="" +animation/clip_109/start_frame=0 +animation/clip_109/end_frame=0 +animation/clip_109/loops=false +animation/clip_110/name="" +animation/clip_110/start_frame=0 +animation/clip_110/end_frame=0 +animation/clip_110/loops=false +animation/clip_111/name="" +animation/clip_111/start_frame=0 +animation/clip_111/end_frame=0 +animation/clip_111/loops=false +animation/clip_112/name="" +animation/clip_112/start_frame=0 +animation/clip_112/end_frame=0 +animation/clip_112/loops=false +animation/clip_113/name="" +animation/clip_113/start_frame=0 +animation/clip_113/end_frame=0 +animation/clip_113/loops=false +animation/clip_114/name="" +animation/clip_114/start_frame=0 +animation/clip_114/end_frame=0 +animation/clip_114/loops=false +animation/clip_115/name="" +animation/clip_115/start_frame=0 +animation/clip_115/end_frame=0 +animation/clip_115/loops=false +animation/clip_116/name="" +animation/clip_116/start_frame=0 +animation/clip_116/end_frame=0 +animation/clip_116/loops=false +animation/clip_117/name="" +animation/clip_117/start_frame=0 +animation/clip_117/end_frame=0 +animation/clip_117/loops=false +animation/clip_118/name="" +animation/clip_118/start_frame=0 +animation/clip_118/end_frame=0 +animation/clip_118/loops=false +animation/clip_119/name="" +animation/clip_119/start_frame=0 +animation/clip_119/end_frame=0 +animation/clip_119/loops=false +animation/clip_120/name="" +animation/clip_120/start_frame=0 +animation/clip_120/end_frame=0 +animation/clip_120/loops=false +animation/clip_121/name="" +animation/clip_121/start_frame=0 +animation/clip_121/end_frame=0 +animation/clip_121/loops=false +animation/clip_122/name="" +animation/clip_122/start_frame=0 +animation/clip_122/end_frame=0 +animation/clip_122/loops=false +animation/clip_123/name="" +animation/clip_123/start_frame=0 +animation/clip_123/end_frame=0 +animation/clip_123/loops=false +animation/clip_124/name="" +animation/clip_124/start_frame=0 +animation/clip_124/end_frame=0 +animation/clip_124/loops=false +animation/clip_125/name="" +animation/clip_125/start_frame=0 +animation/clip_125/end_frame=0 +animation/clip_125/loops=false +animation/clip_126/name="" +animation/clip_126/start_frame=0 +animation/clip_126/end_frame=0 +animation/clip_126/loops=false +animation/clip_127/name="" +animation/clip_127/start_frame=0 +animation/clip_127/end_frame=0 +animation/clip_127/loops=false +animation/clip_128/name="" +animation/clip_128/start_frame=0 +animation/clip_128/end_frame=0 +animation/clip_128/loops=false +animation/clip_129/name="" +animation/clip_129/start_frame=0 +animation/clip_129/end_frame=0 +animation/clip_129/loops=false +animation/clip_130/name="" +animation/clip_130/start_frame=0 +animation/clip_130/end_frame=0 +animation/clip_130/loops=false +animation/clip_131/name="" +animation/clip_131/start_frame=0 +animation/clip_131/end_frame=0 +animation/clip_131/loops=false +animation/clip_132/name="" +animation/clip_132/start_frame=0 +animation/clip_132/end_frame=0 +animation/clip_132/loops=false +animation/clip_133/name="" +animation/clip_133/start_frame=0 +animation/clip_133/end_frame=0 +animation/clip_133/loops=false +animation/clip_134/name="" +animation/clip_134/start_frame=0 +animation/clip_134/end_frame=0 +animation/clip_134/loops=false +animation/clip_135/name="" +animation/clip_135/start_frame=0 +animation/clip_135/end_frame=0 +animation/clip_135/loops=false +animation/clip_136/name="" +animation/clip_136/start_frame=0 +animation/clip_136/end_frame=0 +animation/clip_136/loops=false +animation/clip_137/name="" +animation/clip_137/start_frame=0 +animation/clip_137/end_frame=0 +animation/clip_137/loops=false +animation/clip_138/name="" +animation/clip_138/start_frame=0 +animation/clip_138/end_frame=0 +animation/clip_138/loops=false +animation/clip_139/name="" +animation/clip_139/start_frame=0 +animation/clip_139/end_frame=0 +animation/clip_139/loops=false +animation/clip_140/name="" +animation/clip_140/start_frame=0 +animation/clip_140/end_frame=0 +animation/clip_140/loops=false +animation/clip_141/name="" +animation/clip_141/start_frame=0 +animation/clip_141/end_frame=0 +animation/clip_141/loops=false +animation/clip_142/name="" +animation/clip_142/start_frame=0 +animation/clip_142/end_frame=0 +animation/clip_142/loops=false +animation/clip_143/name="" +animation/clip_143/start_frame=0 +animation/clip_143/end_frame=0 +animation/clip_143/loops=false +animation/clip_144/name="" +animation/clip_144/start_frame=0 +animation/clip_144/end_frame=0 +animation/clip_144/loops=false +animation/clip_145/name="" +animation/clip_145/start_frame=0 +animation/clip_145/end_frame=0 +animation/clip_145/loops=false +animation/clip_146/name="" +animation/clip_146/start_frame=0 +animation/clip_146/end_frame=0 +animation/clip_146/loops=false +animation/clip_147/name="" +animation/clip_147/start_frame=0 +animation/clip_147/end_frame=0 +animation/clip_147/loops=false +animation/clip_148/name="" +animation/clip_148/start_frame=0 +animation/clip_148/end_frame=0 +animation/clip_148/loops=false +animation/clip_149/name="" +animation/clip_149/start_frame=0 +animation/clip_149/end_frame=0 +animation/clip_149/loops=false +animation/clip_150/name="" +animation/clip_150/start_frame=0 +animation/clip_150/end_frame=0 +animation/clip_150/loops=false +animation/clip_151/name="" +animation/clip_151/start_frame=0 +animation/clip_151/end_frame=0 +animation/clip_151/loops=false +animation/clip_152/name="" +animation/clip_152/start_frame=0 +animation/clip_152/end_frame=0 +animation/clip_152/loops=false +animation/clip_153/name="" +animation/clip_153/start_frame=0 +animation/clip_153/end_frame=0 +animation/clip_153/loops=false +animation/clip_154/name="" +animation/clip_154/start_frame=0 +animation/clip_154/end_frame=0 +animation/clip_154/loops=false +animation/clip_155/name="" +animation/clip_155/start_frame=0 +animation/clip_155/end_frame=0 +animation/clip_155/loops=false +animation/clip_156/name="" +animation/clip_156/start_frame=0 +animation/clip_156/end_frame=0 +animation/clip_156/loops=false +animation/clip_157/name="" +animation/clip_157/start_frame=0 +animation/clip_157/end_frame=0 +animation/clip_157/loops=false +animation/clip_158/name="" +animation/clip_158/start_frame=0 +animation/clip_158/end_frame=0 +animation/clip_158/loops=false +animation/clip_159/name="" +animation/clip_159/start_frame=0 +animation/clip_159/end_frame=0 +animation/clip_159/loops=false +animation/clip_160/name="" +animation/clip_160/start_frame=0 +animation/clip_160/end_frame=0 +animation/clip_160/loops=false +animation/clip_161/name="" +animation/clip_161/start_frame=0 +animation/clip_161/end_frame=0 +animation/clip_161/loops=false +animation/clip_162/name="" +animation/clip_162/start_frame=0 +animation/clip_162/end_frame=0 +animation/clip_162/loops=false +animation/clip_163/name="" +animation/clip_163/start_frame=0 +animation/clip_163/end_frame=0 +animation/clip_163/loops=false +animation/clip_164/name="" +animation/clip_164/start_frame=0 +animation/clip_164/end_frame=0 +animation/clip_164/loops=false +animation/clip_165/name="" +animation/clip_165/start_frame=0 +animation/clip_165/end_frame=0 +animation/clip_165/loops=false +animation/clip_166/name="" +animation/clip_166/start_frame=0 +animation/clip_166/end_frame=0 +animation/clip_166/loops=false +animation/clip_167/name="" +animation/clip_167/start_frame=0 +animation/clip_167/end_frame=0 +animation/clip_167/loops=false +animation/clip_168/name="" +animation/clip_168/start_frame=0 +animation/clip_168/end_frame=0 +animation/clip_168/loops=false +animation/clip_169/name="" +animation/clip_169/start_frame=0 +animation/clip_169/end_frame=0 +animation/clip_169/loops=false +animation/clip_170/name="" +animation/clip_170/start_frame=0 +animation/clip_170/end_frame=0 +animation/clip_170/loops=false +animation/clip_171/name="" +animation/clip_171/start_frame=0 +animation/clip_171/end_frame=0 +animation/clip_171/loops=false +animation/clip_172/name="" +animation/clip_172/start_frame=0 +animation/clip_172/end_frame=0 +animation/clip_172/loops=false +animation/clip_173/name="" +animation/clip_173/start_frame=0 +animation/clip_173/end_frame=0 +animation/clip_173/loops=false +animation/clip_174/name="" +animation/clip_174/start_frame=0 +animation/clip_174/end_frame=0 +animation/clip_174/loops=false +animation/clip_175/name="" +animation/clip_175/start_frame=0 +animation/clip_175/end_frame=0 +animation/clip_175/loops=false +animation/clip_176/name="" +animation/clip_176/start_frame=0 +animation/clip_176/end_frame=0 +animation/clip_176/loops=false +animation/clip_177/name="" +animation/clip_177/start_frame=0 +animation/clip_177/end_frame=0 +animation/clip_177/loops=false +animation/clip_178/name="" +animation/clip_178/start_frame=0 +animation/clip_178/end_frame=0 +animation/clip_178/loops=false +animation/clip_179/name="" +animation/clip_179/start_frame=0 +animation/clip_179/end_frame=0 +animation/clip_179/loops=false +animation/clip_180/name="" +animation/clip_180/start_frame=0 +animation/clip_180/end_frame=0 +animation/clip_180/loops=false +animation/clip_181/name="" +animation/clip_181/start_frame=0 +animation/clip_181/end_frame=0 +animation/clip_181/loops=false +animation/clip_182/name="" +animation/clip_182/start_frame=0 +animation/clip_182/end_frame=0 +animation/clip_182/loops=false +animation/clip_183/name="" +animation/clip_183/start_frame=0 +animation/clip_183/end_frame=0 +animation/clip_183/loops=false +animation/clip_184/name="" +animation/clip_184/start_frame=0 +animation/clip_184/end_frame=0 +animation/clip_184/loops=false +animation/clip_185/name="" +animation/clip_185/start_frame=0 +animation/clip_185/end_frame=0 +animation/clip_185/loops=false +animation/clip_186/name="" +animation/clip_186/start_frame=0 +animation/clip_186/end_frame=0 +animation/clip_186/loops=false +animation/clip_187/name="" +animation/clip_187/start_frame=0 +animation/clip_187/end_frame=0 +animation/clip_187/loops=false +animation/clip_188/name="" +animation/clip_188/start_frame=0 +animation/clip_188/end_frame=0 +animation/clip_188/loops=false +animation/clip_189/name="" +animation/clip_189/start_frame=0 +animation/clip_189/end_frame=0 +animation/clip_189/loops=false +animation/clip_190/name="" +animation/clip_190/start_frame=0 +animation/clip_190/end_frame=0 +animation/clip_190/loops=false +animation/clip_191/name="" +animation/clip_191/start_frame=0 +animation/clip_191/end_frame=0 +animation/clip_191/loops=false +animation/clip_192/name="" +animation/clip_192/start_frame=0 +animation/clip_192/end_frame=0 +animation/clip_192/loops=false +animation/clip_193/name="" +animation/clip_193/start_frame=0 +animation/clip_193/end_frame=0 +animation/clip_193/loops=false +animation/clip_194/name="" +animation/clip_194/start_frame=0 +animation/clip_194/end_frame=0 +animation/clip_194/loops=false +animation/clip_195/name="" +animation/clip_195/start_frame=0 +animation/clip_195/end_frame=0 +animation/clip_195/loops=false +animation/clip_196/name="" +animation/clip_196/start_frame=0 +animation/clip_196/end_frame=0 +animation/clip_196/loops=false +animation/clip_197/name="" +animation/clip_197/start_frame=0 +animation/clip_197/end_frame=0 +animation/clip_197/loops=false +animation/clip_198/name="" +animation/clip_198/start_frame=0 +animation/clip_198/end_frame=0 +animation/clip_198/loops=false +animation/clip_199/name="" +animation/clip_199/start_frame=0 +animation/clip_199/end_frame=0 +animation/clip_199/loops=false +animation/clip_200/name="" +animation/clip_200/start_frame=0 +animation/clip_200/end_frame=0 +animation/clip_200/loops=false +animation/clip_201/name="" +animation/clip_201/start_frame=0 +animation/clip_201/end_frame=0 +animation/clip_201/loops=false +animation/clip_202/name="" +animation/clip_202/start_frame=0 +animation/clip_202/end_frame=0 +animation/clip_202/loops=false +animation/clip_203/name="" +animation/clip_203/start_frame=0 +animation/clip_203/end_frame=0 +animation/clip_203/loops=false +animation/clip_204/name="" +animation/clip_204/start_frame=0 +animation/clip_204/end_frame=0 +animation/clip_204/loops=false +animation/clip_205/name="" +animation/clip_205/start_frame=0 +animation/clip_205/end_frame=0 +animation/clip_205/loops=false +animation/clip_206/name="" +animation/clip_206/start_frame=0 +animation/clip_206/end_frame=0 +animation/clip_206/loops=false +animation/clip_207/name="" +animation/clip_207/start_frame=0 +animation/clip_207/end_frame=0 +animation/clip_207/loops=false +animation/clip_208/name="" +animation/clip_208/start_frame=0 +animation/clip_208/end_frame=0 +animation/clip_208/loops=false +animation/clip_209/name="" +animation/clip_209/start_frame=0 +animation/clip_209/end_frame=0 +animation/clip_209/loops=false +animation/clip_210/name="" +animation/clip_210/start_frame=0 +animation/clip_210/end_frame=0 +animation/clip_210/loops=false +animation/clip_211/name="" +animation/clip_211/start_frame=0 +animation/clip_211/end_frame=0 +animation/clip_211/loops=false +animation/clip_212/name="" +animation/clip_212/start_frame=0 +animation/clip_212/end_frame=0 +animation/clip_212/loops=false +animation/clip_213/name="" +animation/clip_213/start_frame=0 +animation/clip_213/end_frame=0 +animation/clip_213/loops=false +animation/clip_214/name="" +animation/clip_214/start_frame=0 +animation/clip_214/end_frame=0 +animation/clip_214/loops=false +animation/clip_215/name="" +animation/clip_215/start_frame=0 +animation/clip_215/end_frame=0 +animation/clip_215/loops=false +animation/clip_216/name="" +animation/clip_216/start_frame=0 +animation/clip_216/end_frame=0 +animation/clip_216/loops=false +animation/clip_217/name="" +animation/clip_217/start_frame=0 +animation/clip_217/end_frame=0 +animation/clip_217/loops=false +animation/clip_218/name="" +animation/clip_218/start_frame=0 +animation/clip_218/end_frame=0 +animation/clip_218/loops=false +animation/clip_219/name="" +animation/clip_219/start_frame=0 +animation/clip_219/end_frame=0 +animation/clip_219/loops=false +animation/clip_220/name="" +animation/clip_220/start_frame=0 +animation/clip_220/end_frame=0 +animation/clip_220/loops=false +animation/clip_221/name="" +animation/clip_221/start_frame=0 +animation/clip_221/end_frame=0 +animation/clip_221/loops=false +animation/clip_222/name="" +animation/clip_222/start_frame=0 +animation/clip_222/end_frame=0 +animation/clip_222/loops=false +animation/clip_223/name="" +animation/clip_223/start_frame=0 +animation/clip_223/end_frame=0 +animation/clip_223/loops=false +animation/clip_224/name="" +animation/clip_224/start_frame=0 +animation/clip_224/end_frame=0 +animation/clip_224/loops=false +animation/clip_225/name="" +animation/clip_225/start_frame=0 +animation/clip_225/end_frame=0 +animation/clip_225/loops=false +animation/clip_226/name="" +animation/clip_226/start_frame=0 +animation/clip_226/end_frame=0 +animation/clip_226/loops=false +animation/clip_227/name="" +animation/clip_227/start_frame=0 +animation/clip_227/end_frame=0 +animation/clip_227/loops=false +animation/clip_228/name="" +animation/clip_228/start_frame=0 +animation/clip_228/end_frame=0 +animation/clip_228/loops=false +animation/clip_229/name="" +animation/clip_229/start_frame=0 +animation/clip_229/end_frame=0 +animation/clip_229/loops=false +animation/clip_230/name="" +animation/clip_230/start_frame=0 +animation/clip_230/end_frame=0 +animation/clip_230/loops=false +animation/clip_231/name="" +animation/clip_231/start_frame=0 +animation/clip_231/end_frame=0 +animation/clip_231/loops=false +animation/clip_232/name="" +animation/clip_232/start_frame=0 +animation/clip_232/end_frame=0 +animation/clip_232/loops=false +animation/clip_233/name="" +animation/clip_233/start_frame=0 +animation/clip_233/end_frame=0 +animation/clip_233/loops=false +animation/clip_234/name="" +animation/clip_234/start_frame=0 +animation/clip_234/end_frame=0 +animation/clip_234/loops=false +animation/clip_235/name="" +animation/clip_235/start_frame=0 +animation/clip_235/end_frame=0 +animation/clip_235/loops=false +animation/clip_236/name="" +animation/clip_236/start_frame=0 +animation/clip_236/end_frame=0 +animation/clip_236/loops=false +animation/clip_237/name="" +animation/clip_237/start_frame=0 +animation/clip_237/end_frame=0 +animation/clip_237/loops=false +animation/clip_238/name="" +animation/clip_238/start_frame=0 +animation/clip_238/end_frame=0 +animation/clip_238/loops=false +animation/clip_239/name="" +animation/clip_239/start_frame=0 +animation/clip_239/end_frame=0 +animation/clip_239/loops=false +animation/clip_240/name="" +animation/clip_240/start_frame=0 +animation/clip_240/end_frame=0 +animation/clip_240/loops=false +animation/clip_241/name="" +animation/clip_241/start_frame=0 +animation/clip_241/end_frame=0 +animation/clip_241/loops=false +animation/clip_242/name="" +animation/clip_242/start_frame=0 +animation/clip_242/end_frame=0 +animation/clip_242/loops=false +animation/clip_243/name="" +animation/clip_243/start_frame=0 +animation/clip_243/end_frame=0 +animation/clip_243/loops=false +animation/clip_244/name="" +animation/clip_244/start_frame=0 +animation/clip_244/end_frame=0 +animation/clip_244/loops=false +animation/clip_245/name="" +animation/clip_245/start_frame=0 +animation/clip_245/end_frame=0 +animation/clip_245/loops=false +animation/clip_246/name="" +animation/clip_246/start_frame=0 +animation/clip_246/end_frame=0 +animation/clip_246/loops=false +animation/clip_247/name="" +animation/clip_247/start_frame=0 +animation/clip_247/end_frame=0 +animation/clip_247/loops=false +animation/clip_248/name="" +animation/clip_248/start_frame=0 +animation/clip_248/end_frame=0 +animation/clip_248/loops=false +animation/clip_249/name="" +animation/clip_249/start_frame=0 +animation/clip_249/end_frame=0 +animation/clip_249/loops=false +animation/clip_250/name="" +animation/clip_250/start_frame=0 +animation/clip_250/end_frame=0 +animation/clip_250/loops=false +animation/clip_251/name="" +animation/clip_251/start_frame=0 +animation/clip_251/end_frame=0 +animation/clip_251/loops=false +animation/clip_252/name="" +animation/clip_252/start_frame=0 +animation/clip_252/end_frame=0 +animation/clip_252/loops=false +animation/clip_253/name="" +animation/clip_253/start_frame=0 +animation/clip_253/end_frame=0 +animation/clip_253/loops=false +animation/clip_254/name="" +animation/clip_254/start_frame=0 +animation/clip_254/end_frame=0 +animation/clip_254/loops=false +animation/clip_255/name="" +animation/clip_255/start_frame=0 +animation/clip_255/end_frame=0 +animation/clip_255/loops=false +animation/clip_256/name="" +animation/clip_256/start_frame=0 +animation/clip_256/end_frame=0 +animation/clip_256/loops=false diff --git a/assets/Material.material b/assets/Material.material new file mode 100644 index 0000000..f5ce9a1 Binary files /dev/null and b/assets/Material.material differ diff --git a/islands/pirate_game_island_0.island b/islands/pirate_game_island_0.island index a77f8fa..dca0634 100644 --- a/islands/pirate_game_island_0.island +++ b/islands/pirate_game_island_0.island @@ -1 +1 @@ -{"(-288, 55.425621)":"Sand","(-192, -110.85125)":"Sand","(-192, 0)":"Sand","(-192, 110.85125)":"Sand","(-192, 554.256226)":"Sand","(-192, 665.107483)":"Sand","(-96, -166.276871)":"Sand","(-96, -55.425625)":"Grass","(-96, 55.425625)":"Grass","(-96, 166.276871)":"Sand","(-96, 277.128113)":"Sand","(-96, 387.97937)":"Sand","(-96, 498.830627)":"Sand","(-96, 609.681824)":"Grass","(-96, 720.533081)":"Sand","(0, -221.702499)":"Sand","(0, -110.85125)":"Grass","(0, 0)":"Grass","(0, 110.85125)":"Grass","(0, 221.702499)":"Grass","(0, 332.553741)":"Grass","(0, 443.404999)":"Grass","(0, 554.256226)":"Grass","(0, 665.107483)":"Grass","(0, 775.95874)":"Sand","(96, -166.276871)":"Sand","(96, -55.425625)":"Grass","(96, 55.425625)":"Grass","(96, 166.276871)":"Grass","(96, 277.128113)":"Grass","(96, 387.97937)":"Grass","(96, 498.830597)":"Grass","(96, 609.681885)":"Grass","(96, 720.533142)":"Sand","(192, -221.702499)":"Sand","(192, -110.85125)":"Grass","(192, 0)":"Grass","(192, 110.85125)":"Grass","(192, 221.702484)":"Sand","(192, 332.553741)":"Sand","(192, 443.404968)":"Sand","(192, 554.256226)":"Grass","(192, 665.107483)":"Grass","(192, 775.95874)":"Sand","(288, -277.128113)":"Sand","(288, -166.276871)":"Sand","(288, -55.425621)":"Grass","(288, 55.425629)":"Grass","(288, 166.276871)":"Sand","(288, 498.830627)":"Sand","(288, 609.681885)":"Sand","(288, 720.533142)":"Sand","(384, -110.85125)":"Sand","(384, 0)":"Sand","(384, 110.851242)":"Sand","(480, -55.425613)":"Sand"} +{"(-384, -221.702499)":"Sand","(-384, -110.851242)":"Sand","(-384, 0)":"Sand","(-288, -277.128113)":"Sand","(-288, -166.276871)":"Grass","(-288, -55.425629)":"Grass","(-288, 55.425621)":"Sand","(-192, -221.702484)":"Sand","(-192, -110.85125)":"Grass","(-192, 0)":"Sand","(-96, -277.128113)":"Sand","(-96, -166.276871)":"Grass","(-96, -55.425625)":"Sand","(-96, 498.830627)":"Sand","(0, -332.553741)":"Sand","(0, -221.702499)":"Grass","(0, -110.85125)":"Grass","(0, 0)":"Sand","(0, 443.404999)":"Sand","(0, 554.256226)":"Sand","(0, 665.107483)":"Sand","(96, -277.128113)":"Sand","(96, -166.276871)":"Grass","(96, -55.425625)":"Grass","(96, 55.425625)":"Sand","(96, 166.276871)":"Sand","(96, 277.128113)":"Sand","(96, 387.97937)":"Sand","(96, 498.830597)":"Grass","(96, 609.681885)":"Sand","(96, 720.533142)":"Sand","(192, -221.702499)":"Sand","(192, -110.85125)":"Grass","(192, 0)":"Grass","(192, 110.85125)":"Grass","(192, 221.702484)":"Grass","(192, 332.553741)":"Grass","(192, 443.404968)":"Grass","(192, 554.256226)":"Grass","(192, 665.107483)":"Sand","(288, -166.276871)":"Sand","(288, -55.425621)":"Grass","(288, 55.425629)":"Grass","(288, 166.276871)":"Grass","(288, 277.128113)":"Grass","(288, 387.97937)":"Grass","(288, 498.830627)":"Grass","(288, 609.681885)":"Grass","(288, 720.533142)":"Sand","(384, -110.85125)":"Sand","(384, 0)":"Sand","(384, 110.851242)":"Sand","(384, 221.702499)":"Grass","(384, 332.553711)":"Grass","(384, 443.404968)":"Grass","(384, 554.256226)":"Grass","(384, 665.107483)":"Sand","(480, 166.276886)":"Sand","(480, 277.128113)":"Sand","(480, 387.97937)":"Grass","(480, 498.830627)":"Grass","(480, 609.681885)":"Sand","(576, 332.553741)":"Sand","(576, 443.404999)":"Sand","(576, 554.256226)":"Sand"} diff --git a/islands/pirate_game_island_1.island b/islands/pirate_game_island_1.island index 81ae23c..fee383f 100644 --- a/islands/pirate_game_island_1.island +++ b/islands/pirate_game_island_1.island @@ -1 +1 @@ -{"(-480, -55.425629)":"Sand","(-480, 55.425613)":"Sand","(-480, 166.276855)":"Sand","(-480, 498.830627)":"Sand","(-384, -110.851242)":"Sand","(-384, 0)":"Grass","(-384, 110.85125)":"Grass","(-384, 221.702499)":"Sand","(-384, 332.553741)":"Sand","(-384, 443.404999)":"Sand","(-384, 554.256226)":"Sand","(-288, -55.425629)":"Sand","(-288, 55.425621)":"Grass","(-288, 166.276871)":"Grass","(-288, 277.128113)":"Grass","(-288, 387.97937)":"Grass","(-288, 498.830627)":"Grass","(-288, 609.681885)":"Sand","(-192, -110.85125)":"Sand","(-192, 0)":"Grass","(-192, 110.85125)":"Grass","(-192, 221.702499)":"Grass","(-192, 332.553741)":"Grass","(-192, 443.404999)":"Grass","(-192, 554.256226)":"Sand","(-96, -55.425625)":"Sand","(-96, 55.425625)":"Grass","(-96, 166.276871)":"Grass","(-96, 277.128113)":"Grass","(-96, 387.97937)":"Grass","(-96, 498.830627)":"Sand","(0, 0)":"Sand","(0, 110.85125)":"Sand","(0, 221.702499)":"Grass","(0, 332.553741)":"Grass","(0, 443.404999)":"Sand","(96, 166.276871)":"Sand","(96, 277.128113)":"Grass","(96, 387.97937)":"Sand","(192, 110.85125)":"Sand","(192, 221.702484)":"Grass","(192, 332.553741)":"Sand","(288, 166.276871)":"Sand","(288, 277.128113)":"Grass","(288, 387.97937)":"Sand","(384, 110.851242)":"Sand","(384, 221.702499)":"Grass","(384, 332.553711)":"Sand","(480, 55.425629)":"Sand","(480, 166.276886)":"Grass","(480, 277.128113)":"Grass","(480, 387.97937)":"Sand","(576, 0)":"Sand","(576, 110.851257)":"Sand","(576, 221.702484)":"Sand","(576, 332.553741)":"Sand"} +{"(-672, 55.425629)":"Sand","(-672, 166.276871)":"Sand","(-672, 277.128113)":"Sand","(-576, 0)":"Sand","(-576, 110.851242)":"Grass","(-576, 221.702484)":"Grass","(-576, 332.553741)":"Sand","(-480, -166.276886)":"Sand","(-480, -55.425629)":"Sand","(-480, 55.425613)":"Grass","(-480, 166.276855)":"Grass","(-480, 277.128113)":"Grass","(-480, 387.97937)":"Sand","(-384, -221.702499)":"Sand","(-384, -110.851242)":"Grass","(-384, 0)":"Grass","(-384, 110.85125)":"Sand","(-384, 221.702499)":"Sand","(-384, 332.553741)":"Sand","(-288, -498.830627)":"Sand","(-288, -387.97937)":"Sand","(-288, -277.128113)":"Sand","(-288, -166.276871)":"Grass","(-288, -55.425629)":"Grass","(-288, 55.425621)":"Sand","(-192, -554.256226)":"Sand","(-192, -443.404968)":"Grass","(-192, -332.553741)":"Grass","(-192, -221.702484)":"Grass","(-192, -110.85125)":"Grass","(-192, 0)":"Sand","(-96, -609.681885)":"Sand","(-96, -498.830597)":"Grass","(-96, -387.97937)":"Grass","(-96, -277.128113)":"Grass","(-96, -166.276871)":"Grass","(-96, -55.425625)":"Grass","(-96, 55.425625)":"Sand","(0, -665.107483)":"Sand","(0, -554.256226)":"Grass","(0, -443.404999)":"Grass","(0, -332.553741)":"Grass","(0, -221.702499)":"Grass","(0, -110.85125)":"Grass","(0, 0)":"Grass","(0, 110.85125)":"Sand","(96, -609.681824)":"Sand","(96, -498.830627)":"Grass","(96, -387.97937)":"Grass","(96, -277.128113)":"Grass","(96, -166.276871)":"Grass","(96, -55.425625)":"Grass","(96, 55.425625)":"Grass","(96, 166.276871)":"Sand","(192, -665.107483)":"Sand","(192, -554.256226)":"Grass","(192, -443.404999)":"Grass","(192, -332.553741)":"Grass","(192, -221.702499)":"Grass","(192, -110.85125)":"Grass","(192, 0)":"Grass","(192, 110.85125)":"Grass","(192, 221.702484)":"Sand","(192, 332.553741)":"Sand","(288, -609.681885)":"Sand","(288, -498.830627)":"Sand","(288, -387.97937)":"Sand","(288, -277.128113)":"Grass","(288, -166.276871)":"Grass","(288, -55.425621)":"Grass","(288, 55.425629)":"Grass","(288, 166.276871)":"Grass","(288, 277.128113)":"Grass","(288, 387.97937)":"Sand","(384, -332.553741)":"Sand","(384, -221.702499)":"Grass","(384, -110.85125)":"Grass","(384, 0)":"Grass","(384, 110.851242)":"Grass","(384, 221.702499)":"Grass","(384, 332.553711)":"Grass","(384, 443.404968)":"Sand","(480, -277.128113)":"Sand","(480, -166.276855)":"Grass","(480, -55.425613)":"Grass","(480, 55.425629)":"Grass","(480, 166.276886)":"Sand","(480, 277.128113)":"Sand","(480, 387.97937)":"Sand","(576, -221.702484)":"Sand","(576, -110.851242)":"Grass","(576, 0)":"Sand","(576, 110.851257)":"Sand","(672, -166.276871)":"Sand","(672, -55.425629)":"Sand"} diff --git a/islands/pirate_game_island_2.island b/islands/pirate_game_island_2.island index 8e9db8c..5555eb6 100644 --- a/islands/pirate_game_island_2.island +++ b/islands/pirate_game_island_2.island @@ -1 +1 @@ -{"(-576, 0)":"Sand","(-576, 110.851242)":"Sand","(-480, -166.276886)":"Sand","(-480, -55.425629)":"Sand","(-480, 55.425613)":"Grass","(-480, 166.276855)":"Sand","(-480, 277.128113)":"Sand","(-480, 387.97937)":"Sand","(-384, -221.702499)":"Sand","(-384, -110.851242)":"Grass","(-384, 0)":"Grass","(-384, 110.85125)":"Grass","(-384, 221.702499)":"Grass","(-384, 332.553741)":"Sand","(-288, -166.276871)":"Sand","(-288, -55.425629)":"Grass","(-288, 55.425621)":"Grass","(-288, 166.276871)":"Grass","(-288, 277.128113)":"Grass","(-288, 387.97937)":"Sand","(-192, -221.702484)":"Sand","(-192, -110.85125)":"Sand","(-192, 0)":"Grass","(-192, 110.85125)":"Grass","(-192, 221.702499)":"Grass","(-192, 332.553741)":"Sand","(-96, -55.425625)":"Sand","(-96, 55.425625)":"Grass","(-96, 166.276871)":"Grass","(-96, 277.128113)":"Sand","(0, 0)":"Sand","(0, 110.85125)":"Grass","(0, 221.702499)":"Sand","(96, -55.425625)":"Sand","(96, 55.425625)":"Grass","(96, 166.276871)":"Sand","(192, -332.553741)":"Sand","(192, -221.702499)":"Sand","(192, -110.85125)":"Sand","(192, 0)":"Grass","(192, 110.85125)":"Grass","(192, 221.702484)":"Sand","(288, -387.97937)":"Sand","(288, -277.128113)":"Grass","(288, -166.276871)":"Grass","(288, -55.425621)":"Grass","(288, 55.425629)":"Grass","(288, 166.276871)":"Grass","(288, 277.128113)":"Sand","(384, -443.404999)":"Sand","(384, -332.553741)":"Grass","(384, -221.702499)":"Grass","(384, -110.85125)":"Grass","(384, 0)":"Grass","(384, 110.851242)":"Sand","(384, 221.702499)":"Sand","(480, -387.97937)":"Sand","(480, -277.128113)":"Grass","(480, -166.276855)":"Grass","(480, -55.425613)":"Grass","(480, 55.425629)":"Sand","(576, -332.553741)":"Sand","(576, -221.702484)":"Sand","(576, -110.851242)":"Sand","(576, 0)":"Sand"} +{"(-672, 609.681885)":"Sand","(-672, 720.533081)":"Sand","(-576, 554.256226)":"Sand","(-576, 665.107483)":"Grass","(-576, 775.95874)":"Sand","(-480, 387.97937)":"Sand","(-480, 498.830627)":"Sand","(-480, 609.681885)":"Grass","(-480, 720.533081)":"Grass","(-480, 831.384338)":"Sand","(-384, 332.553741)":"Sand","(-384, 443.404999)":"Grass","(-384, 554.256226)":"Grass","(-384, 665.107483)":"Grass","(-384, 775.95874)":"Grass","(-384, 886.809998)":"Sand","(-288, 55.425621)":"Sand","(-288, 166.276871)":"Sand","(-288, 277.128113)":"Sand","(-288, 387.97937)":"Grass","(-288, 498.830627)":"Grass","(-288, 609.681885)":"Grass","(-288, 720.533081)":"Grass","(-288, 831.384338)":"Sand","(-192, 0)":"Sand","(-192, 110.85125)":"Grass","(-192, 221.702499)":"Grass","(-192, 332.553741)":"Grass","(-192, 443.404999)":"Sand","(-192, 554.256226)":"Sand","(-192, 665.107483)":"Grass","(-192, 775.95874)":"Grass","(-192, 886.809998)":"Sand","(-96, -55.425625)":"Sand","(-96, 55.425625)":"Grass","(-96, 166.276871)":"Grass","(-96, 277.128113)":"Grass","(-96, 387.97937)":"Sand","(-96, 609.681824)":"Sand","(-96, 720.533081)":"Grass","(-96, 831.384338)":"Sand","(0, -110.85125)":"Sand","(0, 0)":"Grass","(0, 110.85125)":"Sand","(0, 221.702499)":"Sand","(0, 332.553741)":"Sand","(0, 554.256226)":"Sand","(0, 665.107483)":"Grass","(0, 775.95874)":"Grass","(0, 886.809998)":"Sand","(96, -55.425625)":"Sand","(96, 55.425625)":"Sand","(96, 498.830597)":"Sand","(96, 609.681885)":"Grass","(96, 720.533142)":"Grass","(96, 831.384399)":"Sand","(192, 332.553741)":"Sand","(192, 443.404968)":"Sand","(192, 554.256226)":"Grass","(192, 665.107483)":"Grass","(192, 775.95874)":"Grass","(192, 886.809998)":"Sand","(288, 166.276871)":"Sand","(288, 277.128113)":"Sand","(288, 387.97937)":"Grass","(288, 498.830627)":"Grass","(288, 609.681885)":"Grass","(288, 720.533142)":"Grass","(288, 831.384399)":"Sand","(384, 110.851242)":"Sand","(384, 221.702499)":"Grass","(384, 332.553711)":"Grass","(384, 443.404968)":"Grass","(384, 554.256226)":"Grass","(384, 665.107483)":"Grass","(384, 775.95874)":"Sand","(480, 166.276886)":"Sand","(480, 277.128113)":"Grass","(480, 387.97937)":"Grass","(480, 498.830627)":"Grass","(480, 609.681885)":"Sand","(480, 720.533142)":"Sand","(576, 110.851257)":"Sand","(576, 221.702484)":"Grass","(576, 332.553741)":"Grass","(576, 443.404999)":"Grass","(576, 554.256226)":"Sand","(672, 55.425629)":"Sand","(672, 166.276855)":"Grass","(672, 277.128113)":"Grass","(672, 387.97937)":"Grass","(672, 498.830627)":"Sand","(768, 0)":"Sand","(768, 110.851227)":"Grass","(768, 221.702484)":"Grass","(768, 332.553741)":"Sand","(768, 443.404999)":"Sand","(864, 55.425598)":"Sand","(864, 166.276855)":"Grass","(864, 277.128113)":"Sand","(960, 0)":"Sand","(960, 110.851257)":"Grass","(960, 221.702515)":"Grass","(960, 332.553772)":"Sand","(1056, 55.425598)":"Sand","(1056, 166.276855)":"Grass","(1056, 277.128113)":"Sand","(1152, 110.851257)":"Sand","(1152, 221.702515)":"Sand"} diff --git a/islands/pirate_game_island_3.island b/islands/pirate_game_island_3.island index 6c4d04a..1dd0027 100644 --- a/islands/pirate_game_island_3.island +++ b/islands/pirate_game_island_3.island @@ -1 +1 @@ -{"(-384, 110.85125)":"Sand","(-384, 221.702499)":"Sand","(-384, 332.553741)":"Sand","(-384, 443.404999)":"Sand","(-288, -55.425629)":"Sand","(-288, 55.425621)":"Sand","(-288, 166.276871)":"Grass","(-288, 277.128113)":"Grass","(-288, 387.97937)":"Grass","(-288, 498.830627)":"Sand","(-288, 609.681885)":"Sand","(-192, -110.85125)":"Sand","(-192, 0)":"Grass","(-192, 110.85125)":"Grass","(-192, 221.702499)":"Grass","(-192, 332.553741)":"Grass","(-192, 443.404999)":"Grass","(-192, 554.256226)":"Grass","(-192, 665.107483)":"Sand","(-96, -277.128113)":"Sand","(-96, -166.276871)":"Sand","(-96, -55.425625)":"Grass","(-96, 55.425625)":"Grass","(-96, 166.276871)":"Sand","(-96, 277.128113)":"Sand","(-96, 387.97937)":"Sand","(-96, 498.830627)":"Sand","(-96, 609.681824)":"Grass","(-96, 720.533081)":"Sand","(0, -332.553741)":"Sand","(0, -221.702499)":"Grass","(0, -110.85125)":"Grass","(0, 0)":"Grass","(0, 110.85125)":"Sand","(0, 554.256226)":"Sand","(0, 665.107483)":"Grass","(0, 775.95874)":"Sand","(96, -387.97937)":"Sand","(96, -277.128113)":"Grass","(96, -166.276871)":"Grass","(96, -55.425625)":"Grass","(96, 55.425625)":"Sand","(96, 498.830597)":"Sand","(96, 609.681885)":"Grass","(96, 720.533142)":"Sand","(192, -332.553741)":"Sand","(192, -221.702499)":"Grass","(192, -110.85125)":"Grass","(192, 0)":"Grass","(192, 110.85125)":"Sand","(192, 443.404968)":"Sand","(192, 554.256226)":"Grass","(192, 665.107483)":"Grass","(192, 775.95874)":"Sand","(288, -387.97937)":"Sand","(288, -277.128113)":"Grass","(288, -166.276871)":"Grass","(288, -55.425621)":"Grass","(288, 55.425629)":"Grass","(288, 166.276871)":"Sand","(288, 498.830627)":"Sand","(288, 609.681885)":"Sand","(288, 720.533142)":"Grass","(288, 831.384399)":"Sand","(384, -332.553741)":"Sand","(384, -221.702499)":"Grass","(384, -110.85125)":"Grass","(384, 0)":"Grass","(384, 110.851242)":"Sand","(384, 665.107483)":"Sand","(384, 775.95874)":"Sand","(480, -277.128113)":"Sand","(480, -166.276855)":"Sand","(480, -55.425613)":"Sand","(480, 55.425629)":"Sand","(480, 609.681885)":"Sand","(480, 720.533142)":"Sand","(576, 665.107544)":"Sand"} +{"(-96, -166.276871)":"Sand","(-96, -55.425625)":"Sand","(-96, 55.425625)":"Sand","(0, -332.553741)":"Sand","(0, -221.702499)":"Sand","(0, -110.85125)":"Grass","(0, 0)":"Grass","(0, 110.85125)":"Sand","(0, 221.702499)":"Sand","(96, -387.97937)":"Sand","(96, -277.128113)":"Grass","(96, -166.276871)":"Grass","(96, -55.425625)":"Grass","(96, 55.425625)":"Grass","(96, 166.276871)":"Grass","(96, 277.128113)":"Sand","(192, -443.404999)":"Sand","(192, -332.553741)":"Grass","(192, -221.702499)":"Grass","(192, -110.85125)":"Grass","(192, 0)":"Grass","(192, 110.85125)":"Grass","(192, 221.702484)":"Grass","(192, 332.553741)":"Sand","(192, 443.404968)":"Sand","(192, 554.256226)":"Sand","(192, 665.107483)":"Sand","(288, -498.830627)":"Sand","(288, -387.97937)":"Grass","(288, -277.128113)":"Grass","(288, -166.276871)":"Grass","(288, -55.425621)":"Grass","(288, 55.425629)":"Grass","(288, 166.276871)":"Grass","(288, 277.128113)":"Grass","(288, 387.97937)":"Grass","(288, 498.830627)":"Grass","(288, 609.681885)":"Grass","(288, 720.533142)":"Sand","(384, -554.256226)":"Sand","(384, -443.404999)":"Grass","(384, -332.553741)":"Grass","(384, -221.702499)":"Grass","(384, -110.85125)":"Grass","(384, 0)":"Grass","(384, 110.851242)":"Grass","(384, 221.702499)":"Grass","(384, 332.553711)":"Grass","(384, 443.404968)":"Grass","(384, 554.256226)":"Grass","(384, 665.107483)":"Grass","(384, 775.95874)":"Sand","(384, 886.809937)":"Sand","(384, 997.661255)":"Sand","(480, -609.681885)":"Sand","(480, -498.830627)":"Grass","(480, -387.97937)":"Grass","(480, -277.128113)":"Grass","(480, -166.276855)":"Grass","(480, -55.425613)":"Sand","(480, 55.425629)":"Sand","(480, 166.276886)":"Sand","(480, 277.128113)":"Grass","(480, 387.97937)":"Sand","(480, 498.830627)":"Sand","(480, 609.681885)":"Grass","(480, 720.533142)":"Grass","(480, 831.384338)":"Grass","(480, 942.235657)":"Grass","(480, 1053.086914)":"Sand","(576, -554.256226)":"Sand","(576, -443.404999)":"Grass","(576, -332.553741)":"Grass","(576, -221.702484)":"Sand","(576, -110.851242)":"Sand","(576, 221.702484)":"Sand","(576, 332.553741)":"Sand","(576, 554.256226)":"Sand","(576, 665.107544)":"Sand","(576, 775.95874)":"Grass","(576, 886.810059)":"Grass","(576, 997.661255)":"Grass","(576, 1108.512573)":"Sand","(672, -498.830627)":"Sand","(672, -387.97937)":"Sand","(672, -277.128113)":"Sand","(672, 720.533081)":"Sand","(672, 831.384399)":"Sand","(672, 942.235596)":"Sand","(672, 1053.086914)":"Sand"} diff --git a/islands/pirate_game_island_5.island b/islands/pirate_game_island_5.island index 0865981..42038c4 100644 --- a/islands/pirate_game_island_5.island +++ b/islands/pirate_game_island_5.island @@ -1 +1 @@ -{"(-384, 443.404999)":"Sand","(-384, 554.256226)":"Sand","(-384, 665.107483)":"Sand","(-288, -55.425629)":"Sand","(-288, 55.425621)":"Sand","(-288, 387.97937)":"Sand","(-288, 498.830627)":"Grass","(-288, 609.681885)":"Grass","(-288, 720.533081)":"Sand","(-192, -110.85125)":"Sand","(-192, 0)":"Grass","(-192, 110.85125)":"Sand","(-192, 221.702499)":"Sand","(-192, 332.553741)":"Sand","(-192, 443.404999)":"Grass","(-192, 554.256226)":"Grass","(-192, 665.107483)":"Sand","(-96, -166.276871)":"Sand","(-96, -55.425625)":"Grass","(-96, 55.425625)":"Grass","(-96, 166.276871)":"Grass","(-96, 277.128113)":"Grass","(-96, 387.97937)":"Grass","(-96, 498.830627)":"Grass","(-96, 609.681824)":"Grass","(-96, 720.533081)":"Sand","(0, -221.702499)":"Sand","(0, -110.85125)":"Grass","(0, 0)":"Grass","(0, 110.85125)":"Grass","(0, 221.702499)":"Grass","(0, 332.553741)":"Grass","(0, 443.404999)":"Grass","(0, 554.256226)":"Grass","(0, 665.107483)":"Grass","(0, 775.95874)":"Sand","(96, -277.128113)":"Sand","(96, -166.276871)":"Grass","(96, -55.425625)":"Grass","(96, 55.425625)":"Sand","(96, 166.276871)":"Sand","(96, 277.128113)":"Sand","(96, 387.97937)":"Grass","(96, 498.830597)":"Grass","(96, 609.681885)":"Grass","(96, 720.533142)":"Sand","(192, -221.702499)":"Sand","(192, -110.85125)":"Sand","(192, 0)":"Sand","(192, 332.553741)":"Sand","(192, 443.404968)":"Sand","(192, 554.256226)":"Grass","(192, 665.107483)":"Grass","(192, 775.95874)":"Sand","(288, 498.830627)":"Sand","(288, 609.681885)":"Grass","(288, 720.533142)":"Sand","(384, 554.256226)":"Sand","(384, 665.107483)":"Grass","(384, 775.95874)":"Sand","(480, 498.830627)":"Sand","(480, 609.681885)":"Sand","(480, 720.533142)":"Sand","(576, 554.256226)":"Sand"} +{"(-384, -110.851242)":"Sand","(-384, 0)":"Sand","(-384, 110.85125)":"Sand","(-288, -166.276871)":"Sand","(-288, -55.425629)":"Grass","(-288, 55.425621)":"Grass","(-288, 166.276871)":"Sand","(-288, 277.128113)":"Sand","(-288, 387.97937)":"Sand","(-288, 498.830627)":"Sand","(-192, -665.107483)":"Sand","(-192, -554.256226)":"Sand","(-192, -443.404968)":"Sand","(-192, -221.702484)":"Sand","(-192, -110.85125)":"Grass","(-192, 0)":"Grass","(-192, 110.85125)":"Grass","(-192, 221.702499)":"Grass","(-192, 332.553741)":"Grass","(-192, 443.404999)":"Grass","(-192, 554.256226)":"Sand","(-96, -720.533142)":"Sand","(-96, -609.681885)":"Grass","(-96, -498.830597)":"Grass","(-96, -387.97937)":"Sand","(-96, -166.276871)":"Sand","(-96, -55.425625)":"Grass","(-96, 55.425625)":"Grass","(-96, 166.276871)":"Grass","(-96, 277.128113)":"Grass","(-96, 387.97937)":"Sand","(-96, 498.830627)":"Sand","(0, -775.95874)":"Sand","(0, -665.107483)":"Grass","(0, -554.256226)":"Grass","(0, -443.404999)":"Sand","(0, -110.85125)":"Sand","(0, 0)":"Grass","(0, 110.85125)":"Grass","(0, 221.702499)":"Grass","(0, 332.553741)":"Sand","(96, -831.384338)":"Sand","(96, -720.533081)":"Grass","(96, -609.681824)":"Grass","(96, -498.830627)":"Sand","(96, -55.425625)":"Sand","(96, 55.425625)":"Sand","(96, 166.276871)":"Grass","(96, 277.128113)":"Grass","(96, 387.97937)":"Sand","(192, -775.95874)":"Sand","(192, -665.107483)":"Grass","(192, -554.256226)":"Grass","(192, -443.404999)":"Sand","(192, 110.85125)":"Sand","(192, 221.702484)":"Grass","(192, 332.553741)":"Grass","(192, 443.404968)":"Sand","(288, -831.384338)":"Sand","(288, -720.533081)":"Grass","(288, -609.681885)":"Grass","(288, -498.830627)":"Grass","(288, -387.97937)":"Sand","(288, -55.425621)":"Sand","(288, 55.425629)":"Sand","(288, 166.276871)":"Grass","(288, 277.128113)":"Grass","(288, 387.97937)":"Sand","(384, -886.809998)":"Sand","(384, -775.95874)":"Grass","(384, -665.107483)":"Grass","(384, -554.256226)":"Grass","(384, -443.404999)":"Sand","(384, -110.85125)":"Sand","(384, 0)":"Grass","(384, 110.851242)":"Grass","(384, 221.702499)":"Grass","(384, 332.553711)":"Sand","(480, -831.384338)":"Sand","(480, -720.533081)":"Sand","(480, -609.681885)":"Grass","(480, -498.830627)":"Grass","(480, -387.97937)":"Sand","(480, -277.128113)":"Sand","(480, -166.276855)":"Sand","(480, -55.425613)":"Grass","(480, 55.425629)":"Grass","(480, 166.276886)":"Grass","(480, 277.128113)":"Sand","(576, -665.107483)":"Sand","(576, -554.256226)":"Grass","(576, -443.404999)":"Grass","(576, -332.553741)":"Grass","(576, -221.702484)":"Grass","(576, -110.851242)":"Grass","(576, 0)":"Sand","(576, 110.851257)":"Sand","(576, 221.702484)":"Sand","(672, -609.681885)":"Sand","(672, -498.830627)":"Grass","(672, -387.97937)":"Grass","(672, -277.128113)":"Grass","(672, -166.276871)":"Grass","(672, -55.425629)":"Sand","(768, -665.107483)":"Sand","(768, -554.256226)":"Grass","(768, -443.404999)":"Grass","(768, -332.553741)":"Sand","(768, -221.702499)":"Sand","(768, -110.851257)":"Sand","(864, -609.681885)":"Sand","(864, -498.830627)":"Sand","(864, -387.97937)":"Sand"} diff --git a/project.godot b/project.godot index 7676bdc..58e6572 100644 --- a/project.godot +++ b/project.godot @@ -29,6 +29,11 @@ config/icon="res://assets/pirate.svg" HexTileDrawer="*res://scenes/HexTileDrawer.gd" Globals="*res://Globals.gd" +[display] + +window/stretch/mode="2d" +window/stretch/aspect="expand" + [global] view=false @@ -39,31 +44,31 @@ export=false walk_left={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":85,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":85,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"physical_scancode":0,"unicode":0,"echo":false,"script":null) ] } walk_right={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"physical_scancode":0,"unicode":0,"echo":false,"script":null) ] } walk_up={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":86,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":86,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"physical_scancode":0,"unicode":0,"echo":false,"script":null) ] } walk_down={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":73,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":73,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"physical_scancode":0,"unicode":0,"echo":false,"script":null) ] } interact={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null) ] } diff --git a/scenes/Editor.gd b/scenes/Editor.gd index 2885cfe..d9ecae2 100644 --- a/scenes/Editor.gd +++ b/scenes/Editor.gd @@ -97,3 +97,8 @@ func _on_IslandIndex_value_changed(_value): island.save_island(get_island_filename_for_index(last_index)) island.clear_island() island.load_island(get_island_filename()) + + +func _on_GenerateButton_pressed(): + island.clear_island() + island.generate() diff --git a/scenes/Game.tscn b/scenes/Game.tscn index 492acbb..747ee02 100644 --- a/scenes/Game.tscn +++ b/scenes/Game.tscn @@ -91,7 +91,6 @@ script = ExtResource( 7 ) [node name="UI" type="CanvasLayer" parent="Editor"] [node name="Editor" type="VBoxContainer" parent="Editor/UI"] -visible = false margin_left = 12.0 margin_top = 53.0 margin_right = 94.0 @@ -102,44 +101,50 @@ __meta__ = { } [node name="Island" type="Label" parent="Editor/UI/Editor"] -margin_right = 110.0 +margin_right = 120.0 margin_bottom = 33.0 text = "Island" [node name="IslandIndex" type="SpinBox" parent="Editor/UI/Editor"] margin_top = 37.0 -margin_right = 110.0 +margin_right = 120.0 margin_bottom = 80.0 max_value = 9.0 [node name="ClearWorldButton" type="Button" parent="Editor/UI/Editor"] margin_top = 84.0 -margin_right = 110.0 +margin_right = 120.0 margin_bottom = 123.0 text = "Clear" [node name="LoadWorldButton" type="Button" parent="Editor/UI/Editor"] margin_top = 127.0 -margin_right = 110.0 +margin_right = 120.0 margin_bottom = 166.0 text = "Load" [node name="SaveWorldButton" type="Button" parent="Editor/UI/Editor"] margin_top = 170.0 -margin_right = 110.0 +margin_right = 120.0 margin_bottom = 209.0 text = "Save" -[node name="Label" type="Label" parent="Editor/UI/Editor"] +[node name="GenerateButton" type="Button" parent="Editor/UI/Editor"] margin_top = 213.0 -margin_right = 110.0 -margin_bottom = 246.0 +margin_right = 120.0 +margin_bottom = 252.0 +text = "Generate" + +[node name="Label" type="Label" parent="Editor/UI/Editor"] +margin_top = 256.0 +margin_right = 120.0 +margin_bottom = 289.0 text = "Tiles" [node name="NoneButton" type="Button" parent="Editor/UI/Editor"] -margin_top = 250.0 -margin_right = 110.0 -margin_bottom = 289.0 +margin_top = 293.0 +margin_right = 120.0 +margin_bottom = 332.0 rect_pivot_offset = Vector2( -1239.87, 282.07 ) toggle_mode = true group = SubResource( 3 ) @@ -149,9 +154,9 @@ __meta__ = { } [node name="SandButton" type="Button" parent="Editor/UI/Editor"] -margin_top = 293.0 -margin_right = 110.0 -margin_bottom = 332.0 +margin_top = 336.0 +margin_right = 120.0 +margin_bottom = 375.0 rect_pivot_offset = Vector2( -1239.87, 282.07 ) toggle_mode = true group = SubResource( 3 ) @@ -161,9 +166,9 @@ __meta__ = { } [node name="GrassButton" type="Button" parent="Editor/UI/Editor"] -margin_top = 336.0 -margin_right = 110.0 -margin_bottom = 375.0 +margin_top = 379.0 +margin_right = 120.0 +margin_bottom = 418.0 rect_pivot_offset = Vector2( -1239.87, 282.07 ) toggle_mode = true group = SubResource( 3 ) @@ -273,6 +278,7 @@ __meta__ = { } [node name="TextureRect" type="TextureRect" parent="World/UI/SuccessMessage"] +visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 @@ -475,6 +481,7 @@ render_target_update_mode = 1 [connection signal="pressed" from="Editor/UI/Editor/ClearWorldButton" to="Editor" method="_on_ClearWorldButton_pressed"] [connection signal="pressed" from="Editor/UI/Editor/LoadWorldButton" to="Editor" method="_on_LoadWorldButton_pressed"] [connection signal="pressed" from="Editor/UI/Editor/SaveWorldButton" to="Editor" method="_on_SaveWorldButton_pressed"] +[connection signal="pressed" from="Editor/UI/Editor/GenerateButton" to="Editor" method="_on_GenerateButton_pressed"] [connection signal="bird_flight_start" from="World" to="SoundEffectsPlayer" method="_on_World_bird_flight_start"] [connection signal="digging_started" from="World" to="SoundEffectsPlayer" method="_on_World_digging_started"] [connection signal="level_started" from="World" to="MusicPlayer" method="_on_World_level_started"] diff --git a/scenes/Island.gd b/scenes/Island.gd index fd8cba4..904cdf5 100644 --- a/scenes/Island.gd +++ b/scenes/Island.gd @@ -45,6 +45,64 @@ func clear_island(): update() +func generate_random_walk (length): + + var cur_hex_coord = Vector2(0,0) + var i = length + while (i >= 0): + var cur_world_pos = Globals.HexToWorld(cur_hex_coord) + tiles[cur_world_pos] = "Sand" + var neighbours = Globals.HexGrid.get_hex_at(cur_hex_coord).get_all_adjacent() + var exists = true + for j in range (len(neighbours)): + neighbours[j] = neighbours[j].axial_coords + var rand_idx = randi() % 6 + cur_hex_coord = cur_hex_coord + neighbours[rand_idx] + i = i - 1 + + +func extrude_island(): + var old_tiles = tiles + tiles = {} + + for tile in old_tiles: + var hex_coord = Globals.WorldToHex(tile) + tiles[tile] = "Sand" + var neighbours = Globals.HexGrid.get_hex_at(hex_coord).get_all_adjacent() + for cell in neighbours: + var world_coord = Globals.HexToWorld(hex_coord + cell.axial_coords) + tiles[world_coord] = "Sand" + + +func mark_grass(): + var old_tiles = tiles + tiles = {} + + for tile in old_tiles: + var hex_coord = Globals.WorldToHex(tile) + + var neighbours = Globals.HexGrid.get_hex_at(hex_coord).get_all_adjacent() + var is_center_cell = true + for cell in neighbours: + var world_coord = Globals.HexToWorld(hex_coord + cell.axial_coords) + if not world_coord in old_tiles.keys(): + is_center_cell = false + + if is_center_cell: + tiles[tile] = "Grass" + else: + tiles[tile] = "Sand" + + + +func generate(): + var size = 62 + + generate_random_walk(size) + extrude_island() + mark_grass() + + func calc_bbox(): var coord_min = Vector2.ONE * 10000 var coord_max = Vector2.ONE * -10000 diff --git a/scenes/Water.tscn b/scenes/Water.tscn index c11cccf..35c88cd 100644 --- a/scenes/Water.tscn +++ b/scenes/Water.tscn @@ -6,66 +6,22 @@ [sub_resource type="Shader" id=1] code = "shader_type canvas_item; -uniform vec2 tiled_factor = vec2(5.0, 5.0); +uniform float region_size = 300.0; uniform float aspect_ratio = 0.5; uniform float wave_speed = 0.4; - -vec4 fragment_tiled_voronoi(vec2 uv) { - vec2 tiled_uvs = uv * tiled_factor; - tiled_uvs.y *= aspect_ratio; - - vec2 i_st = floor(tiled_uvs); - vec2 f_st = fract(tiled_uvs); - - vec2 point = vec2 (0.2, 0.2); - - - vec2 diff = point - f_st; - float dist = length(diff); - - return vec4(1.0, 0., 0., 1.0); -} -/* -void fragment_old() { - vec2 tiled_uvs = UV * tiled_factor; - tiled_uvs.y *= aspect_ratio; - - vec2 uv_offset = vec2(0., 0.); -// uv_offset.x = sin(TIME * wave_speed); -// uv_offset.y = cos(TIME * wave_speed); - - tiled_uvs = tiled_uvs; - - vec2 uv_repeat = tiled_uvs; - uv_repeat.x = uv_repeat.x - round(uv_repeat.x) + 0.5; - uv_repeat.y = uv_repeat.y - round(uv_repeat.y) + 0.5; - - vec2 points[5]; - points[0] = vec2(0.83,0.75); - points[1] = vec2(0.60,0.07); - points[2] = vec2(0.28,0.64); - points[3] = vec2(0.31,0.26); - - float m_dist = 1.; - for (int i = 0; i < 5; i++) { - float dist = distance (uv_repeat, points[i]); - m_dist = min(m_dist, dist); - } - - COLOR = vec4(uv_repeat, 0., 1.); - COLOR = vec4(m_dist, m_dist, m_dist, 1.0); -// COLOR = texture(TEXTURE, uv_repeat); -} -*/ +uniform vec4 blue_color : hint_color = vec4(0.04, 0.33, 1.0, 1.); +uniform float exponent = 4.; +uniform float blue_scale = 0.1; +uniform float wave_step = 1.0; vec2 rand(vec2 co){ return vec2( - fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453), - fract(sin(dot(co.yx ,vec2(12.9898,78.233))) * 43758.5453)); + fract(sin(dot(co.xy, vec2(12.9898,78.233))) * 43758.5453), + fract(sin(dot(co.yx, vec2(12.9898,78.233))) * 43758.5453)); } void fragment() { - vec2 tiled_uvs = UV * tiled_factor; + vec2 tiled_uvs = UV * vec2(region_size, region_size); tiled_uvs.y *= aspect_ratio; vec2 i_st = floor(tiled_uvs); @@ -85,21 +41,21 @@ void fragment() { } } - vec4 blue_color = vec4(0.04, 0.33, 1.0, 1.); vec4 m_dist_color = vec4(m_dist, m_dist, m_dist, 1.); - float exponent = 4.; - vec4 color = blue_color + 0.5 * pow(m_dist_color, vec4(exponent, exponent, exponent, 1.)); -// vec4 color = -// color += 1.0 - m_dist; + vec4 color = blue_color + vec4(blue_scale * pow(m_dist, exponent)); COLOR = vec4(color); }" [sub_resource type="ShaderMaterial" id=2] shader = SubResource( 1 ) -shader_param/tiled_factor = Vector2( 300, 300 ) +shader_param/region_size = 999.0 shader_param/aspect_ratio = 0.647 shader_param/wave_speed = 0.4 +shader_param/blue_color = Color( 0, 0.25098, 0.494118, 1 ) +shader_param/exponent = 4.0 +shader_param/blue_scale = 0.04 +shader_param/wave_step = 3.0 [node name="Water" type="Node2D"] diff --git a/scenes/World.gd b/scenes/World.gd index 87b4456..6e8af83 100644 --- a/scenes/World.gd +++ b/scenes/World.gd @@ -707,7 +707,6 @@ func _on_GenerateButton_pressed(): RepeatButton.disabled = true generate() - func _on_BackButton_pressed(): get_tree().change_scene("res://Menu.tscn")