Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b37b960fa | |||
| cbe5a5a8ca | |||
| 0309eecee4 | |||
| f27bf5bd00 | |||
| 3039fe3e92 | |||
| 5425fbc50d | |||
| c941be7e28 | |||
| 516156d8e7 | |||
| aeedbfbe47 | |||
| e2c97807ab | |||
| 633f379c45 | |||
| 6c1e71a964 | |||
| e3d1b38c73 |
@@ -1,2 +0,0 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
@@ -1,29 +0,0 @@
|
||||
name: Build and Deploy
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
|
||||
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
|
||||
run: |
|
||||
pnpm install
|
||||
pnpm xlsx2json
|
||||
pnpm build
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
folder: template # The folder the action should deploy.
|
||||
@@ -1,113 +0,0 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
|
||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
*.pid.lock
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
*.lcov
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# Bower dependency directory (https://bower.io/)
|
||||
bower_components
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# TypeScript v1 declaration files
|
||||
typings/
|
||||
|
||||
# TypeScript cache
|
||||
*.tsbuildinfo
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Microbundle cache
|
||||
.rpt2_cache/
|
||||
.rts2_cache_cjs/
|
||||
.rts2_cache_es/
|
||||
.rts2_cache_umd/
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variables file
|
||||
.env
|
||||
.env.test
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
|
||||
# Next.js build output
|
||||
.next
|
||||
|
||||
# Nuxt.js build / generate output
|
||||
.nuxt
|
||||
dist
|
||||
|
||||
# Gatsby files
|
||||
.cache/
|
||||
# Comment in the public line in if your project uses Gatsby and *not* Next.js
|
||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||
# public
|
||||
|
||||
# vuepress build output
|
||||
.vuepress/dist
|
||||
|
||||
# Serverless directories
|
||||
.serverless/
|
||||
|
||||
# FuseBox cache
|
||||
.fusebox/
|
||||
|
||||
# DynamoDB Local files
|
||||
.dynamodb/
|
||||
|
||||
# TernJS port file
|
||||
.tern-port
|
||||
|
||||
utils/xlsxTransform-*
|
||||
|
||||
/.idea
|
||||
|
||||
__localStorage.json
|
||||
|
||||
template/public
|
||||
public/data
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
// 使用 IntelliSense 了解相关属性。
|
||||
// 悬停以查看现有属性的描述。
|
||||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "test",
|
||||
"program": "${workspaceFolder}/test",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**",
|
||||
"**/node_modumes/**"
|
||||
]
|
||||
},
|
||||
]
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
FROM node:alpine
|
||||
|
||||
ENV NPM_CONFIG_LOGLEVEL info
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8080
|
||||
CMD ["yarn", "dev"]
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 神戸小鳥
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -1,72 +0,0 @@
|
||||
# Life Restart
|
||||
|
||||
<a href="https://discord.gg/U3qrf49NMQ"><img src="https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge" /></a>
|
||||
|
||||
[English](./README.md) | 简体中文
|
||||
|
||||
## 简介
|
||||
|
||||
- Game Life Restart
|
||||
|
||||
## 使用
|
||||
|
||||
<details>
|
||||
<summary><strong>网页版</strong></summary>
|
||||
<br />
|
||||
|
||||
1. 下载项目代码。
|
||||
|
||||
```bash
|
||||
git clone https://github.com/VickScarlet/lifeRestart.git my-project
|
||||
cd my-project
|
||||
```
|
||||
|
||||
2. 进入目录安装依赖。
|
||||
|
||||
```bash
|
||||
pnpm install
|
||||
```
|
||||
|
||||
或者
|
||||
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
3. 启动本地服务器。
|
||||
|
||||
```bash
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
或者
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
4. 启动完成后会自动打开浏览器访问 [http://localhost:5173](http://localhost:5173)。
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>控制台版本</strong></summary>
|
||||
<br />
|
||||
|
||||
```bash
|
||||
node repl
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
## 其他版本
|
||||
|
||||
<details>
|
||||
<summary><strong>版本列表</strong></summary>
|
||||
<br />
|
||||
|
||||
- Cocos版:[gameall3d/LifeRestart_Cocos](https://github.com/gameall3d/LifeRestart_Cocos)
|
||||
|
||||
</details>
|
||||
|
||||
> 更多信息请参考 [官网文档](https://liferestart.syaro.io/)。
|
||||
@@ -1,71 +0,0 @@
|
||||
# Life Restart
|
||||
|
||||
<a href="https://discord.gg/U3qrf49NMQ"><img src="https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge" /></a>
|
||||
|
||||
English | [简体中文](./README-zh_CN.md)
|
||||
|
||||
## Introduction
|
||||
|
||||
- Game Life Restart
|
||||
|
||||
## Usage
|
||||
|
||||
<details>
|
||||
<summary><strong>Web Version</strong></summary>
|
||||
<br />
|
||||
|
||||
1. Clone project code.
|
||||
|
||||
```bash
|
||||
git clone git@github.com:VickScarlet/lifeRestart.git my-project
|
||||
cd my-project
|
||||
```
|
||||
|
||||
2. Installation dependence.
|
||||
|
||||
```bash
|
||||
pnpm install
|
||||
```
|
||||
|
||||
Or
|
||||
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
3. Start local server.
|
||||
|
||||
```bash
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
Or
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
4. After the startup is complete, open a browser and visit [http://localhost:5173](http://localhost:5173).
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Command Line Version</strong></summary>
|
||||
<br />
|
||||
|
||||
```bash
|
||||
node repl
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
## Other Version
|
||||
|
||||
<details>
|
||||
<summary><strong>Versions</strong></summary>
|
||||
<br />
|
||||
|
||||
- Cocos Ver: [gameall3d/LifeRestart_Cocos](https://github.com/gameall3d/LifeRestart_Cocos)
|
||||
|
||||
</details>
|
||||
|
||||
> More instructions at [documentation](https://liferestart.syaro.io/).
|
||||
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 237 KiB |
|
Before Width: | Height: | Size: 434 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 237 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 276 KiB |
|
Before Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 401 KiB |
|
Before Width: | Height: | Size: 751 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 279 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 143 KiB |
|
Before Width: | Height: | Size: 276 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 200 KiB |
@@ -1,72 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta name="description" content="やり直すんだ。そして、次はうまくやる。"/>
|
||||
<meta name="keywords" content="人生重开模拟器 liferestart life restart remake 人生重来"/>
|
||||
<meta name="renderer" content="webkit"/>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
||||
<meta name="full-screen" content="true"/>
|
||||
<meta name="x5-fullscreen" content="true"/>
|
||||
<meta name="360-fullscreen" content="true"/>
|
||||
<meta name="theme-color" content="#157878"/>
|
||||
<meta name="laya" screenorientation ="landscape"/>
|
||||
<meta http-equiv="expires" content="0"/>
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp"/>
|
||||
<font-face font-family="方正像素12" src="fonts/方正像素12.ttf"/>
|
||||
<title>Life Restart</title>
|
||||
<!--以下引用了常用类库,如果不使用,可以删除-->
|
||||
|
||||
<!--核心包,封装了显示对象渲染,事件,时间管理,时间轴动画,缓动,消息交互,socket,本地存储,鼠标触摸,声音,加载,颜色滤镜,位图字体等-->
|
||||
<script type="text/javascript" src="libs/laya/laya.core.js"></script>
|
||||
<!--提供了微信小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.wxmini.js"></script> -->
|
||||
<!--提供了百度小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.bdmini.js"></script> -->
|
||||
<!--提供了小米小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.xmmini.js"></script> -->
|
||||
<!--提供了OPPO小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.quickgamemini.js"></script> -->
|
||||
<!--提供了bilibili小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.bilimini.js"></script> -->
|
||||
<!--提供了Alipay小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.Alipaymini.js"></script> -->
|
||||
<!--提供了qq小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.qqmini.js"></script> -->
|
||||
<!--提供了字节跳动小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.ttmini.js"></script> -->
|
||||
<!--提供了华为快游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.hwmini.js"></script> -->
|
||||
<!--提供了淘宝商家应用的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.tbmini.js"></script> -->
|
||||
<!--提供了淘宝小部件的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.tbplugin.js"></script> -->
|
||||
<!--封装了webgl渲染管线,如果使用webgl渲染,可以在初始化时调用Laya.init(1000,800,laya.webgl.WebGL);-->
|
||||
<script type="text/javascript" src="libs/laya/laya.webgl.js"></script>
|
||||
<!--提供了VIVO小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.vvmini.js"></script> -->
|
||||
<!--是动画模块,包含了swf动画,骨骼动画等-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.ani.js"></script> -->
|
||||
<!--包含更多webgl滤镜,比如外发光,阴影,模糊以及更多-->
|
||||
<script type="text/javascript" src="libs/laya/laya.filter.js"></script>
|
||||
<!--封装了html动态排版功能-->
|
||||
<script type="text/javascript" src="libs/laya/laya.html.js"></script>
|
||||
<!--粒子类库-->
|
||||
<script type="text/javascript" src="libs/laya/laya.particle.js"></script>
|
||||
<!--提供tileMap解析支持-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.tiledmap.js"></script> -->
|
||||
<!--提供了制作UI的各种组件实现-->
|
||||
<script type="text/javascript" src="libs/laya/laya.ui.js"></script>
|
||||
<!-- 提供LayaAir3d接口 -->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.d3.js"></script> -->
|
||||
|
||||
<!-- 物理引擎matter.js -->
|
||||
<!--自定义的js(src文件夹下)文件自动添加到下面jsfile模块标签里面里,js的顺序可以手动修改,修改后保留修改的顺序,新增加的js会默认依次追加到标签里-->
|
||||
<!--删除标签,ide不会自动添加js文件,请谨慎操作-->
|
||||
|
||||
<script type="module" src="src/index.js"></script>
|
||||
</head>
|
||||
<body style="background:black"></body>
|
||||
</html>
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
// See http://go.microsoft.com/fwlink/?LinkId=759670
|
||||
// for the documentation about the jsconfig.json format
|
||||
"compilerOptions": {
|
||||
"target": "es5"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"public",
|
||||
"view"
|
||||
]
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
<project version="0.9.8">
|
||||
<asynRes>img,temp,sound </asynRes>
|
||||
<unDealRes>embed </unDealRes>
|
||||
<resTypes>png,jpg </resTypes>
|
||||
<resExportPath>public/images/atlas </resExportPath>
|
||||
<asynResExportPath>public </asynResExportPath>
|
||||
<codeExportPath>src/ui </codeExportPath>
|
||||
<codeImports><![CDATA[import laya.ui.*;
|
||||
import laya.display.*; ]]> </codeImports>
|
||||
<codeImportsJS><![CDATA[var View=laya.ui.View;
|
||||
var Dialog=laya.ui.Dialog;]]> </codeImportsJS>
|
||||
<uiType>0 </uiType>
|
||||
<uiExportPath>public/ui.json </uiExportPath>
|
||||
<boxTypes>Box,List,Tab,RadioGroup,ViewStack,Panel,HBox,VBox,Tree,Sprite </boxTypes>
|
||||
<pageTypes>View,Dialog </pageTypes>
|
||||
<shareResPath/>
|
||||
<codeType>2 </codeType>
|
||||
<resCanCompress/>
|
||||
<resPublishQuality>80 </resPublishQuality>
|
||||
<langPath/>
|
||||
<defaultFont/>
|
||||
<codeImportsTS><![CDATA[import View=laya.ui.View;
|
||||
import Dialog=laya.ui.Dialog;]]> </codeImportsTS>
|
||||
<textureWidth>2048 </textureWidth>
|
||||
<textureHeight>2048 </textureHeight>
|
||||
<picWidth>512 </picWidth>
|
||||
<picHeight>512 </picHeight>
|
||||
<power2>false </power2>
|
||||
<trimempty>false </trimempty>
|
||||
<codeViewExportPath>src/view </codeViewExportPath>
|
||||
<picType>0 </picType>
|
||||
<atlasType>1 </atlasType>
|
||||
<atlasScale/>
|
||||
<copyRes>true </copyRes>
|
||||
<dataCompact>true </dataCompact>
|
||||
<ver>0.9.9 beta </ver>
|
||||
</project>
|
||||
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 195 B |
|
Before Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 208 B |
|
Before Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 426 KiB |