Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Babylon character controller implemented #1

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
APP_NAME="Webpack Starter"
APP_VERSION="Webpack Starter"
APP_DEBUG=true
APP_URL=http://localhost
36 changes: 36 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'airbnb-base',
'airbnb-typescript/base',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
parserOptions: {
project: './tsconfig.json',
ecmaVersion: 13,
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: [
'@typescript-eslint',
],
rules: {
'import/extensions': [
'error',
'ignorePackages',
{
js: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never',
},
],
'import/prefer-default-export': 'off',
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
},
};
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
.idea
dist
vendor
package-lock.json
66 changes: 66 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"name": "webpack-starter",
"version": "1.0.2",
"description": "Стартовый шаблон Webpack, основанный на laravel-mix",
"main": "index.js",
"scripts": {
"start": "npx mix watch",
"prod": "npx mix --production",
"build": "npx mix",
"lint": "npx eslint --fix ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/LeadrateMSK/webpack-starter.git"
},
"keywords": [
"webpack",
"laravel-mix",
"starter",
"template"
],
"author": "LeadrateMSK",
"license": "MIT",
"bugs": {
"url": "https://github.com/LeadrateMSK/webpack-starter/issues"
},
"homepage": "https://github.com/LeadrateMSK/webpack-starter#readme",
"devDependencies": {
"@types/cannon": "^0.1.8",
"@types/earcut": "^2.1.1",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"bootstrap": "^5.1.3",
"browser-sync": "^2.27.7",
"browser-sync-webpack-plugin": "^2.3.0",
"clean-webpack-plugin": "^4.0.0",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-vue": "^8.2.0",
"eslint-webpack-plugin": "^3.1.1",
"laravel-mix": "^6.0.39",
"laravel-mix-eslint": "^0.2.0",
"resolve-url-loader": "^4.0.0",
"sass": "^1.47.0",
"sass-loader": "^12.1.0",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.6.14"
},
"dependencies": {
"@babylonjs/core": "^4.2.1",
"@babylonjs/inspector": "^4.2.1",
"@babylonjs/loaders": "^4.2.1",
"babylonjs-gui": "^4.2.1",
"cannon": "^0.6.2",
"earcut": "^2.2.3",
"recast-detour": "^1.5.0",
"swiper": "^7.4.1",
"vue": "^2.6.14",
"vuex": "^3.6.2"
}
}
Binary file added src/assets/audio/success-effect.mp3
Binary file not shown.
Binary file added src/assets/models/barrel.glb
Binary file not shown.
Binary file added src/assets/models/blacksmith.glb
Binary file not shown.
Binary file added src/assets/models/bot.glb
Binary file not shown.
Binary file added src/assets/models/campfire.glb
Binary file not shown.
Binary file added src/assets/models/character.glb
Binary file not shown.
Binary file added src/assets/models/house.glb
Binary file not shown.
Binary file added src/assets/models/rocket.glb
Binary file not shown.
Binary file added src/assets/models/treasure.glb
Binary file not shown.
Binary file added src/assets/models/tree.glb
Binary file not shown.
Binary file added src/assets/textures/grass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/textures/rocks/aerial_rocks_ao.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/textures/rocks/aerial_rocks_diff.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/textures/rocks/aerial_rocks_norm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/textures/skyboxes/sky.env
Binary file not shown.
Binary file added src/assets/textures/stone/cobblestone.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/textures/stone/cobblestone_ao.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/textures/stone/cobblestone_normal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/textures/stone/cobblestone_spec.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/fonts/Circe/Circe-Bold.eot
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Bold.ttf
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Bold.woff
Binary file not shown.
Binary file added src/fonts/Circe/Circe-ExtraBold.eot
Binary file not shown.
Binary file added src/fonts/Circe/Circe-ExtraBold.ttf
Binary file not shown.
Binary file added src/fonts/Circe/Circe-ExtraBold.woff
Binary file not shown.
Binary file added src/fonts/Circe/Circe-ExtraLight.eot
Binary file not shown.
Binary file added src/fonts/Circe/Circe-ExtraLight.ttf
Binary file not shown.
Binary file added src/fonts/Circe/Circe-ExtraLight.woff
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Light.eot
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Light.ttf
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Light.woff
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Regular.eot
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Regular.ttf
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Regular.woff
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Thin.eot
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Thin.ttf
Binary file not shown.
Binary file added src/fonts/Circe/Circe-Thin.woff
Binary file not shown.
Loading