mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-04 22:58:29 +08:00
Converted Phantasmal Quest Editor code to TypeScript.
This commit is contained in:
parent
94239000fd
commit
77486f8bd4
49
README.md
49
README.md
@ -1,44 +1,23 @@
|
|||||||
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
# Phantasmal Quest Editor
|
||||||
|
|
||||||
## Available Scripts
|
Phantasmal Quest Editor is an editor for Phantasy Star Online quests. This project is in a very early stage of development.
|
||||||
|
|
||||||
In the project directory, you can run:
|
## For Developers
|
||||||
|
|
||||||
### `npm start`
|
React is used for the frontend, MobX is used for state management and THREE.js for 3D graphics.
|
||||||
|
|
||||||
Runs the app in the development mode.<br>
|
### Getting Started
|
||||||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
|
||||||
|
|
||||||
The page will reload if you make edits.<br>
|
1. Install Yarn ([https://yarnpkg.com/](https://yarnpkg.com/))
|
||||||
You will also see any lint errors in the console.
|
2. cd to the project directory
|
||||||
|
3. Launch server on [http://localhost:3000/](http://localhost:3000/) with `yarn start`
|
||||||
|
4. src/index.tsx is the application's entry point
|
||||||
|
|
||||||
### `npm test`
|
### Tests
|
||||||
|
|
||||||
Launches the test runner in the interactive watch mode.<br>
|
Run tests with `yarn test`.
|
||||||
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
|
||||||
|
|
||||||
### `npm run build`
|
### Production Build
|
||||||
|
|
||||||
Builds the app for production to the `build` folder.<br>
|
1. Change the homepage field in package.json if you don't want to deploy to /
|
||||||
It correctly bundles React in production mode and optimizes the build for the best performance.
|
3. Build with `yarn build`
|
||||||
|
|
||||||
The build is minified and the filenames include the hashes.<br>
|
|
||||||
Your app is ready to be deployed!
|
|
||||||
|
|
||||||
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
|
||||||
|
|
||||||
### `npm run eject`
|
|
||||||
|
|
||||||
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
|
||||||
|
|
||||||
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
|
||||||
|
|
||||||
Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
|
||||||
|
|
||||||
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
|
||||||
|
|
||||||
## Learn More
|
|
||||||
|
|
||||||
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
|
||||||
|
|
||||||
To learn React, check out the [React documentation](https://reactjs.org/).
|
|
||||||
|
@ -3,13 +3,22 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@blueprintjs/core": "^3.15.1",
|
||||||
"@types/jest": "24.0.13",
|
"@types/jest": "24.0.13",
|
||||||
|
"@types/lodash": "^4.14.132",
|
||||||
"@types/node": "12.0.2",
|
"@types/node": "12.0.2",
|
||||||
"@types/react": "16.8.18",
|
"@types/react": "16.8.18",
|
||||||
"@types/react-dom": "16.8.4",
|
"@types/react-dom": "16.8.4",
|
||||||
|
"@types/text-encoding": "^0.0.35",
|
||||||
|
"lodash": "^4.17.11",
|
||||||
|
"mobx": "^5.9.4",
|
||||||
|
"mobx-react": "^5.4.4",
|
||||||
"react": "^16.8.6",
|
"react": "^16.8.6",
|
||||||
"react-dom": "^16.8.6",
|
"react-dom": "^16.8.6",
|
||||||
"react-scripts": "3.0.1",
|
"react-scripts": "3.0.1",
|
||||||
|
"text-encoding": "^0.7.0",
|
||||||
|
"three": "^0.104.0",
|
||||||
|
"three-orbit-controls": "^82.1.0",
|
||||||
"typescript": "3.4.5"
|
"typescript": "3.4.5"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB |
@ -1,38 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html>
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<meta name="theme-color" content="#000000" />
|
|
||||||
<!--
|
|
||||||
manifest.json provides metadata used when your web app is installed on a
|
|
||||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
||||||
-->
|
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
||||||
<!--
|
|
||||||
Notice the use of %PUBLIC_URL% in the tags above.
|
|
||||||
It will be replaced with the URL of the `public` folder during the build.
|
|
||||||
Only files inside the `public` folder can be referenced from the HTML.
|
|
||||||
|
|
||||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
<head>
|
||||||
work correctly both with client-side routing and a non-root public URL.
|
<meta charset="utf-8">
|
||||||
Learn how to configure a non-root public URL by running `npm run build`.
|
</head>
|
||||||
-->
|
|
||||||
<title>React App</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
||||||
<div id="root"></div>
|
|
||||||
<!--
|
|
||||||
This HTML file is a template.
|
|
||||||
If you open it directly in the browser, you will see an empty page.
|
|
||||||
|
|
||||||
You can add webfonts, meta tags, or analytics to this file.
|
<body>
|
||||||
The build step will place the bundled scripts into the <body> tag.
|
<div id="phantq-root"></div>
|
||||||
|
</body>
|
||||||
|
|
||||||
To begin the development, run `npm start` or `yarn start`.
|
</html>
|
||||||
To create a production bundle, use `npm run build` or `yarn build`.
|
|
||||||
-->
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"short_name": "React App",
|
|
||||||
"name": "Create React App Sample",
|
|
||||||
"icons": [
|
|
||||||
{
|
|
||||||
"src": "favicon.ico",
|
|
||||||
"sizes": "64x64 32x32 24x24 16x16",
|
|
||||||
"type": "image/x-icon"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"start_url": ".",
|
|
||||||
"display": "standalone",
|
|
||||||
"theme_color": "#000000",
|
|
||||||
"background_color": "#ffffff"
|
|
||||||
}
|
|
BIN
public/maps/map_ancient01_00c.rel
Normal file
BIN
public/maps/map_ancient01_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_00n.rel
Normal file
BIN
public/maps/map_ancient01_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_01c.rel
Normal file
BIN
public/maps/map_ancient01_01c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_01n.rel
Normal file
BIN
public/maps/map_ancient01_01n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_02c.rel
Normal file
BIN
public/maps/map_ancient01_02c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_02n.rel
Normal file
BIN
public/maps/map_ancient01_02n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_03c.rel
Normal file
BIN
public/maps/map_ancient01_03c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_03n.rel
Normal file
BIN
public/maps/map_ancient01_03n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_04c.rel
Normal file
BIN
public/maps/map_ancient01_04c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient01_04n.rel
Normal file
BIN
public/maps/map_ancient01_04n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_00c.rel
Normal file
BIN
public/maps/map_ancient02_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_00n.rel
Normal file
BIN
public/maps/map_ancient02_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_01c.rel
Normal file
BIN
public/maps/map_ancient02_01c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_01n.rel
Normal file
BIN
public/maps/map_ancient02_01n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_02c.rel
Normal file
BIN
public/maps/map_ancient02_02c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_02n.rel
Normal file
BIN
public/maps/map_ancient02_02n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_03c.rel
Normal file
BIN
public/maps/map_ancient02_03c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_03n.rel
Normal file
BIN
public/maps/map_ancient02_03n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_04c.rel
Normal file
BIN
public/maps/map_ancient02_04c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient02_04n.rel
Normal file
BIN
public/maps/map_ancient02_04n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_00c.rel
Normal file
BIN
public/maps/map_ancient03_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_00n.rel
Normal file
BIN
public/maps/map_ancient03_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_01c.rel
Normal file
BIN
public/maps/map_ancient03_01c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_01n.rel
Normal file
BIN
public/maps/map_ancient03_01n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_02c.rel
Normal file
BIN
public/maps/map_ancient03_02c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_02n.rel
Normal file
BIN
public/maps/map_ancient03_02n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_03c.rel
Normal file
BIN
public/maps/map_ancient03_03c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_03n.rel
Normal file
BIN
public/maps/map_ancient03_03n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_04c.rel
Normal file
BIN
public/maps/map_ancient03_04c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_ancient03_04n.rel
Normal file
BIN
public/maps/map_ancient03_04n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss01c.rel
Normal file
BIN
public/maps/map_boss01c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss01n.rel
Normal file
BIN
public/maps/map_boss01n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss02c.rel
Normal file
BIN
public/maps/map_boss02c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss02n.rel
Normal file
BIN
public/maps/map_boss02n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss03c.rel
Normal file
BIN
public/maps/map_boss03c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss03n.rel
Normal file
BIN
public/maps/map_boss03n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss05c.rel
Normal file
BIN
public/maps/map_boss05c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss05n.rel
Normal file
BIN
public/maps/map_boss05n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss06c.rel
Normal file
BIN
public/maps/map_boss06c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss06n.rel
Normal file
BIN
public/maps/map_boss06n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss07c.rel
Normal file
BIN
public/maps/map_boss07c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss07n.rel
Normal file
BIN
public/maps/map_boss07n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss08c.rel
Normal file
BIN
public/maps/map_boss08c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss08n.rel
Normal file
BIN
public/maps/map_boss08n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss09_00c.rel
Normal file
BIN
public/maps/map_boss09_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_boss09_00n.rel
Normal file
BIN
public/maps/map_boss09_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_00c.rel
Normal file
BIN
public/maps/map_cave01_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_00n.rel
Normal file
BIN
public/maps/map_cave01_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_01c.rel
Normal file
BIN
public/maps/map_cave01_01c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_01n.rel
Normal file
BIN
public/maps/map_cave01_01n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_02c.rel
Normal file
BIN
public/maps/map_cave01_02c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_02n.rel
Normal file
BIN
public/maps/map_cave01_02n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_03c.rel
Normal file
BIN
public/maps/map_cave01_03c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_03n.rel
Normal file
BIN
public/maps/map_cave01_03n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_04c.rel
Normal file
BIN
public/maps/map_cave01_04c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_04n.rel
Normal file
BIN
public/maps/map_cave01_04n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_05c.rel
Normal file
BIN
public/maps/map_cave01_05c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave01_05n.rel
Normal file
BIN
public/maps/map_cave01_05n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_00c.rel
Normal file
BIN
public/maps/map_cave02_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_00n.rel
Normal file
BIN
public/maps/map_cave02_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_01c.rel
Normal file
BIN
public/maps/map_cave02_01c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_01n.rel
Normal file
BIN
public/maps/map_cave02_01n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_02c.rel
Normal file
BIN
public/maps/map_cave02_02c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_02n.rel
Normal file
BIN
public/maps/map_cave02_02n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_03c.rel
Normal file
BIN
public/maps/map_cave02_03c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_03n.rel
Normal file
BIN
public/maps/map_cave02_03n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_04c.rel
Normal file
BIN
public/maps/map_cave02_04c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave02_04n.rel
Normal file
BIN
public/maps/map_cave02_04n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_00c.rel
Normal file
BIN
public/maps/map_cave03_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_00n.rel
Normal file
BIN
public/maps/map_cave03_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_01c.rel
Normal file
BIN
public/maps/map_cave03_01c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_01n.rel
Normal file
BIN
public/maps/map_cave03_01n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_02c.rel
Normal file
BIN
public/maps/map_cave03_02c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_02n.rel
Normal file
BIN
public/maps/map_cave03_02n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_03c.rel
Normal file
BIN
public/maps/map_cave03_03c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_03n.rel
Normal file
BIN
public/maps/map_cave03_03n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_04c.rel
Normal file
BIN
public/maps/map_cave03_04c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_04n.rel
Normal file
BIN
public/maps/map_cave03_04n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_05c.rel
Normal file
BIN
public/maps/map_cave03_05c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_cave03_05n.rel
Normal file
BIN
public/maps/map_cave03_05n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_city00_00c.rel
Normal file
BIN
public/maps/map_city00_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_city00_00n.rel
Normal file
BIN
public/maps/map_city00_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_city02_00c.rel
Normal file
BIN
public/maps/map_city02_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_city02_00n.rel
Normal file
BIN
public/maps/map_city02_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_crater01_00c.rel
Normal file
BIN
public/maps/map_crater01_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_crater01_00n.rel
Normal file
BIN
public/maps/map_crater01_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_darkfalz00c.rel
Normal file
BIN
public/maps/map_darkfalz00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_darkfalz00n.rel
Normal file
BIN
public/maps/map_darkfalz00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_desert01_00c.rel
Normal file
BIN
public/maps/map_desert01_00c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_desert01_00n.rel
Normal file
BIN
public/maps/map_desert01_00n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_desert01_01c.rel
Normal file
BIN
public/maps/map_desert01_01c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_desert01_01n.rel
Normal file
BIN
public/maps/map_desert01_01n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_desert01_02c.rel
Normal file
BIN
public/maps/map_desert01_02c.rel
Normal file
Binary file not shown.
BIN
public/maps/map_desert01_02n.rel
Normal file
BIN
public/maps/map_desert01_02n.rel
Normal file
Binary file not shown.
BIN
public/maps/map_desert02_00c.rel
Normal file
BIN
public/maps/map_desert02_00c.rel
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user