feat(bunsik): 직접 만든 효과음 4개, 게임 아이콘·썸네일
- tools/sfx.py: 동전·구매·확장·조리음 합성, 오디오 에셋으로 업로드(Sounds.luau) - 구매·확장 소리는 클라이언트에서 2D로, 동전 소리는 손님 자리에서 재생 - tools/art.py: 게임 아이콘(512)과 썸네일(1920x1080) 그림 추가 - cloud.py: 오디오 업로드·에셋 상태 조회 명령, 통합 테스트에 효과음 소유 확인(526개 통과) - DECISIONS: 에셋은 없으면 직접 만든다는 원칙과 현황 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -310,6 +310,20 @@ eq(prompt.ActionText, "🍙 김밥 만들기", "버튼 글자")
|
||||
eq(prompt.HoldDuration, 1.5, "누르는 시간")
|
||||
prompt:Destroy()
|
||||
|
||||
section("효과음(직접 만든 오디오 에셋)")
|
||||
local Sounds = require(ReplicatedStorage.Shared.Sounds)
|
||||
for name, id in Sounds do
|
||||
local num = tonumber(string.match(id, "%d+"))
|
||||
local okInfo, info = pcall(function()
|
||||
return game:GetService("MarketplaceService"):GetProductInfoAsync(num :: number, Enum.InfoType.Asset)
|
||||
end)
|
||||
check(okInfo, `효과음 {name} 정보 조회`)
|
||||
if okInfo then
|
||||
eq(info.AssetTypeId, 3, `효과음 {name}은 오디오`)
|
||||
eq(info.Creator.CreatorTargetId, game.CreatorId, `효과음 {name}은 게임 주인 소유`)
|
||||
end
|
||||
end
|
||||
|
||||
section("Products")
|
||||
local Products = require(ReplicatedStorage.Shared.Products)
|
||||
local MarketplaceService = game:GetService("MarketplaceService")
|
||||
|
||||
Reference in New Issue
Block a user