get player dir sprite swapping working
" " " " " " " " " " " " " " " " " " " " " "
This commit is contained in:
parent
fe99c7a4a6
commit
883c28363e
6 changed files with 38 additions and 73 deletions
|
|
@ -2,11 +2,7 @@ name: "main"
|
|||
scale_along_z: 0
|
||||
embedded_instances {
|
||||
id: "camera"
|
||||
data: "components {\n"
|
||||
" id: \"zoom\"\n"
|
||||
" component: \"/main/zoom.script\"\n"
|
||||
"}\n"
|
||||
"embedded_components {\n"
|
||||
data: "embedded_components {\n"
|
||||
" id: \"camera\"\n"
|
||||
" type: \"camera\"\n"
|
||||
" data: \"aspect_ratio: 1.0\\n"
|
||||
|
|
@ -25,13 +21,10 @@ embedded_instances {
|
|||
}
|
||||
embedded_instances {
|
||||
id: "player"
|
||||
children: "body"
|
||||
data: "components {\n"
|
||||
" id: \"body\"\n"
|
||||
" component: \"/main/player.sprite\"\n"
|
||||
"}\n"
|
||||
"components {\n"
|
||||
" id: \"player1\"\n"
|
||||
" component: \"/main/player.script\"\n"
|
||||
" id: \"player_controller\"\n"
|
||||
" component: \"/main/player/player.script\"\n"
|
||||
"}\n"
|
||||
""
|
||||
position {
|
||||
|
|
@ -39,3 +32,11 @@ embedded_instances {
|
|||
y: 503.0
|
||||
}
|
||||
}
|
||||
embedded_instances {
|
||||
id: "body"
|
||||
data: "components {\n"
|
||||
" id: \"body\"\n"
|
||||
" component: \"/main/player/player.sprite\"\n"
|
||||
"}\n"
|
||||
""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue