Add files via upload

This commit is contained in:
thelastflapjack 2022-09-03 12:33:57 +01:00 committed by GitHub
parent 6025e2ace9
commit 4e2b21b3a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 357 additions and 0 deletions

20
MIT_LICENSE.txt Normal file
View file

@ -0,0 +1,20 @@
Created by: thelastflapjack (https://thelastflapjack.itch.io/)
Available at: https://thelastflapjack.itch.io/open-target-shooter
---------------------------------------------
MIT license text (https://mit-license.org/):
Copyright © 2022 thelastflapjack
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

9
README.txt Normal file
View file

@ -0,0 +1,9 @@
All files except those contained within the raw_assets folder are distributed under MIT_LICENSE.txt
For files in the raw_assets directory, see the LICENSE.txt file contained in the same folder as the files it covers.
For example: [.\raw_assets\images_icons\badges\LICENSE.txt] is the license which covers all files contained directly under the
[.\raw_assets\images_icons\badges] folder, this does not include sub folders of [.\raw_assets\images_icons\badges].
--------------------
Thanks for taking an interest in my project, I have other open source projects on my itch page (https://thelastflapjack.itch.io/).

21
audio_bus_layout.tres Normal file
View file

@ -0,0 +1,21 @@
[gd_resource type="AudioBusLayout" format=2]
[resource]
bus/1/name = "SoundEffects"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = 0.0
bus/1/send = "Master"
bus/2/name = "Music"
bus/2/solo = false
bus/2/mute = false
bus/2/bypass_fx = false
bus/2/volume_db = 0.0
bus/2/send = "Master"
bus/3/name = "UISounds"
bus/3/solo = false
bus/3/mute = false
bus/3/bypass_fx = false
bus/3/volume_db = 0.0
bus/3/send = "Master"

282
project.godot Normal file
View file

@ -0,0 +1,282 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
_global_script_classes=[ {
"base": "Resource",
"class": "Badge",
"language": "GDScript",
"path": "res://src/badges/badge.gd"
}, {
"base": "Node",
"class": "BadgeTracker",
"language": "GDScript",
"path": "res://src/level_components/level_sub_managers/badge_tracker.gd"
}, {
"base": "KinematicBody",
"class": "Bullet",
"language": "GDScript",
"path": "res://src/weapons/bullets/bullet.gd"
}, {
"base": "Node",
"class": "BulletManager",
"language": "GDScript",
"path": "res://src/level_components/level_sub_managers/bullet_manager.gd"
}, {
"base": "Area",
"class": "CameraTraumaCauser",
"language": "GDScript",
"path": "res://src/camera_systems/camera_shake/camera_trauma_causer.gd"
}, {
"base": "Area",
"class": "CameraTraumaDetector",
"language": "GDScript",
"path": "res://src/camera_systems/camera_shake/camera_trauma_detector.gd"
}, {
"base": "Reference",
"class": "GenUtils",
"language": "GDScript",
"path": "res://src/global_utilities/general_utilities.gd"
}, {
"base": "Button",
"class": "LevelButton",
"language": "GDScript",
"path": "res://src/ui/main_menu/level_select/level_button/level_button.gd"
}, {
"base": "Resource",
"class": "LevelCamSysStatePosiionData",
"language": "GDScript",
"path": "res://src/camera_systems/level_camera/state_machine/state_position_data_OLD/state_position_data.gd"
}, {
"base": "Spatial",
"class": "LevelCameraSystem",
"language": "GDScript",
"path": "res://src/camera_systems/level_camera/level_cam_sys.gd"
}, {
"base": "State",
"class": "LevelCameraSystemState",
"language": "GDScript",
"path": "res://src/camera_systems/level_camera/state_machine/level_cam_sys_state.gd"
}, {
"base": "Spatial",
"class": "LevelManager",
"language": "GDScript",
"path": "res://src/level_components/level.gd"
}, {
"base": "CanvasLayer",
"class": "LevelUI",
"language": "GDScript",
"path": "res://src/ui/level_ui/level_ui.gd"
}, {
"base": "Control",
"class": "MultiPageUIMagager",
"language": "GDScript",
"path": "res://src/ui/multi_page_ui/manager.gd"
}, {
"base": "Control",
"class": "MultiPageUIPage",
"language": "GDScript",
"path": "res://src/ui/multi_page_ui/page.gd"
}, {
"base": "KinematicBody",
"class": "Player",
"language": "GDScript",
"path": "res://src/actor/player/player.gd"
}, {
"base": "Control",
"class": "PlayerHUD",
"language": "GDScript",
"path": "res://src/ui/player_hud/player_hud.gd"
}, {
"base": "State",
"class": "PlayerState",
"language": "GDScript",
"path": "res://src/actor/player/state_machine/player_state.gd"
}, {
"base": "Spatial",
"class": "PopupTarget",
"language": "GDScript",
"path": "res://src/level_components/targets/popup_target/popup_target.gd"
}, {
"base": "VBoxContainer",
"class": "RunSummaryBadgeIcon",
"language": "GDScript",
"path": "res://src/ui/run_summary_page/badge_icon/run_summary_badge_icon.gd"
}, {
"base": "Reference",
"class": "SaveLoad",
"language": "GDScript",
"path": "res://src/global_utilities/saveload.gd"
}, {
"base": "ClippedCamera",
"class": "ShakeableClippedCamera",
"language": "GDScript",
"path": "res://src/camera_systems/camera_shake/shakeable_clipped_camera.gd"
}, {
"base": "Node",
"class": "State",
"language": "GDScript",
"path": "res://src/generic/state_machine/state.gd"
}, {
"base": "Node",
"class": "StateMachine",
"language": "GDScript",
"path": "res://src/generic/state_machine/state_machine.gd"
}, {
"base": "StaticBody",
"class": "Target",
"language": "GDScript",
"path": "res://src/level_components/targets/target.gd"
}, {
"base": "Node",
"class": "TargetManager",
"language": "GDScript",
"path": "res://src/level_components/level_sub_managers/target_manager.gd"
}, {
"base": "Spatial",
"class": "Weapon",
"language": "GDScript",
"path": "res://src/weapons/weapon.gd"
} ]
_global_script_class_icons={
"Badge": "",
"BadgeTracker": "",
"Bullet": "",
"BulletManager": "",
"CameraTraumaCauser": "",
"CameraTraumaDetector": "",
"GenUtils": "",
"LevelButton": "",
"LevelCamSysStatePosiionData": "",
"LevelCameraSystem": "",
"LevelCameraSystemState": "",
"LevelManager": "",
"LevelUI": "",
"MultiPageUIMagager": "",
"MultiPageUIPage": "",
"Player": "",
"PlayerHUD": "",
"PlayerState": "",
"PopupTarget": "",
"RunSummaryBadgeIcon": "",
"SaveLoad": "",
"ShakeableClippedCamera": "",
"State": "",
"StateMachine": "",
"Target": "",
"TargetManager": "",
"Weapon": ""
}
[application]
config/name="open_target_shooter"
run/main_scene="res://src/main/main.tscn"
[audio]
default_bus_layout="res://audio_bus_layout.tres"
[autoload]
UserPreferences="*res://src/autoloads/user_preferences.gd"
Groups="*res://src/autoloads/groups.gd"
[display]
window/size/width=1980
window/size/height=1080
window/size/fullscreen=true
window/stretch/mode="viewport"
window/stretch/aspect="expand"
[input]
ui_cancel={
"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":16777217,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":10,"pressure":0.0,"pressed":false,"script":null)
]
}
player_forward={
"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":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
]
}
player_backward={
"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":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
]
}
player_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":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
]
}
player_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":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
]
}
player_jump={
"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,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":4,"pressure":0.0,"pressed":false,"script":null)
]
}
player_roll={
"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":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":5,"pressure":0.0,"pressed":false,"script":null)
]
}
player_shoot={
"deadzone": 0.5,
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
]
}
player_run={
"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":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
]
}
player_aim={
"deadzone": 0.5,
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":2,"pressed":false,"doubleclick":false,"script":null)
]
}
player_reload={
"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":82,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
]
}
player_next_weapon={
"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":81,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
]
}
[layer_names]
3d_physics/layer_1="Environment"
3d_physics/layer_2="Player"
3d_physics/layer_3="Target"
3d_physics/layer_4="Bullet"
3d_physics/layer_5="OneWayBarrier"
3d_physics/layer_6="CamTraumaCauser"
3d_physics/layer_7="CamTraumaDetector"
[rendering]
quality/filters/msaa=2
environment/default_environment="res://world_env.tres"

25
world_env.tres Normal file
View file

@ -0,0 +1,25 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
sky_top_color = Color( 0.227451, 0.635294, 0.882353, 1 )
sky_horizon_color = Color( 0.654902, 0.862745, 0.988235, 1 )
ground_bottom_color = Color( 0.654902, 0.862745, 0.988235, 1 )
ground_horizon_color = Color( 0.654902, 0.862745, 0.988235, 1 )
sun_color = Color( 0.560784, 0.188235, 0.0235294, 1 )
sun_latitude = 40.0
sun_longitude = -150.0
sun_angle_max = 30.0
sun_energy = 30.0
[resource]
background_mode = 2
background_sky = SubResource( 1 )
ambient_light_color = Color( 0.760784, 0.760784, 0.760784, 1 )
ambient_light_energy = 0.4
ambient_light_sky_contribution = 0.5
fog_color = Color( 0.301961, 0.482353, 0.6, 1 )
tonemap_mode = 3
tonemap_exposure = 0.7
tonemap_white = 1.5
adjustment_enabled = true
adjustment_contrast = 1.1