Skip to content

Commit

Permalink
feat(game): Add Three Peaks map (#87)
Browse files Browse the repository at this point in the history
Closes #66
  • Loading branch information
elementbound authored Nov 11, 2023
1 parent 7e1dafa commit 9b52bc4
Show file tree
Hide file tree
Showing 11 changed files with 1,591 additions and 92 deletions.
94 changes: 3 additions & 91 deletions examples/forest-brawl/forest-brawl.tscn
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
[gd_scene load_steps=26 format=3 uid="uid://cwh2p0qb5872o"]
[gd_scene load_steps=19 format=3 uid="uid://cwh2p0qb5872o"]

[ext_resource type="MeshLibrary" uid="uid://do0y7f0sy12jg" path="res://examples/forest-brawl/models/forest-blocks.meshlib" id="1_bifsy"]
[ext_resource type="PackedScene" uid="uid://ble0j0npslm4j" path="res://examples/forest-brawl/models/kenney-platformer-kit/flowers.glb" id="2_q0d6t"]
[ext_resource type="PackedScene" uid="uid://b16iwdgqjfxgo" path="res://examples/forest-brawl/models/kenney-platformer-kit/mushrooms.glb" id="3_a3ksr"]
[ext_resource type="PackedScene" uid="uid://dsk6x773uq4ej" path="res://examples/forest-brawl/models/kenney-platformer-kit/plant.glb" id="4_0jc3h"]
[ext_resource type="PackedScene" uid="uid://d1544gxqaoptc" path="res://examples/forest-brawl/maps/three-peaks.tscn" id="1_xksrt"]
[ext_resource type="Script" path="res://examples/forest-brawl/scripts/brawler-spawner.gd" id="5_qv1fx"]
[ext_resource type="Script" path="res://examples/forest-brawl/scripts/following-camera.gd" id="5_yxhn7"]
[ext_resource type="PackedScene" uid="uid://wi4owat0bml3" path="res://examples/forest-brawl/scenes/brawler.tscn" id="7_tcy3g"]
[ext_resource type="PackedScene" uid="uid://ijqx6kjl3qf4" path="res://examples/forest-brawl/scenes/powerup.tscn" id="9_55gdr"]
[ext_resource type="PackedScene" uid="uid://bpf1jdr255nr0" path="res://examples/shared/ui/time-display.tscn" id="9_d2tot"]
[ext_resource type="Script" path="res://examples/forest-brawl/scripts/score-manager.gd" id="9_vxjwh"]
[ext_resource type="LabelSettings" uid="uid://b4u1aluftkajy" path="res://examples/forest-brawl/ui-settings/player-stat-label.tres" id="10_0ix7v"]
Expand All @@ -22,96 +18,12 @@
[ext_resource type="Script" path="res://examples/forest-brawl/scripts/settings/fullscreen-checkbutton.gd" id="14_h1iqv"]
[ext_resource type="Script" path="res://examples/forest-brawl/scripts/settings/volume-slider.gd" id="16_6pky3"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_b8qyu"]

[sub_resource type="Sky" id="Sky_g0uhm"]
sky_material = SubResource("ProceduralSkyMaterial_b8qyu")

[sub_resource type="Environment" id="Environment_5cni7"]
background_mode = 2
sky = SubResource("Sky_g0uhm")
tonemap_mode = 2

[sub_resource type="LabelSettings" id="LabelSettings_l686d"]
font_size = 64

[node name="Forest Brawl" type="Node3D"]

[node name="Map" type="Node" parent="."]

[node name="GridMap" type="GridMap" parent="Map"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 0, -8)
mesh_library = ExtResource("1_bifsy")
cell_size = Vector3(1, 1, 1)
cell_center_y = false
data = {
"cells": PackedInt32Array(0, 65531, 0, 65535, 65531, 0, 0, 65530, 0, 65535, 65530, 0, 65534, 65532, 655362, 65535, 65532, 1048576, 0, 65532, 655361, 65534, 65531, 1048577, 65534, 65530, 1048577, 5, 65530, 1441793, 5, 65531, 1441793, 5, 65532, 1441794, 65534, 65525, 1048578, 65535, 65525, 1, 0, 65525, 1, 5, 65525, 2, 1, 65531, 1441792, 1, 65530, 1441792, 2, 65530, 1441792, 2, 65531, 1441792, 3, 65531, 1441792, 3, 65530, 1441792, 4, 65530, 1441792, 4, 65531, 1441792, 4, 65529, 1441792, 4, 65528, 1441792, 4, 65527, 1441792, 4, 65526, 1441792, 3, 65526, 1441792, 2, 65526, 1441792, 1, 65527, 1441792, 1, 65526, 1441792, 0, 65526, 1441792, 0, 65527, 1441792, 65535, 65527, 1441792, 65535, 65526, 1441792, 65535, 65528, 1441792, 65535, 65529, 1441792, 0, 65529, 1441792, 0, 65528, 1441792, 1, 65529, 1441792, 1, 65528, 1441792, 2, 65528, 1441792, 2, 65527, 1441792, 3, 65527, 1441792, 3, 65528, 1441792, 3, 65529, 1441792, 2, 65529, 1441792, 65534, 65529, 1048577, 65534, 65528, 1048577, 65534, 65527, 1048577, 65534, 65526, 1048577, 1, 65525, 1, 2, 65525, 1, 3, 65525, 1, 4, 65525, 1, 5, 65526, 1441793, 5, 65527, 1441793, 5, 65528, 1441793, 5, 65529, 1441793, 4, 65532, 655361, 3, 65532, 655361, 2, 65532, 655361, 1, 65532, 655361, 20, 2, 1048578, 20, 3, 1048577, 20, 4, 1048577, 20, 5, 1048577, 20, 6, 1048576, 20, 7, 1048577, 20, 8, 1048577, 20, 9, 655362, 21, 2, 1, 21, 3, 1441792, 21, 4, 1441792, 21, 5, 1441792, 21, 6, 1048576, 21, 7, 0, 21, 8, 0, 21, 9, 655361, 22, 2, 1, 22, 3, 1441792, 22, 4, 1441792, 22, 5, 1441792, 22, 6, 1441792, 22, 7, 1048576, 22, 8, 0, 22, 9, 655361, 23, 2, 1, 23, 3, 1441792, 23, 4, 1441792, 23, 5, 1441792, 23, 6, 1441792, 23, 7, 1048576, 23, 8, 1441792, 23, 9, 655361, 24, 2, 1, 24, 3, 1441792, 24, 4, 1441792, 24, 5, 1441792, 24, 6, 1441792, 24, 7, 1048576, 24, 8, 1441792, 24, 9, 655361, 25, 2, 1, 25, 3, 1441792, 25, 4, 1441792, 25, 5, 1441792, 25, 6, 1441792, 25, 7, 1441792, 25, 8, 1441792, 25, 9, 655361, 26, 2, 1, 26, 3, 1441792, 26, 4, 1441792, 26, 5, 1441792, 26, 6, 1441792, 26, 7, 1441792, 26, 8, 1441792, 26, 9, 655361, 27, 2, 2, 27, 3, 1441793, 27, 4, 1441793, 27, 5, 1441793, 27, 6, 1441793, 27, 7, 1441793, 27, 8, 1441793, 27, 9, 1441794, 65525, 13, 1048578, 65525, 14, 1048577, 65525, 15, 1048577, 65525, 16, 1048577, 65525, 17, 1048577, 65525, 18, 1048577, 65525, 19, 1048577, 65525, 20, 655362, 65526, 13, 1, 65526, 14, 1441792, 65526, 15, 1441792, 65526, 16, 1441792, 65526, 17, 1441792, 65526, 18, 0, 65526, 19, 0, 65526, 20, 655361, 65527, 13, 1, 65527, 14, 1441792, 65527, 15, 1441792, 65527, 16, 1441792, 65527, 17, 1441792, 65527, 18, 0, 65527, 19, 0, 65527, 20, 655361, 65528, 13, 1, 65528, 14, 1441792, 65528, 15, 1441792, 65528, 16, 1441792, 65528, 17, 1441792, 65528, 18, 1441792, 65528, 19, 1441792, 65528, 20, 655361, 65529, 13, 1, 65529, 14, 1441792, 65529, 15, 1441792, 65529, 16, 1441792, 65529, 17, 1441792, 65529, 18, 1441792, 65529, 19, 1441792, 65529, 20, 655361, 65530, 13, 1, 65530, 14, 1441792, 65530, 15, 1441792, 65530, 16, 1441792, 65530, 17, 1441792, 65530, 18, 1441792, 65530, 19, 1441792, 65530, 20, 655361, 65531, 13, 1048576, 65531, 14, 1048576, 65531, 15, 1441792, 65531, 16, 1441792, 65531, 17, 1441792, 65531, 18, 1441792, 65531, 19, 1441792, 65531, 20, 655361, 65532, 13, 1048576, 65532, 14, 1441793, 65532, 15, 1441793, 65532, 16, 1441793, 65532, 17, 1441793, 65532, 18, 1441793, 65532, 19, 1441793, 65532, 20, 1441794, 13, 5, 655360, 12, 5, 655360, 11, 5, 655360, 10, 5, 655360, 9, 5, 655360, 8, 5, 655360, 7, 5, 655360, 6, 5, 655360, 6, 6, 655360, 5, 6, 655360, 4, 7, 655360, 4, 8, 655360, 4, 9, 655360, 4, 10, 655360, 5, 11, 655360, 5, 12, 655360, 6, 12, 655360, 7, 12, 655360, 7, 13, 655360, 8, 13, 655360, 9, 13, 655360, 10, 12, 655360, 11, 11, 655360, 12, 11, 655360, 13, 10, 655360, 14, 9, 655360, 14, 8, 655360, 14, 7, 655360, 13, 7, 655360, 12, 6, 655360, 5, 7, 655360, 5, 8, 655360, 5, 9, 655360, 6, 10, 655360, 7, 11, 655360, 8, 11, 655360, 9, 11, 655360, 10, 10, 655360, 11, 10, 655360, 11, 9, 655360, 12, 9, 655360, 12, 8, 655360, 13, 8, 655360, 13, 6, 655360, 14, 6, 655360, 14, 5, 655360, 12, 10, 655360, 10, 11, 655360, 8, 12, 655360, 9, 12, 655360, 6, 11, 655360, 6, 9, 655360, 5, 10, 655360, 6, 8, 655360, 6, 7, 655360, 7, 6, 655360, 8, 6, 655360, 9, 6, 655360, 10, 6, 655360, 11, 6, 655360, 13, 9, 655360, 12, 7, 655360, 10, 7, 655360, 9, 7, 655360, 8, 7, 655360, 8, 8, 655360, 7, 8, 655360, 7, 9, 655360, 8, 10, 655360, 8, 9, 655360, 7, 7, 655360, 7, 10, 655360, 9, 10, 655360, 9, 9, 655360, 9, 8, 655360, 10, 8, 655360, 11, 8, 655360, 11, 7, 655360, 10, 9, 655360, 5, 5, 655360, 4, 5, 655360, 3, 5, 655360, 3, 6, 655360, 3, 7, 655360, 4, 11, 655360, 4, 12, 655360, 4, 13, 655360, 3, 12, 655360, 3, 8, 655360, 4, 6, 655360, 3, 9, 655360, 3, 10, 655360, 3, 11, 655360, 3, 13, 655360, 5, 13, 655360, 6, 13, 655360, 12, 13, 655360, 13, 13, 655360, 14, 13, 655360, 15, 13, 655360, 15, 12, 655360, 14, 12, 655360, 15, 11, 655360, 14, 11, 655360, 14, 10, 655360, 15, 10, 655360, 13, 12, 655360, 13, 11, 655360, 15, 9, 655360, 15, 8, 655360, 15, 7, 655360, 15, 6, 1048576, 15, 5, 655360, 15, 14, 655361, 14, 14, 655361, 13, 14, 655361, 12, 14, 655361, 11, 14, 655361, 10, 14, 655361, 9, 14, 655361, 5, 14, 655361, 4, 14, 655361, 3, 14, 655361, 2, 13, 1048577, 2, 12, 1048577, 2, 11, 1048577, 2, 10, 1048577, 2, 9, 1048577, 2, 8, 1048577, 2, 7, 1048576, 2, 6, 1048577, 2, 5, 1048577, 3, 4, 1, 4, 4, 1, 5, 4, 1, 6, 4, 1, 7, 4, 1, 8, 4, 1, 9, 4, 1, 10, 4, 1, 11, 4, 1, 12, 4, 1, 13, 4, 1, 14, 4, 1, 15, 4, 1, 16, 5, 1441793, 16, 6, 1048576, 16, 7, 1441793, 16, 8, 1441793, 16, 9, 1441793, 16, 10, 1441793, 16, 11, 1441793, 16, 12, 1441793, 16, 13, 1441793, 16, 4, 2, 16, 14, 1441794, 2, 14, 655362, 2, 4, 1048578, 12, 12, 655360, 11, 12, 655360, 11, 13, 655360, 10, 13, 655360, 8, 14, 655361, 7, 14, 655361, 6, 14, 655361, 65535, 65533, 1048576, 65535, 65534, 1048576, 65535, 65535, 1048576, 65535, 0, 1048576, 65535, 1, 1048576, 65535, 2, 1048576, 65535, 4, 1048576, 0, 4, 1048576, 0, 5, 1048576, 0, 6, 1048576, 0, 7, 1048576, 1, 7, 1048576, 1, 65535, 1048576, 0, 65535, 1048576, 65534, 65535, 1048576, 65534, 0, 1048576, 1, 0, 1048576, 65535, 5, 1048576, 65535, 6, 1048576, 65535, 7, 1048576, 65535, 8, 1048576, 65535, 9, 1048576, 65534, 10, 1048576, 65533, 10, 1048576, 65533, 11, 1048576, 65532, 11, 1048576, 65532, 12, 1048576, 17, 6, 1048576, 18, 6, 1048576, 19, 6, 1048576, 65535, 3, 1048576, 0, 0, 1048576, 65534, 9, 0, 65535, 10, 0, 65534, 11, 0, 65533, 12, 0, 65531, 12, 0)
}
metadata/_editor_floor_ = Vector3(0, 0, 0)

[node name="Powerup" parent="Map" instance=ExtResource("9_55gdr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.00248, 3, 0.00557518)

[node name="Powerup2" parent="Map" instance=ExtResource("9_55gdr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.99752, 3, -14.9944)

[node name="Powerup3" parent="Map" instance=ExtResource("9_55gdr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.9975, 3, 9.00558)

[node name="Foliage" type="Node" parent="Map"]

[node name="flowers" parent="Map/Foliage" instance=ExtResource("2_q0d6t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.45702, 1, -1.05848)

[node name="flowers2" parent="Map/Foliage" instance=ExtResource("2_q0d6t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.543, 1, 3.9415)

[node name="flowers3" parent="Map/Foliage" instance=ExtResource("2_q0d6t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.2015, 1, 0.84537)

[node name="flowers4" parent="Map/Foliage" instance=ExtResource("2_q0d6t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.5772, 1, 1.49496)

[node name="mushrooms" parent="Map/Foliage" instance=ExtResource("3_a3ksr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.6467, 1, -13.6528)

[node name="mushrooms2" parent="Map/Foliage" instance=ExtResource("3_a3ksr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.6467, 1, -17.6528)

[node name="mushrooms3" parent="Map/Foliage" instance=ExtResource("3_a3ksr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.07012, 1, -15.1469)

[node name="plant" parent="Map/Foliage" instance=ExtResource("4_0jc3h")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.6591, 1, 6.7486)

[node name="plant2" parent="Map/Foliage" instance=ExtResource("4_0jc3h")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5256, 1, 10.0441)

[node name="plant3" parent="Map/Foliage" instance=ExtResource("4_0jc3h")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.3956, -2.20899, 10.0441)

[node name="Spawn Points" type="Node" parent="Map"]

[node name="Spawn" type="Node3D" parent="Map/Spawn Points" groups=["Spawn Points"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, 0)

[node name="Spawn2" type="Node3D" parent="Map/Spawn Points" groups=["Spawn Points"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17, 4, 11)

[node name="Spawn3" type="Node3D" parent="Map/Spawn Points" groups=["Spawn Points"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 4, -2)

[node name="Spawn4" type="Node3D" parent="Map/Spawn Points" groups=["Spawn Points"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 4, -18)

[node name="Environment" type="Node" parent="."]

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Environment"]
transform = Transform3D(0.5, 0.612372, -0.612372, 0, 0.707107, 0.707107, 0.866025, -0.353553, 0.353553, -6.7361, 8.77817, 3.88909)
shadow_enabled = true

[node name="WorldEnvironment" type="WorldEnvironment" parent="Environment"]
environment = SubResource("Environment_5cni7")
[node name="Three Peaks Map" parent="." instance=ExtResource("1_xksrt")]

[node name="Network" type="Node" parent="."]

Expand Down
Loading

0 comments on commit 9b52bc4

Please sign in to comment.