mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: split tutorial bots
This commit is contained in:
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) {
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user