feat: split tutorial bots

This commit is contained in:
TrèsAbhi committed 2024-01-20 13:43:03 -06:00
1 parent a362301515
commit 417858f21a
6 files changed
+16 -5

No files matched your search

@@ -88,7 +88,7 @@ void main() {
}
if (canSplash) {
float reducedFinalThickness = finalThickness * (5.0 / 11.0);
float reducedFinalThickness = finalThickness * (1.0 / 10.0);
float splashDelta = reducedFinalThickness - piercedPenetration;
if (splashDelta > randomRadius) {
+3 -2
View File
@@ -59,7 +59,7 @@ interface GunDefinitionAutoReloader {
interClip: number;
count: number;
}
export interface ShellDefinition {
export type ShellDefinition = {
id: number;
name: string;
speed: number;
@@ -70,7 +70,8 @@ export interface ShellDefinition {
type: ShellType;
normalization?: number;
ricochet?: number;
}
explosionRadius?: number;
};
export const tankDefinitions = fetch(asset('definitions/tanks.json'), {
cache: 'no-cache',