接入Spine
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Blueprint/Level/Actor/Holder.uasset
Normal file
BIN
Content/Blueprint/Level/Actor/Holder.uasset
Normal file
Binary file not shown.
BIN
Content/Blueprint/Level/Actor/Role/BP_Rabbit.uasset
Normal file
BIN
Content/Blueprint/Level/Actor/Role/BP_Rabbit.uasset
Normal file
Binary file not shown.
BIN
Content/Blueprint/Level/BP_LevelMap.uasset
Normal file
BIN
Content/Blueprint/Level/BP_LevelMap.uasset
Normal file
Binary file not shown.
BIN
Content/Blueprint/Level/GameMode/BP_BusyLevelGameMode.uasset
Normal file
BIN
Content/Blueprint/Level/GameMode/BP_BusyLevelGameMode.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/Blueprint/Level/GameMode/BP_BusyLevelPlayerState.uasset
Normal file
BIN
Content/Blueprint/Level/GameMode/BP_BusyLevelPlayerState.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Asset/Test.uasset
Normal file
BIN
Content/Data/Asset/Test.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Level/IA_Move.uasset
Normal file
BIN
Content/Data/Input/Level/IA_Move.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Level/IMC_PlayerInputContext.uasset
Normal file
BIN
Content/Data/Input/Level/IMC_PlayerInputContext.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -42,11 +42,11 @@ function SubSystem:ReceiveWorldBeginPlay()
|
||||
self.generator = CreateItemGenerator(row_data)
|
||||
|
||||
-- 创建初始篝火
|
||||
local bonfire = BusyActorManagerSubSystem:SpawnBonfire(row_data.FirstBonfirePosition)
|
||||
-- local bonfire = BusyActorManagerSubSystem:SpawnBonfire(row_data.FirstBonfirePosition)
|
||||
|
||||
-- 创建角色
|
||||
local role = BusyActorManagerSubSystem:SpawnRole(bonfire)
|
||||
GameplayStatics.GetPlayerController(self, 0):Possess(role)
|
||||
-- local role = BusyActorManagerSubSystem:SpawnRole(bonfire)
|
||||
-- GameplayStatics.GetPlayerController(self, 0):Possess(role)
|
||||
end
|
||||
|
||||
function SubSystem:ReceiveSubSystemTick(DeltaTime)
|
||||
|
||||
11
Content/Lua/Level/Actor/BusyPlayerRole.lua
Normal file
11
Content/Lua/Level/Actor/BusyPlayerRole.lua
Normal file
@ -0,0 +1,11 @@
|
||||
local BusyPlayerRole = {}
|
||||
|
||||
function BusyPlayerRole:UpdateMoveDirection(InDirection)
|
||||
if(InDirection.Y > 0) then
|
||||
self["SpineAnimationComponent"]:SetSkin("front/move")
|
||||
else
|
||||
self["SpineAnimationComponent"]:SetSkin("back/move")
|
||||
end
|
||||
end
|
||||
|
||||
return Class(nil, nil, BusyPlayerRole)
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/Test/NewBlueprint.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/Test/NewBlueprint.uasset
Normal file
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/Test/grass-tilemap1.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/Test/grass-tilemap1.uasset
Normal file
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/Test/swamp-water-tilemap.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/Test/swamp-water-tilemap.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/deep-water-tilemap.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/deep-water-tilemap.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/grass-tilemap_TileSet.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/grass-tilemap_TileSet.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/land-tilemap.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/land-tilemap.uasset
Normal file
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/land-tilemap_TileSet.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/land-tilemap_TileSet.uasset
Normal file
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/swamp-land-tilemap.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/swamp-land-tilemap.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/Resource/Map/FalconPlain/swamp-water-tilemap.uasset
Normal file
BIN
Content/Resource/Map/FalconPlain/swamp-water-tilemap.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/Resource/Spine/Role/Rabbit/Rabbit.uasset
Normal file
BIN
Content/Resource/Spine/Role/Rabbit/Rabbit.uasset
Normal file
Binary file not shown.
BIN
Content/Resource/Spine/Role/Rabbit/RabbitData.uasset
Normal file
BIN
Content/Resource/Spine/Role/Rabbit/RabbitData.uasset
Normal file
Binary file not shown.
BIN
Content/Resource/Spine/Role/Rabbit/Textures/Rabbit.uasset
Normal file
BIN
Content/Resource/Spine/Role/Rabbit/Textures/Rabbit.uasset
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user