Skip to content

Commit

Permalink
feat: Stroy Book (#100)
Browse files Browse the repository at this point in the history
* book of it

* strong of it

* more word

* more of it

* overflow scroll

* more desc

* tmp of menu

* part of

* all chinese

* eng version

* chore: all book

* pigman flow

* fix pkg

* fix create
  • Loading branch information
zombieJ authored Jun 4, 2022
1 parent 6acec80 commit 84f7d13
Show file tree
Hide file tree
Showing 23 changed files with 2,487 additions and 5 deletions.
20 changes: 20 additions & 0 deletions exported/aip_storybook/aip_storybook.scml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<spriter_data scml_version="1.0" generator="BrashMonkey Spriter" generator_version="b5">
<folder id="0" name="body">
<file id="0" name="body/full.png" width="418" height="278" pivot_x="0" pivot_y="1"/>
</folder>
<entity id="0" name="aip_storybook">
<animation id="0" name="idle" length="100">
<mainline>
<key id="0">
<object_ref id="0" name="full" folder="0" file="0" abs_x="0.998758" abs_y="-8.922881" abs_pivot_x="0.502483" abs_pivot_y="0.345763" abs_angle="0" abs_scale_x="0.4" abs_scale_y="0.4" abs_a="1" timeline="0" key="0" z_index="0"/>
</key>
</mainline>
<timeline id="0" name="full">
<key id="0" spin="0">
<object folder="0" file="0" x="0.998758" y="-8.922881" pivot_x="0.502483" pivot_y="0.345763" angle="0" scale_x="0.4" scale_y="0.4"/>
</key>
</timeline>
</animation>
</entity>
</spriter_data>
Binary file added exported/aip_storybook/body/full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added exported/aip_storybook/body/full.sai2
Binary file not shown.
Binary file added images/aipStory/woodener.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/aipStory/woodener.tex
Binary file not shown.
1 change: 1 addition & 0 deletions images/aipStory/woodener.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<Atlas><Texture filename="woodener.tex" /><Elements><Element name="woodener.tex" u1="0.00048828125" u2="0.97607421875" v1="0.02392578125" v2="0.99951171875" /></Elements></Atlas>
Binary file added images/inventoryimages/aip_storybook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/inventoryimages/aip_storybook.sai2
Binary file not shown.
Binary file added images/inventoryimages/aip_storybook.tex
Binary file not shown.
1 change: 1 addition & 0 deletions images/inventoryimages/aip_storybook.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<Atlas><Texture filename="aip_storybook.tex" /><Elements><Element name="aip_storybook.tex" u1="0.0078125" u2="0.9921875" v1="0.0078125" v2="0.9921875" /></Elements></Atlas>
5 changes: 3 additions & 2 deletions modmain.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Assets = {
PrefabFiles = {
-- Meta
"aip_0_buffer",
"aip_0_preload",

-- vest
"aip_vest",
Expand Down Expand Up @@ -142,6 +143,7 @@ PrefabFiles = {
"aip_oldone_once",
"aip_oldone_black",
"aip_oldone_jellyfish",
"aip_storybook",

-- Orbit
"aip_orbit",
Expand Down Expand Up @@ -258,6 +260,7 @@ modimport("scripts/hooks/aip_drive_hook")
modimport("scripts/hooks/aip_drift_hook") -- 打水漂
modimport("scripts/hooks/aip_transfer_hook")
modimport("scripts/hooks/aip_oldone_hook")
modimport("scripts/hooks/aip_story_hook")

function PlayerPrefabPostInit(inst)
if not inst.components.aipc_player_client then
Expand Down Expand Up @@ -297,8 +300,6 @@ end
AddPlayerPostInit(PlayerPrefabPostInit)




-- AddPlayerSgPostInit(function(self)
-- -- local run_start = self.states.run_start
-- -- if run_start then
Expand Down
Loading

0 comments on commit 84f7d13

Please sign in to comment.