This commit is contained in:
zzz
2025-07-04 18:23:21 +08:00
parent 703071de1c
commit 26443e1d4a
13 changed files with 1310 additions and 330 deletions

View File

@@ -1,33 +0,0 @@
# 优先级
- 场景战斗 => 游戏流程 => 业务
## 需求
- [ ] 玩家控制器
- 人物动画
- [x] 人物镜头旋转(平视-稍微仰视)
- [ ] 能量塔玩家HP需要特效
- [ ] 子弹拖尾
- [ ] 分身AI
- [ ] 自动攻击敌人
- [ ] 敌人生成寻路攻击
- [x] 寻路
- [x] 攻击
- 毁灭
- 动画
- [ ] UI
- 开始游戏
- 游戏中
- 积分
- 血量
- 其他道具 金币
- 结束
- 业务功能
- [ ] 金钱可以购买辅助武器防守
- [ ] 光灵塔
- [ ] 电网
- [ ] 金钱可以升级辅助武器
- [ ] 玩家可以金币复活或者看广告
- 优化
- [ ] 武器发射要够炫酷

View File

@@ -1,45 +0,0 @@
抽象成管线
找出运行时和编辑器共有的模块
把这些模块做成组件
运行时和编辑器分别实例不同的组件
#### 编辑器
Provider
- 加载配置
- 生成地图
- 创建地块
- 地块渲染提供器
- 普通Texture图
- 编辑器的白膜
- 创建摆件
- 创建碰撞盒
- 创建怪物
- 创建标志
#### 运行时
- 加载配置
- 生成地图
- 创建地块
- 地块渲染提供器
- 普通的Texture图
- 创建摆件
- 渲染
- 注册到管理
- Behaviour
- 地图初始化回调
- 进入房间回调
- 创建碰撞盒
- 注册到管理
- 地图初始化回调
- 进入房间回调
- 创建怪物
- 注册到管理
- 地图初始化回调
- 进入房间回调
- 创建标志
- 注册到管理
- 地图初始化回调
- 进入房间回调

View File

@@ -1,13 +1,13 @@
##### 流程组件
- [ ] **构建[[流程组件]]**
- [x] **构建[[流程组件]]**
##### 数据结构更换
- [ ] 更换为新的数据结构
- [x] 更换为新的数据结构
- 路线数据变更
- 旧版本: 由文件夹下Roomline记录
- 新版本: 用链表实现,在 **关卡表-房间表** 中指定首个房间,随后用房间指向下个房间组成链表实现路线
- [ ] 接入Luban的表格
- [x] 接入Luban的表格
- 旧的数据结构包括
- 文件夹下
- SO文件
@@ -29,16 +29,12 @@
- 新的数据结构
- 文件夹下
- 所有地板以及地板摆放的物体.json
- 一份关于地图的数据地图Id地图名字
- 预览图
- 配置表
- 波次数据
- 房间从1001开头用 多主键联合的方式
- [ ] 编辑器窗口需要随着数据变更而改动
- [ ] EditManager流程
##### 单块地板编辑
- 只专注于一个地块的编辑
- 数据,地图大小(瓦片),环境物体
- 更换地块图片
- [ ] importer时更改数据width,height
##### 瓦片地图

View File

@@ -1,47 +0,0 @@
> [!important] 优先级 **1**
- [x] IExtension
- [x] 创建地块的Width和Height
- [x] A*报错
- ![[img_v3_02n6_ff40a1a4-d813-45f7-b132-6f14a74cfd7g.jpg]]
- [x] 松鼠异常
- [ ] 地图地板图片导入 自动修改图片大小
- 更换地板图片用
- [x] 添加白膜地图
- 创建100 - 100的地图宽高跟随Rect大小变化
- [x] 碰撞盒需要添加旋转
> [!note] 优先级 **2**
- [ ] id不再自增长
- [x] 将RoomConfig改到==关卡表==里
- [ ] 枚举改为英文名
- [ ] 瓦片地图
- [ ] 优化重构
[[需要做的优化]]
> [!note] 优先级 **3**
- [x] 提取单个地块编辑
- [x] 添加脏标单个保存地块
- [x] 编辑地块的操作逻辑
> [!note] 优先级 **4**
- [ ] 过关门动画优化
- [ ] 地图大背景优化移动方案
> [!success] 已完成
- [x] 添加RoomComponents
- [x] 生成怪物测试
- [x] 碰撞盒和标志需要添加自定义功能

View File

@@ -1,29 +1,3 @@
> # 此版本
- [x] 皮肤导入
- [x] 上海限定 C:\Users\1\Desktop\cache\57015
- 游戏中
- [x] C:\Users\1\Desktop\cache\红/蓝/绿皮肤7.0
- [x] 胳膊导入
- 结算
- [x] C:\Users\1\Desktop\cache\角色胜利结算
- 卡面
- [x] C:\Users\1\Desktop\cache\第三弹裁切输出
- UI名字
- [x] C:\Users\1\Desktop\cache\皮肤
- [x] 枪械宠物UI导入
- [x] 测试网络点数 开机检测
- [x] 地图编辑器 [[需要支持的地图功能]]
- [x] Boss立绘
- [x] C:\Users\1\Desktop\cache\雷鸟血条UI
- [x] 积分系统
---
> ## 下个版本
- [ ] 网络状态3\4

View File

@@ -1,9 +1,7 @@
- [ ] 扩展嵌套列表
- [ ] 列表优化添加 移除
- [x] 列表优化添加 移除
- [ ] 自定义事件
- [ ] 类型Switch
- [x] Button:
- 需要加入OnClicked绑定命令
- [ ] 绑定View-ViewModel的报错
- [ ] 优化V和VM的绑定

View File

@@ -9,4 +9,7 @@
# 起诉
- 起诉状姓名身份证信息需要完整
- 打印出来之后需要手写签名拍照,手写的签名才具有法律效应
- 打印出来之后需要手写签名拍照,手写的签名才具有法律效应
# 偷税漏税
- 要求对方提供房租发票,如拒绝,可以向税务局举报

View File

@@ -1,8 +1,14 @@
---
tags:
- 心理
- 习惯养成
---
### 使用多巴胺来激励自己的行动
- 大脑需要判断有价值的行动目标。而判断是否有价值的这个体系就是多巴胺系统
### 那么如何利用这个机制呢
- 幻想一个场景,用幻想来刺激
- 比如:
- 写完这几段代码,然后舒舒服服的躺上3分钟边躺还要边玩会手机
- 如果写完这几段代码,完事儿之后就可以享受某个成果
- 想象干净整洁的家,所有东西都被放在了该放的地方那种舒适感。

View File

@@ -1,16 +1,19 @@
---
tags:
- 心理
- 习惯养成
---
#习惯养成
# 为什么释道儒三道都强调日常行为
- 因为**日常行为的成果**能提升人的自信心。
- 类似的行为还有
- 军队会被要求每天早起折叠豆腐块。
- 宗教表现为 成员必须每日做好虔诚的动作,既是规范宗教的向心力,更是为了培养出某个动作模式
- 道家表现为 从打扫卫生开始,每天做好自己的家务活
- 这些行为都是为了一件事情,增加人的自信
- 具体原理为人能从每个行为,以及对应的结果中获得对应的反馈
- 将家里打扫干净,看到一个干净卫生的环境
- **一点一点的积累这种成功,可以对一个人的行为模式产生变化**
释道儒三道都强调日常行为
因为日常行为能提升人的自信心
宗教表现为 成员必须每日做好虔诚的动作,既是规范宗教的向心力,更是为了培养出某个动作模式
道家表现为 从打扫卫生开始,每天做好自己的家务活
这些行为都是为了一件事情,增加人的自信
具体原理为 人能从每个行为,以及对应的结果中获得对应的反馈,比如:将家里打扫干净,结果为看到一个干净卫生的环境,从中培训出“好好打算,并且获得了自己满意的结果”=>==一点一点的积累这种成功,可以对一个人的行为模式产生变化==
启示
1、代码养成良好的习惯最后回顾自己的代码有精致规整以及符合自己心意的结构的时候感受这种成就感
# 启示
- 代码养成良好的习惯,最后回顾自己的代码,有精致规整以及符合自己心意的结构的时候感受这种成就感

View File

@@ -1,2 +1 @@
> 劳动不是我为他人效劳,而是体会我的价值而采取的手段
- 劳动不是我为他人效劳,而是体会我的价值而采取的手段

View File

@@ -1,8 +1,8 @@
原因论认为:
过去的心理创伤会影响现在的行为,比如过去因为样貌受到了攻击,那么在未来,这个人会因为这个攻击对自己的样貌自卑。
# 原因论认为:
- 过去的心理创伤会影响现在的行为,比如过去因为样貌受到了攻击,那么在未来,这个人会因为这个攻击对自己的样貌自卑。
而目的论认为:
这个人自卑是因为自己想自卑,因为这样当别人再次攻击自己的时候,就可以再次归因为自己样貌。
但,假如给这个人整容,样貌不再是困扰的时候,这个人就不会受到攻击了吗?
# 而目的论认为:
- 这个人自卑是因为自己想自卑,因为这样当别人再次攻击自己的时候,就可以再次归因为自己样貌。
- 但,假如给这个人整容,样貌不再是困扰的时候,这个人就不会受到攻击了吗?

File diff suppressed because it is too large Load Diff

View File

@@ -1,142 +0,0 @@
# The quicktype FAQ
- [What is this?](#what-is-this)
- [How does this work?](#how-does-this-work)
- [How do I use this with my code?](#how-do-i-use-this-with-my-code)
- [No code appears when I paste my JSON](#why-does-quicktype-complain-about-my-json)
- [I think I found a bug!](#i-think-i-found-a-bug)
- [When will you support my favorite language?](#when-will-you-support-my-favorite-language)
- [Why do my types have weird names?](#why-do-my-types-have-weird-names)
- [I'd like the output to be a little different.](#id-like-the-output-to-be-a-little-different)
- [Am I allowed to use the generated code in my software?](#am-i-allowed-to-use-the-generated-code-in-my-software)
- [This map/dictionary should be a class!](#this-mapdictionary-should-be-a-class)
- [This class should be a map/dictionary!](#this-class-should-be-a-mapdictionary)
- [Where can I learn more about JSON Schema?](#where-can-i-learn-more-about-json-schema)
- [I'd like to customize the output for my particular application.](#id-like-to-customize-the-output-for-my-particular-application)
- [How can I control the property order in JSON Schema?](#how-can-i-control-the-property-order-in-json-schema)
- [quicktype is awesome, I'd like to support it!](#quicktype-is-awesome-id-like-to-support-it)
- [How is this different from other JSON converters?](#how-is-quicktype-different-from-other-json-converters)
## What is this?
[quicktype](https://app.quicktype.io) produces nice types and JSON (de)serializers for many programming languages. It can infer types from JSON but also takes types from JSON Schema, TypeScript, and GraphQL.
## How does this work?
You paste JSON on the left, and code appears on the right. [This video](https://www.youtube.com/watch?v=19bMU7jZ27w) gives a quick demonstration.
## How is this different from other JSON converters?
`quicktype` is superior to other JSON converters in many important ways:
- **Type inference**: quicktype infers optionals, dates, UUIDs, enums, integers, and unions. It also infers maps (versus objects) using a Markov chain.
- **Careful naming**: quicktypes naming system creates nice, legal, unique names for types and properties, handling reserved words and tricky corner cases (e.g. `{ “”: “this is legal”, “null”: “so is this”, "1;DROP TABLE users”: “and this" }`).
- **Heterogeneous data**: JSON data is often heterogenous. quicktype infers this, and creates union types in languages that support them, or synthetic union types in languages that dont (e.g. try quicktyping `[0, “zero”]` as Swift and Go).
- **Type unification**. This works across multiple samples, so you can quicktype a directory of API data, for example, and unify types across all responses (e.g. youll get just one `Customer` type, even if customer data occurs in many samples). You can also provide multiple samples for the same type for better coverage.
- **Marshalling code**: In addition to types, quicktype generates functions for marshalling your types to and from JSON.
- Supports dynamic languages: quicktype can add dynamic typechecks for JavaScript, TypeScript, Flow, Python, and Ruby.
- **Convenient CLI**: Run `quicktype https://blockchain.info/latestblock -o LatestBlock.ts` to quicktype a Bitcoin API in TypeScript.
- **Client-side**: [The web version of quicktype](https://app.quicktype.io/) runs on the client, so servers never see your data (most JSON converters send your JSON to their server)
- **Typed input**: Feed quicktype TypeScript or JSON Schema instead of JSON for better control over generated types.
- **Code quality**: quicktype emits clean code
## How do I use this with my code?
The generated code has comments at the start with a short code sample that shows how to convert a JSON string to instances of the generated types. You can also go the other way, which is very easy, too, but you'll have to look at the generated code to see how it works.
## No code appears when I paste my JSON
This is probably because your JSON is invalid. The most common issues we're seeing are
- Trailing commas in arrays and objects: `[1, 2, 3]` is valid JSON, while `[1, 2, 3,]` is not.
- Unquoted property keys in objects: `{ "name": "Mark" }` is valid JSON, while `{ name: "Mark" }` is not.
- Comments: JSON does not support comments.
If you're unsure whether your JSON is valid, please use [JSONLint](https://jsonlint.com).
## I think I found a bug!
Please [file an issue on GitHub](https://github.com/quicktype/quicktype/issues). Give as much context as you can so that we can reproduce it. Assume we know nothing about what you're trying to do (because we don't).
## When will you support my favorite language?
Please check whether there is [a pull request](https://github.com/quicktype/quicktype/pulls) that adds support for your language. If there is, please consider helping it along. If there isn't, please consider contributing one.
## Why do my types have weird names?
Sometimes quicktype has trouble giving names to your types. There are a couple of causes for this:
- The name quicktype would like to give to your type conflicts with a name that's already used in the target language, such as `String` in C#.
- Two or more types in your data have the same name.
- A type has so many potential names that quicktype can't find a commonality between them.
If you're using JSON Schema, you can use the `title` property to give a type a name that quicktype tries hard to use.
## I'd like the output to be a little different.
Check out the "Language" and "Other" tabs in the options panel. What you're looking for might just be there:
<img width="33%" height="33%" alt="Screenshot showing the options panel" src="https://raw.githubusercontent.com/quicktype/quicktype/master/media/faq/options-panel.png" />
If it isn't, then depending on your coding skills, you might be able to [customize the output](https://blog.quicktype.io/customizing-quicktype/).
## Am I allowed to use the generated code in my software?
Yes, there are no intellectual property restrictions on the code that quicktype generates.
## This map/dictionary should be a class!
quicktype has [advanced heuristics](https://blog.quicktype.io/markov/) to decide whether a JSON object should be represented by a class or a map, but sometimes it gets it wrong. If it generates a map, but you'd rather have a class, you can disable map detection in the options panel:
<img width="66%" height="66%" alt="Screenshot showing the 'Detect maps' switch in the options panel" src="https://raw.githubusercontent.com/quicktype/quicktype/master/media/faq/disable-detect-maps.png" />
## This class should be a map/dictionary!
quicktype has [advanced heuristics](https://blog.quicktype.io/markov/) to decide whether a JSON object should be represented by a class or a map, but sometimes it gets it wrong. If it generates a class, but you need a map, first make sure that you have the "Detect maps" option set in the options panel. Also, check that all properties in the object have the same exact type because quicktype only makes a map if that's the case. If that still doesn't do it, you have two options:
- Duplicate some of the properties and/or change the property names to look more random.
- Output JSON Schema, modify it to produce a map, and then use the schema as the input to quicktype.
## Where can I learn more about JSON Schema?
The [JSON Schema homepage](http://json-schema.org) contains many links and resources.
## I'd like to customize the output for my particular application.
We have [a blog post](https://blog.quicktype.io/customizing-quicktype/) on that very topic.
## How can I control the property order in JSON Schema?
There is a custom schema field `quicktypePropertyOrder` which can be used to specify the order of properties for quicktype.
For example:
```json
...
"Location": {
"quicktypePropertyOrder": [ "latitude", "longitude" ],
"type": "object",
"properties": {
"latitude": {
"type": "number",
"description": "The latitude component of the location",
"example": -32.204754
},
...
},
"required": [ "latitude", "longitude" ]
},
...
```
## quicktype is awesome, I'd like to support it!
There are many ways you can support quicktype:
- Tell all your friends about it! Show it around, tweet about it, write a blog post, present it at a lightning talk.
- quicktype is open source - please contribute! We need documentation at least as much as code, so you don't need strong coding skills to make an impact. If you do, we have [lots of open issues](https://github.com/quicktype/quicktype/issues) that need resolving, almost all of our target languages can be improved, and there are many, many programming languages that quicktype doesn't support yet. Talk to us [on Slack](http://slack.quicktype.io) if you're interested - we're always happy to help.