208 Commits

Author SHA1 Message Date
dependabot[bot]
c42dd309ec Bump actions/checkout from 5 to 6 (#213)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 18:19:30 +01:00
Thaddeus Crews
bca97378f7 Merge pull request #212 from clayjohn/volumetric-fog-46
Re-balance Volumetric Fog settings
2025-11-13 17:48:42 -06:00
clayjohn
5109b6aba6 Adjust volumetric fog settings to be within a reasonable range and avoid taking advantage of the broken transmittance in Godot 4.5 and earlier 2025-11-07 10:50:38 -08:00
Aaron Franke
90f2e38d7b Use static typing in all scripts (#208) 4.5-90f2e38 2025-10-11 05:04:14 -07:00
Hugo Locurcio
5f4c259062 Add MetalFX Spatial and Temporal scaling modes on macOS and iOS (#196)
This is only available on platforms where the Metal rendering
driver is used.

MetalFX can perform better than FSR1/FSR2 and look more stable,
but it goes for a softer look which can give it a lower perceived
resolution.

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2025-10-11 01:49:30 -07:00
Aaron Franke
a3e0b06651 Update TPS demo to Godot 4.5 (#207) 2025-10-09 17:21:23 -07:00
Hugo Locurcio
b314223ae8 Fix typed array error, use modern approach to resolution-independent mouselook (#206)
This fixes error spam when firing bullets in 4.5.
2025-10-08 20:33:13 -07:00
dependabot[bot]
80916778f1 Bump actions/checkout from 4 to 5 (#205) 2025-10-08 20:15:41 -07:00
Aaron Franke
bd9b9ef2fd Update to Godot 4.4 (#203) 2025-03-06 03:34:47 +01:00
Hugo Locurcio
117eca0020 Remove unused resources found with the Orphan Resource Explorer (#201)
This avoids errors on export due to legacy `transform` animation tracks.
2025-02-10 16:16:02 +01:00
Nikita Samusev
cfb9c1d9a2 Make gamepad mapping match genre standards 2025-02-10 15:37:56 +01:00
Hugo Locurcio
3a92da2ed1 Hide menu BackgroundCache node to fully benefit from async. pipeline compilation (#191)
This was an attempt by the game to cache the pipelines ahead of time
for the bullet. However, the title screen does not use SDFGI or VoxelGI,
so the ubershader pipeline pre-compilation is not detecting it should
create these pipelines.

The extra two to four pipelines we're seeing on the first shot are the
new pipelines encountered due to the fact the effect only gets enabled
when starting the game, but the instancing of this bullet ahead of time
is not done there instead.

Merely instancing the bullet scene as hidden fixes this issue immediately,
as hidden surfaces are added to the cache.
2024-10-04 20:59:12 +02:00
Aaron Franke
34b6977f35 Update for Godot 4.3 and fix robot walk sound (#188) 2024-09-17 17:35:58 +02:00
Pedro J. Estébanez
690ee91837 Remove superfluous and wrong logic to reuse cached load (#186) 2024-08-06 22:53:35 +02:00
Hugo Locurcio
34c05068ef Remove dangling .import files with no source asset (#185)
Command used to list dangling `.import` files:

    shopt -s globstar
    for file in **/*.import; do ls ${file//.import/} > /dev/null; done
2024-06-18 17:02:13 +02:00
Hugo Locurcio
7959fb1a20 Update screenshot for Godot 4.x 2024-03-27 22:02:34 +01:00
Hugo Locurcio
f0587b2163 Use a deadzone of 0.2 for all actions, allow gamepad input from all devices
This matches input recommendations in recent Godot versions.
4.2-f0587b2
2024-03-27 20:18:32 +01:00
Rémi Verschelde
adc0ec7561 Merge pull request #181 from Calinou/use-anisotropic-filtering
Use anisotropic filtering to improve texture appearance at oblique angles
2024-03-26 13:39:35 +01:00
Hugo Locurcio
1118fafcfd Use anisotropic filtering to improve texture apperance at oblique angles 2024-02-10 20:03:00 +01:00
Rémi Verschelde
32f43f4b55 Fix file permissions after #184 2024-01-25 14:57:05 +01:00
JohnLogostini
518df675a5 Fixed several visual errors that only appeared under Linux (#184)
* Fixed the font under Linux appearing crazy thin
* Fixed Material 001 failing to compile under Linux
* Fixed the god ray materials appearing incorrectly in Linux
* Fixed spark FX not displaying as intended on Linux
* Fixed the Red Robots laser displaying incorrectly under Linux
* Fixed the Blast Material from the player weapon displaying as a opaque card under Linux
2024-01-25 00:59:07 +01:00
Hugo Locurcio
241b450ed6 Improve particles and VFX, add blob shadow below player and enemies (#180)
- Add projector light textures.
- Tweak the flying forklift's dynamic light and particles to be more noticeable.
- Add bullet impact particles with collision against level geometry
  (using a generated SDF).
- Don't use fixed FPS and disable interpolation to make particles smoother
  (trails aren't used, so fixed FPS isn't strictly needed).
- Add proximity fade to some particles to smooth out the transition
  with solid geometry.
- Fix some particles being shaded when they should be unshaded.
- Reduce crosshair size to be more subtle while aiming.
2023-12-01 12:32:06 +01:00
Rémi Verschelde
9024e4cc77 Merge pull request #179 from Calinou/improve-visuals
Improve visuals and settings menus, fix overly strong lights
2023-11-30 15:46:28 +01:00
Hugo Locurcio
93556f77ad Fix aiming camera transition (#178)
This also speeds up the aiming transition to better match
other third-person games that feature aiming.
2023-11-30 14:53:20 +01:00
Hugo Locurcio
374bd8d78c Improve visuals and settings menus, fix overly strong lights
- Fix lights being overly strong due to an excessive range,
  which led to clustering artifacts.
- Make VoxelGI and SDFGI brighter to make the scene more readable.
- Tweak spotlight colors to better match their emitter material.
- Make the core light orange-red to make it look more "unique" in the scene.
- Add window mode, V-Sync and FPS limit options.
- Add resolution scale and scale filter options (bilinear, FSR1, FSR2).
  The default is to use FSR2 at native resolution to provide high-quality
  temporal antialiasing.
- Add volumetric fog (enabled by default), used as a volumetric lighting
  solution.
- Add SSIL option (disabled by default), which helps better ground some
  objects in the scene.
- Refactor settings code to use ConfigFile instead of manual JSON serialization.
- Reorder settings to feature video settings first, then rendering settings.
- Order settings from least expensive to most expensive.
- Add performance color hints for settings
  (green = fast, yellow = average, orange = slow, red = slowest).
- Add volumetric fog and a fake bounce light to the menu.
- Make all setting changes effective in the menu.
- Tweak shadow settings to improve performance and visual consistency.
- Render GI at full-resolution to improve temporal stability when using
  FSR2 or TAA. Using upscaling should be preferred instead,
  since this demo relies on strong GI effects to look good.
- Improve menu theming using the StyleBoxFlat Skew property.
- Use the `canvas_items` stretch mode to match 3.x demo behavior, which
  used the `2d` stretch mode but wasn't ported over by the project converter.
- Only display multiplayer ID in the debug menu if currently online.
- Fix menu not using `experiment.hdr` for reflections as intended.
- Remove unused menu button textures (these were replaced by StyleBoxFlat
  in the 4.0 port).
2023-11-30 05:43:49 +01:00
Rémi Verschelde
99f49b5be9 Merge pull request #177 from Calinou/update-to-4.2
Update mesh format for Godot 4.2
2023-11-28 16:46:38 +01:00
Hugo Locurcio
79df12923e Update mesh format for Godot 4.2
No manual changes were made to the project.
2023-11-28 16:40:22 +01:00
dependabot[bot]
ceb92d064c Bump actions/checkout from 3 to 4 (#174)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 17:39:51 +02:00
Hugo Locurcio
635aff4dee Update README to account for 4.0-dev -> master branch migration 2023-06-28 11:58:49 +02:00
Clay John
bd457e3de0 Improve Main Menu options and fix misc bugs (#166) 2023-03-26 22:40:22 +02:00
Fabio Alessandrelli
bb833aa97c Add support for networked multiplayer (#163) 2023-03-06 18:33:21 +01:00
Clay John
2beb6c4587 Update various resources to 4.0 format (#161)
- Fix some warnings.
- Add in missing audio.
2023-02-14 00:49:53 +01:00
Hugo Locurcio
2f67daf6b2 Add controls to the README (4.0-dev) (#160) 2023-02-07 15:17:25 +01:00
Clay John
f41444c0bf Port TPS demo to 4.0 (#158)
The settings menu isn't functional yet and some sounds don't play,
but the base functionality is working.
2023-02-04 18:20:45 +01:00
Hugo Locurcio
df9e4976da Enable 8× anisotropic filtering on textures (#154) 2022-12-18 15:51:34 +01:00
Hugo Locurcio
08402196fe Disable vertex compression on level geometry to prevent visual artifacts (#152)
fixes https://github.com/godotengine/tps-demo/issues/143
2022-12-18 15:25:19 +01:00
Hugo Locurcio
79b67eba93 Fix occluder shape placement in the level causing too much occlusion (#150)
closes https://github.com/godotengine/tps-demo/issues/148
2022-12-18 15:24:55 +01:00
Hugo Locurcio
3512cff171 Improve fog configuration (#149) 2022-12-18 15:22:46 +01:00
Aidan Rhoden
fab68bcd7e Apply gravity to Red Robot while idle (#145) 2022-10-10 16:00:47 +02:00
Hugo Locurcio
f7951bc373 Merge pull request #130 from Calinou/enable-async-shader-compilation 2022-10-09 23:16:24 +02:00
Hugo Locurcio
170772f78f Merge pull request #134 from Calinou/add-fxaa-setting 2022-09-11 18:56:05 +02:00
Hugo Locurcio
3adf20c7fe Merge pull request #132 from Calinou/tweak-effect-cast-shadow 2022-09-11 18:55:50 +02:00
Hugo Locurcio
d64969f9f7 Disable shadow casting for short-lived effects
This improves performance when the player or enemy fires their weapon,
or when an enemy dies. This may also help reduce shader compilation stutter
on the first playthrough (even when asynchronous compilation is enabled).
2022-09-11 18:53:32 +02:00
Hugo Locurcio
d486faf047 Enable asynchronous shader compilation and caching
This mitigates shader compilation stutter, especially after an
initial playthrough thanks to caching.

This requires Godot 3.5 or later to have an effect.
2022-09-11 18:52:07 +02:00
Hugo Locurcio
824b38c399 Add a FXAA setting to the options menu
This is enabled by default to improve visual quality at a low
performance cost.
2022-09-11 18:45:24 +02:00
Hugo Locurcio
c2e20dc101 Merge pull request #137 from Calinou/increase-movement-speed 2022-09-11 18:45:06 +02:00
Hugo Locurcio
7f328a09eb Increase player movement speed slightly
- Increase movement speed while walking by 10%.
- Increase movement speed while aiming by 20%.
- Increase blend transition time from 0.15 to 0.20 seconds for more
  natural transitions when aiming or jumping.
2022-09-11 18:17:09 +02:00
Hugo Locurcio
967344a45d Merge pull request #141 from aidan-j-rhoden/update-gotot-version 2022-08-17 22:46:56 +02:00
Aidan Rhoden
b3143f9ad6 Update README.md to Godot 3.5.x 2022-08-17 14:14:34 -05:00
Hugo Locurcio
15fd5df21c Merge pull request #131 from Calinou/enable-physical-light-attenuation 2022-08-17 17:34:32 +02:00