feat: Integrated Stream asset and Kai animation system
This commit is contained in:
17
main/vibe_main.script
Normal file
17
main/vibe_main.script
Normal file
@@ -0,0 +1,17 @@
|
||||
-- One-file "vibe" bootstrap: spawns grass + water + Kai (no gameplay code)
|
||||
|
||||
local function v3(x, y, z)
|
||||
return vmath.vector3(x or 0, y or 0, z or 0)
|
||||
end
|
||||
|
||||
function init(self)
|
||||
-- Bottom water strip
|
||||
factory.create("#water_factory", v3(0, 0, 0))
|
||||
|
||||
-- Grass platform above water (water image is 444px tall)
|
||||
factory.create("#grass_factory", v3(0, 444, 0))
|
||||
|
||||
-- Kai on the grass (roughly centered on a 4-tile wide grass strip: 4 * 512 = 2048)
|
||||
-- Place him a bit above the grass seam so feet sit on the platform.
|
||||
factory.create("#kai_factory", v3(1024, 560, 0))
|
||||
end
|
||||
Reference in New Issue
Block a user