Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
MingSnake_241120
Commits
58f2c4be
Commit
58f2c4be
authored
Dec 13, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
d39bc5b4
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1027 additions
and
775 deletions
+1027
-775
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+1022
-774
AISnake.ts
assets/Scripts/Scenes/MainGame/AISnake.ts
+1
-1
project.json
settings/v2/packages/project.json
+4
-0
No files found.
assets/Bundles/MainGame/MainGame.scene
View file @
58f2c4be
This diff is collapsed.
Click to expand it.
assets/Scripts/Scenes/MainGame/AISnake.ts
View file @
58f2c4be
...
...
@@ -92,7 +92,7 @@ export class AISnake extends Snake {
super
.
onEnable
();
const
eye
=
this
.
head
.
getChildByName
(
"范围"
).
getComponent
(
CircleCollider2D
);
eye
.
radius
=
2
00
;
eye
.
radius
=
1
00
;
eye
.
on
(
Contact2DType
.
BEGIN_CONTACT
,
this
.
onBeginEye
,
this
);
// eye.on(Contact2DType.END_CONTACT, this.onEndEye, this);
}
...
...
settings/v2/packages/project.json
View file @
58f2c4be
...
...
@@ -28,6 +28,10 @@
{
"index"
:
4
,
"name"
:
"Body"
},
{
"index"
:
5
,
"name"
:
"Wall"
}
],
"collisionMatrix"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment