├── .babelrc ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── package.json ├── public └── index.html ├── screenshot.png ├── src ├── App.scss ├── Types.ts ├── components │ ├── Defeat.tsx │ ├── Display.tsx │ └── Overlay.tsx ├── constants │ ├── ActionType.ts │ └── index.ts ├── functions │ ├── addOverlay.tsx │ ├── addWindowEvents.ts │ ├── createShader.ts │ └── tick.ts ├── img │ └── money.png ├── index.d.ts ├── index.ts ├── reducers │ └── gameState.ts └── shaders │ ├── fog.frag │ ├── index.ts │ ├── scanlines.frag │ └── vignette.frag ├── tsconfig.json ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/package.json -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/public/index.html -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/screenshot.png -------------------------------------------------------------------------------- /src/App.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/App.scss -------------------------------------------------------------------------------- /src/Types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/Types.ts -------------------------------------------------------------------------------- /src/components/Defeat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/components/Defeat.tsx -------------------------------------------------------------------------------- /src/components/Display.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/components/Display.tsx -------------------------------------------------------------------------------- /src/components/Overlay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/components/Overlay.tsx -------------------------------------------------------------------------------- /src/constants/ActionType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/constants/ActionType.ts -------------------------------------------------------------------------------- /src/constants/index.ts: -------------------------------------------------------------------------------- 1 | export const laneWidth = 0.4; 2 | -------------------------------------------------------------------------------- /src/functions/addOverlay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/functions/addOverlay.tsx -------------------------------------------------------------------------------- /src/functions/addWindowEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/functions/addWindowEvents.ts -------------------------------------------------------------------------------- /src/functions/createShader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/functions/createShader.ts -------------------------------------------------------------------------------- /src/functions/tick.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/functions/tick.ts -------------------------------------------------------------------------------- /src/img/money.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/img/money.png -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/index.d.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/reducers/gameState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/reducers/gameState.ts -------------------------------------------------------------------------------- /src/shaders/fog.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/shaders/fog.frag -------------------------------------------------------------------------------- /src/shaders/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/shaders/index.ts -------------------------------------------------------------------------------- /src/shaders/scanlines.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/shaders/scanlines.frag -------------------------------------------------------------------------------- /src/shaders/vignette.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/src/shaders/vignette.frag -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mat-sz/flight/HEAD/yarn.lock --------------------------------------------------------------------------------