GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
root
/
DungeonShooting
Browse code
先让任务刷到
develop
1 parent
9bc7bdb
commit
607b8488888bdae495a51a70b1fef15fa282efeb
小李xl
authored
on 31 Aug 2022
Patch
Unified
Split
Showing
2 changed files
+2
-1
■
■
■
■■
DungeonShooting_Godot/prefab/role/Role.tscn
+1
-0
■
■■■■
DungeonShooting_Godot/src/game/room/RoomManager.cs
Ignore Space
Show notes
View
3
■
■
■
■■
DungeonShooting_Godot/prefab/role/Role.tscn
extents
=
Vector2
(
5
,
7.5
)
[
node name
=
"Role"
type
=
"Node"
]
script
=
ExtResource
(
2
)
CollisionMask
=
1
ZIndex
=
1
[
node name
=
"ShadowSprite"
type
=
"Sprite"
parent
=
"."
]
material
=
ExtResource
(
1
)
[
node name
=
"AnimatedSprite"
type
=
"AnimatedSprite"
parent
=
"."
]
position
=
Vector2
(
0
,
-
12
)
frames
=
SubResource
(
6
)
animation
=
"idle"
frame
=
1
frame
=
2
playing
=
true
[
node name
=
"Collision"
type
=
"CollisionShape2D"
parent
=
"."
]
visible
=
false
Ignore Space
Show notes
View
1
■
■■■■
DungeonShooting_Godot/src/game/room/RoomManager.cs
VisualServer
.
SetDefaultClearColor
(
color
);
//创建玩家
var
player
=
new
Player
();
player
.
Position
=
new
Vector2
(
100
,
100
);
player
.
Name
=
"Player"
;
SortRoot
.
AddChild
(
player
);
}
Show line notes below