Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
project7
/
Project7
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
10
Code
Issues
3
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
Project7
/
ReadmeOfTiled.txt
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
36 lines (35 loc) · 1.58 KB
master
Breadcrumbs
Project7
/
ReadmeOfTiled.txt
Copy path
Top
File metadata and controls
Code
Blame
36 lines (35 loc) · 1.58 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
【地图(暂)】
tiled-0.8.1-win32-setup是地图编辑器,考虑到大多数人都是Windows平台的,Linux那位同学你懂的
脚本什么的正在解决请稍后。
所有数据请按照
Data/(类型)/使用文件
Data/(类型)/source/源文件
存放。
地图资源格式
source下存放*.tmx格式的地图
这个编辑器可以把地图以图片输出json格式,就选择这个格式输出!快捷键Ctrl+E
另外,我们推荐使用共享的图块集,不解释!
!!!!!地图精度全部选择16*16!!!!!
-------------------------------------------------------------------
事件:
事件请建立在对象层中,用插入对象插入。
然后右键这个对象,把大小设置为整数(大小关系到事件碰撞的判定),位置设置为整数,在名字中输入对象的名字(自己定)
在属性中添加
character => 行走图(这个位置是事件行走图的中下锚点)
events => 事件脚本(x.evs)
-------------------------------------------------------------------
人物层
新建一个对象层,命名为Player
如果要设置初始位置(人物),在该层加入一个事件,只需要考虑位置就可以了……
-------------------------------------------------------------------
通行以及各种属性
确定图块集被导入(默认,如果导出了点一下图块那里的第一个按钮)
在要设置图块点右键属性
加入pass属性1【通行】或者0【不通行】,如果没有则默认认为是图块组的pass属性,如果还没有的话……节操君。。
【不过通行什么的暂时先不要做……以后一起弄,不然很麻烦。。】
-------------------------------------------------------------------
所有这些数据都是编辑时的暂时存储方法,发布之后会使用全新的方法。
注意,这个方法生成的地图数据RM在用的时候会很卡,不要在意。。以后会改。
===================================================================
关于动态图块……暂时的方案是在图块属性里面加上一行movement=>x(也就是x帧)
如果是单帧的特例加上freeze=>1
You can’t perform that action at this time.