-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Curtis Pelissier
committed
Oct 23, 2023
1 parent
8c0ff91
commit fc95000
Showing
80 changed files
with
180 additions
and
2,911 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Curtis Pelissier | ||
|
||
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. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,56 @@ | ||
# Survivors Starter Kit, a Godot 4 kit | ||
# Survivors Starter Kit, a C# Godot 4 kit | ||
|
||
![banner](.img/banner.jpg) | ||
|
||
This project is inspired by [Vampire Survivors](https://store.steampowered.com/app/1794680/Vampire_Survivors/). With this starter kit, you can begin creating your own "survivors" game with some basics features : | ||
|
||
- Player movement, stats and spells ; | ||
- Enemies and boss spawns and stats ; | ||
- Progression curve ; | ||
- Upgrades (for player and enemies) ; | ||
- Minimal UI. | ||
|
||
**:warning: The project is written in C# (because I'm a Unity game dev and found there wasn't enough C# templates).** | ||
|
||
## Project architecture | ||
|
||
![project_overview_1](.img/project_overview_1.jpg) | ||
|
||
[WIP] | ||
|
||
![autoload](.img/autoload.jpg) | ||
|
||
## Spells | ||
|
||
In this starter kit, only 4 spells are available for the player : | ||
|
||
- Shooting : a basic bullet spawned by the player and moving to the nearest enemy ; | ||
- Lifesteal : a drain life zone around the player which steal enemy's lifepoints while they stay in ; | ||
- Floating Sphere : a sphere floating around the player *[no way!]* and making damages to every enemies it touches ; | ||
- Spirit Water : a damage zone spawning randomly around the player and damaging every enemies in. | ||
|
||
## Enemies | ||
|
||
[WIP] | ||
|
||
## Troubleshooting | ||
|
||
### Q: Opening the project for the first time crashes | ||
|
||
A: Yes I don't really know why, but I think this is due to a global reimport of the project and the application of Jolt as the physic engine. Just close and restart the project, it would be ok. | ||
|
||
### Q: Why using Jolt? | ||
|
||
A: Godot default physic engine is pretty... imprecise. It also is slow compared to Jolt. After many tests, it was impossible to get more than 50 enemies simultaneously with default engine. Using Jolt, I can go to ~200, which is x4 powerful. | ||
|
||
### Q: My game is becoming really slow when going above 200 enemies... | ||
|
||
A: That's because of the physic engine. I can't turn Jolt into multithread for now (and I don't know how to be honest). That's why I tweaked as much as I can to allow 200 enemies to spawn before lowering the FPS. If you want to improve this flow, I'm opened to pull requests! | ||
|
||
## Credits | ||
|
||
- [Godot Jolt](https://github.com/godot-jolt/godot-jolt) by Mikael Hermansson and Godot Jolt contributors ; | ||
- [KayKit - Character Animations](https://kaylousberg.itch.io/kaykit-animations) by [Kay Lousberg](https://kaylousberg.com/) ; | ||
- [KayKit - Dungeon Pack](https://kaylousberg.itch.io/kaykit-dungeon) by [Kay Lousberg](https://kaylousberg.com/) ; | ||
- [KayKit - Skeletons Pack ](https://kaylousberg.itch.io/kaykit-skeletons) by [Kay Lousberg](https://kaylousberg.com/) ; | ||
- [Pattern Pack](https://kenney.nl/assets/pattern-pack) by [Kenney](https://kenney.nl/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project Sdk="Godot.NET.Sdk/4.1.1"> | ||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<EnableDynamicLoading>true</EnableDynamicLoading> | ||
<RootNamespace>SurvivorsStarterKit</RootNamespace> | ||
</PropertyGroup> | ||
</Project> |
Binary file not shown.
Oops, something went wrong.