仓库中添加内置的demo
30
demo/.gitignore
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
|
||||||
|
#///////////////////////////
|
||||||
|
# Cocos Creator 3D Project
|
||||||
|
#///////////////////////////
|
||||||
|
library/
|
||||||
|
temp/
|
||||||
|
local/
|
||||||
|
build/
|
||||||
|
profiles/
|
||||||
|
extensions/
|
||||||
|
publish/
|
||||||
|
#//////////////////////////
|
||||||
|
# NPM
|
||||||
|
#//////////////////////////
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
#//////////////////////////
|
||||||
|
# VSCode
|
||||||
|
#//////////////////////////
|
||||||
|
.vscode/
|
||||||
|
.creator/
|
||||||
|
|
||||||
|
#//////////////////////////
|
||||||
|
# WebStorm
|
||||||
|
#//////////////////////////
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
|
**/.DS_Store
|
2
demo/FguiCreator3.8/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.DS_Store
|
||||||
|
.objs/
|
2
demo/FguiCreator3.8/FguiCreator3.8.fairy
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<projectDescription id="d3e719036c53e8a76cdc4336bf0d825f" type="CocosCreator" version="5.0"/>
|
22
demo/FguiCreator3.8/assets/Basics/btns/ComboBox1.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="100,20" extention="ComboBox">
|
||||||
|
<ComboBox dropdown="ui://mkwn34a7kofe6"/>
|
||||||
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver"/>
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_kofe" name="n0" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#F0F0F0" touchable="false">
|
||||||
|
<gearDisplay controller="button" pages="0"/>
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<graph id="n1_kofe" name="n1" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#FAFAFA" touchable="false">
|
||||||
|
<gearDisplay controller="button" pages="2"/>
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<graph id="n2_kofe" name="n2" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#CCCCCC" touchable="false">
|
||||||
|
<gearDisplay controller="button" pages="1,3"/>
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n3_kofe" name="title" xy="0,0" size="80,20" fontSize="12" autoSize="none" vAlign="middle" singleLine="true">
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
18
demo/FguiCreator3.8/assets/Basics/btns/ComboBox1_item.xml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="100,20" extention="Button">
|
||||||
|
<Button mode="Radio"/>
|
||||||
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver"/>
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_kofe" name="n0" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#3399FF" touchable="false">
|
||||||
|
<gearDisplay controller="button" pages="2"/>
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<graph id="n1_kofe" name="n1" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#CCCCCC" touchable="false">
|
||||||
|
<gearDisplay controller="button" pages="1,3"/>
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n2_kofe" name="title" xy="0,0" size="100,20" fontSize="12" autoSize="none" vAlign="middle" singleLine="true">
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
12
demo/FguiCreator3.8/assets/Basics/btns/ComboBox1_popup.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="150,200">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_kofe" name="n0" xy="0,0" size="150,200" type="rect" lineSize="1" lineColor="#A0A0A0" fillColor="#F0F0F0" touchable="false">
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<list id="n1_kofe" name="list" xy="0,0" size="150,200" overflow="scroll" defaultItem="ui://mkwn34a7kofe5">
|
||||||
|
<relation target="" sidePair="width"/>
|
||||||
|
</list>
|
||||||
|
</displayList>
|
||||||
|
<relation target="n1_kofe" sidePair="height"/>
|
||||||
|
</component>
|
0
demo/FguiCreator3.8/assets/Basics/btns/Font1.fnt
Normal file
9
demo/FguiCreator3.8/assets/Basics/btns/Label1.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="400,400" extention="Label">
|
||||||
|
<Label/>
|
||||||
|
<displayList>
|
||||||
|
<text id="n0_kofe" name="title" xy="0,0" size="400,400" fontSize="12" autoSize="none" align="center" vAlign="middle" singleLine="true">
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
BIN
demo/FguiCreator3.8/assets/Basics/btns/MovieClip1.jta
Normal file
10
demo/FguiCreator3.8/assets/Basics/btns/ProgressBar1.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="50,10" extention="ProgressBar">
|
||||||
|
<ProgressBar/>
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_kofe" name="n0" xy="0,0" size="50,10" type="rect" lineSize="1" lineColor="#A0A0A0" fillColor="#F0F0F0">
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<graph id="n1_kofe" name="bar" xy="0,3" size="50,4" type="rect" lineSize="0" fillColor="#3399FF"/>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
13
demo/FguiCreator3.8/assets/Basics/btns/Slider1.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="50,10" extention="Slider">
|
||||||
|
<Slider/>
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_kofe" name="n0" xy="0,0" size="50,10" type="rect" lineSize="1" lineColor="#A0A0A0" fillColor="#F0F0F0">
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<graph id="n1_kofe" name="bar" xy="5,3" size="40,4" type="rect" lineSize="0" fillColor="#3399FF"/>
|
||||||
|
<component id="n2_kofe" name="grip" xy="40,-5" src="kofe2">
|
||||||
|
<relation target="n1_kofe" sidePair="right-right"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
19
demo/FguiCreator3.8/assets/Basics/btns/Slider1_grip.xml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="10,19" extention="Button">
|
||||||
|
<Button/>
|
||||||
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver"/>
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_kofe" name="n0" xy="0,0" size="10,19" type="rect" lineSize="0" fillColor="#F0F0F0" touchable="false">
|
||||||
|
<gearDisplay controller="button" pages="0"/>
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<graph id="n1_kofe" name="n1" xy="0,0" size="10,19" type="rect" lineSize="0" fillColor="#FAFAFA" touchable="false">
|
||||||
|
<gearDisplay controller="button" pages="2"/>
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
<graph id="n2_kofe" name="n2" xy="0,0" size="10,19" type="rect" lineSize="0" fillColor="#CCCCCC" touchable="false">
|
||||||
|
<gearDisplay controller="button" pages="1,3"/>
|
||||||
|
<relation target="" sidePair="width,height"/>
|
||||||
|
</graph>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
10
demo/FguiCreator3.8/assets/Basics/btns/btn_close.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="103,101" pivot="0.5,0.5" extention="Button">
|
||||||
|
<controller name="button" pages="0,up,1,down" selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<image id="n0_fnoh" name="n0" src="ukhnj" fileName="button/image_button_close.png" xy="0,0">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
|
</displayList>
|
||||||
|
<Button downEffect="scale" downEffectValue=".95"/>
|
||||||
|
</component>
|
13
demo/FguiCreator3.8/assets/Basics/btns/button1.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="126,73" pivot="0.5,0.5" extention="Button">
|
||||||
|
<controller name="button" pages="0,up,1,down" selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<image id="n0_zmnj" name="n0" src="kofe1" fileName="btns/image_button1.png" xy="0,0" size="126,73">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
|
<text id="n2_zmnj" name="title" xy="27,11" size="72,46" fontSize="34" color="#ffffff" align="center" vAlign="middle" strokeColor="#000000" strokeSize="3" text="文本">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
<Button downEffect="scale" downEffectValue=".95"/>
|
||||||
|
</component>
|
BIN
demo/FguiCreator3.8/assets/Basics/btns/image_button1.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
demo/FguiCreator3.8/assets/Basics/btns/image_button_close.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
2
demo/FguiCreator3.8/assets/Basics/empty.xml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="0,0"/>
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<component id="n0_g5jd" name="n0" src="kofe0" fileName="btns/button1.xml" xy="0,0" size="750,145">
|
||||||
|
<relation target="" sidePair="width-width,top-top"/>
|
||||||
|
<Button title="这是个header"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<component id="n0_g5jd" name="n0" src="kofe0" fileName="btns/button1.xml" xy="0,0" size="750,145">
|
||||||
|
<relation target="" sidePair="width-width,top-top"/>
|
||||||
|
<Button title="这是个header2"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
BIN
demo/FguiCreator3.8/assets/Basics/image/image_black.png
Normal file
After Width: | Height: | Size: 580 B |
52
demo/FguiCreator3.8/assets/Basics/load/LoadUIWindow.xml
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<text id="n1_tihq" name="lab_tips" xy="278,675" size="204,44" fontSize="32" color="#ffffff" align="center" vAlign="middle" strokeColor="#000000" strokeSize="3" singleLine="true" text="资源加载中....">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
<image id="n3_irvb" name="icon1" src="ebfmf" fileName="image_net_wait.png" xy="185,578" pivot="0.5,1" scale="0.5,0.5">
|
||||||
|
<relation target="n2_irvb" sidePair="middle-middle,right-left"/>
|
||||||
|
</image>
|
||||||
|
<image id="n4_irvb" name="icon2" src="ebfmf" fileName="image_net_wait.png" xy="245,578" pivot="0.5,1" scale="0.5,0.5">
|
||||||
|
<relation target="n2_irvb" sidePair="middle-middle,right-left"/>
|
||||||
|
</image>
|
||||||
|
<image id="n2_irvb" name="icon3" src="ebfmf" fileName="image_net_wait.png" xy="305,578" pivot="0.5,1" scale="0.5,0.5">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</image>
|
||||||
|
<image id="n5_irvb" name="icon4" src="ebfmf" fileName="image_net_wait.png" xy="365,578" pivot="0.5,1" scale="0.5,0.5">
|
||||||
|
<relation target="n2_irvb" sidePair="middle-middle,left-right"/>
|
||||||
|
</image>
|
||||||
|
<image id="n6_irvb" name="icon5" src="ebfmf" fileName="image_net_wait.png" xy="425,578" pivot="0.5,1" scale="0.5,0.5">
|
||||||
|
<relation target="n2_irvb" sidePair="middle-middle,left-right"/>
|
||||||
|
</image>
|
||||||
|
<image id="n7_irvb" name="icon6" src="ebfmf" fileName="image_net_wait.png" xy="485,578" pivot="0.5,1" scale="0.5,0.5">
|
||||||
|
<relation target="n2_irvb" sidePair="middle-middle,left-right"/>
|
||||||
|
</image>
|
||||||
|
</displayList>
|
||||||
|
<transition name="loop" options="2" autoPlay="true" autoPlayRepeat="-1" frameRate="60">
|
||||||
|
<item time="0" type="Alpha" target="n1_tihq" tween="true" startValue="1" endValue="0.5" duration="18" ease="Sine.InOut"/>
|
||||||
|
<item time="0" type="Scale" target="n3_irvb" tween="true" startValue="0.5,0.5" endValue="1,1" duration="6" ease="Linear"/>
|
||||||
|
<item time="12" type="Scale" target="n3_irvb" tween="true" startValue="1,1" endValue="0.5,0.5" duration="6" ease="Linear"/>
|
||||||
|
<item time="18" type="Alpha" target="n1_tihq" tween="true" startValue="0.5" endValue="1" duration="18" ease="Sine.InOut"/>
|
||||||
|
<item time="18" type="Scale" target="n4_irvb" tween="true" startValue="0.5,0.5" endValue="1,1" duration="6" ease="Linear"/>
|
||||||
|
<item time="30" type="Scale" target="n4_irvb" tween="true" startValue="1,1" endValue="0.5,0.5" duration="6" ease="Linear"/>
|
||||||
|
<item time="36" type="Alpha" target="n1_tihq" tween="true" startValue="1" endValue="0.5" duration="18" ease="Sine.InOut"/>
|
||||||
|
<item time="36" type="Scale" target="n2_irvb" tween="true" startValue="0.5,0.5" endValue="1,1" duration="6" ease="Linear"/>
|
||||||
|
<item time="48" type="Scale" target="n2_irvb" tween="true" startValue="1,1" endValue="0.5,0.5" duration="6" ease="Linear"/>
|
||||||
|
<item time="54" type="Alpha" target="n1_tihq" tween="true" startValue="0.5" endValue="1" duration="18" ease="Sine.InOut"/>
|
||||||
|
<item time="54" type="Scale" target="n5_irvb" value="0.5,0.5"/>
|
||||||
|
<item time="54" type="Scale" target="n5_irvb" tween="true" startValue="0.5,0.5" endValue="1,1" duration="6" ease="Linear"/>
|
||||||
|
<item time="66" type="Scale" target="n5_irvb" tween="true" startValue="1,1" endValue="0.5,0.5" duration="6" ease="Linear"/>
|
||||||
|
<item time="72" type="Alpha" target="n1_tihq" tween="true" startValue="1" endValue="0.5" duration="18" ease="Sine.InOut"/>
|
||||||
|
<item time="72" type="Scale" target="n6_irvb" value="0.5,0.5"/>
|
||||||
|
<item time="72" type="Scale" target="n6_irvb" tween="true" startValue="0.5,0.5" endValue="1,1" duration="6" ease="Linear"/>
|
||||||
|
<item time="84" type="Scale" target="n6_irvb" tween="true" startValue="1,1" endValue="0.5,0.5" duration="6" ease="Linear"/>
|
||||||
|
<item time="90" type="Alpha" target="n1_tihq" tween="true" startValue="0.5" endValue="1" duration="18" ease="Sine.InOut"/>
|
||||||
|
<item time="90" type="Scale" target="n7_irvb" tween="true" startValue="0.5,0.5" endValue="1,1" duration="6" ease="Linear"/>
|
||||||
|
<item time="102" type="Scale" target="n7_irvb" tween="true" startValue="1,1" endValue="0.5,0.5" duration="6" ease="Linear"/>
|
||||||
|
</transition>
|
||||||
|
<transition name="open" options="2" autoPlay="true" frameRate="60">
|
||||||
|
<item time="0" type="Alpha" value="0"/>
|
||||||
|
<item time="6" type="Alpha" tween="true" startValue="0" endValue="1" duration="6" ease="Linear"/>
|
||||||
|
</transition>
|
||||||
|
</component>
|
BIN
demo/FguiCreator3.8/assets/Basics/load/image_net_wait.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
29
demo/FguiCreator3.8/assets/Basics/package.xml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packageDescription id="mkwn34a7">
|
||||||
|
<resources>
|
||||||
|
<component id="kofe0" name="button1.xml" path="/btns/" exported="true"/>
|
||||||
|
<image id="kofe1" name="image_button1.png" path="/btns/" scale="9grid" scale9grid="32,30,3,5"/>
|
||||||
|
<component id="kofe2" name="Slider1_grip.xml" path="/btns/"/>
|
||||||
|
<component id="kofe3" name="Slider1.xml" path="/btns/"/>
|
||||||
|
<component id="kofe4" name="ProgressBar1.xml" path="/btns/"/>
|
||||||
|
<component id="kofe5" name="ComboBox1_item.xml" path="/btns/"/>
|
||||||
|
<component id="kofe6" name="ComboBox1_popup.xml" path="/btns/"/>
|
||||||
|
<component id="kofe7" name="ComboBox1.xml" path="/btns/" exported="true"/>
|
||||||
|
<component id="kofe8" name="Label1.xml" path="/btns/"/>
|
||||||
|
<font id="kofe9" name="Font1.fnt" path="/btns/" exported="true"/>
|
||||||
|
<movieclip id="kofea" name="MovieClip1.jta" path="/btns/"/>
|
||||||
|
<component id="g5jdb" name="WindowHeader.xml" path="/header/" exported="true"/>
|
||||||
|
<component id="wx4pc" name="WindowHeader2.xml" path="/header/" exported="true"/>
|
||||||
|
<component id="qphyd" name="empty.xml" path="/" exported="true"/>
|
||||||
|
<component id="ebfme" name="LoadUIWindow.xml" path="/load/" exported="true"/>
|
||||||
|
<image id="ebfmf" name="image_net_wait.png" path="/load/"/>
|
||||||
|
<component id="ukhnh" name="AlertWindow.xml" path="/window/" exported="true"/>
|
||||||
|
<component id="ukhni" name="btn_close.xml" path="/btns/" exported="true"/>
|
||||||
|
<image id="ukhnj" name="image_button_close.png" path="/btns/"/>
|
||||||
|
<component id="gukgk" name="ToastWindow.xml" path="/window/" exported="true"/>
|
||||||
|
<image id="gukgl" name="image_toastbg.png" path="/window/toast/"/>
|
||||||
|
<component id="gukgm" name="toast.xml" path="/window/toast/"/>
|
||||||
|
<image id="gukgn" name="image_black.png" path="/image/" scale="9grid" scale9grid="4,4,2,2"/>
|
||||||
|
</resources>
|
||||||
|
<publish name="" path="../assets/resources/ui/manual" packageCount="2"/>
|
||||||
|
</packageDescription>
|
27
demo/FguiCreator3.8/assets/Basics/window/AlertWindow.xml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334" pivot="0.5,0.5" designImageAlpha="30" designImageLayer="1">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_eqwn" name="bg" xy="36,416" size="678,500" type="rect" lineSize="3" fillColor="#ff999999" corner="20">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
<relation target="n4_eqwn" sidePair="height-height"/>
|
||||||
|
</graph>
|
||||||
|
<component id="n3_eqwn" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" xy="626,394">
|
||||||
|
<relation target="n0_eqwn" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
<component id="n10_jtaa" name="btn_cancel" src="kofe0" fileName="btns/button1.xml" xy="211,802">
|
||||||
|
<relation target="n0_eqwn" sidePair="center-center,bottom-bottom"/>
|
||||||
|
</component>
|
||||||
|
<component id="n9_kjg6" name="btn_ok" src="kofe0" fileName="btns/button1.xml" xy="433,802" size="126,73">
|
||||||
|
<relation target="n0_eqwn" sidePair="center-center,bottom-bottom"/>
|
||||||
|
</component>
|
||||||
|
<text id="n2_eqwn" name="lab_title" xy="375,471" pivot="0.5,0.5" anchor="true" size="210,64" fontSize="48" color="#ffffff" align="center" vAlign="middle" autoSize="shrink" strokeColor="#000000" strokeSize="2" shadowColor="#000000" shadowOffset="0,3" singleLine="true" text="标题">
|
||||||
|
<relation target="n0_eqwn" sidePair="center-center,top-top"/>
|
||||||
|
</text>
|
||||||
|
<text id="n4_eqwn" name="lab_content" xy="85,571" size="580,157" fontSize="36" color="#ffffff" align="center" vAlign="middle" leading="10" letterSpacing="2" autoSize="height" strokeColor="#000000" strokeSize="2" shadowColor="#000000" shadowOffset="0,2" text="这是描述内容这是描述内容这是描述内容这是描述内容这是描述内容描述内容描述内容">
|
||||||
|
<relation target="n0_eqwn" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
<transition name="open" options="2" autoPlay="true" frameRate="30">
|
||||||
|
<item time="0" type="Scale" tween="true" startValue="0,0" endValue="1,1" duration="9" ease="Back.Out"/>
|
||||||
|
</transition>
|
||||||
|
</component>
|
11
demo/FguiCreator3.8/assets/Basics/window/ToastWindow.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<image id="n2_q3s0" name="bgMask" src="gukgn" fileName="image/image_black.png" xy="0,0" size="750,1334" alpha="0.8">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</image>
|
||||||
|
<component id="n1_e679" name="toast" src="gukgm" fileName="window/toast/toast.xml" xy="0,402" touchable="false">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
BIN
demo/FguiCreator3.8/assets/Basics/window/toast/image_toastbg.png
Normal file
After Width: | Height: | Size: 20 KiB |
19
demo/FguiCreator3.8/assets/Basics/window/toast/toast.xml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,87">
|
||||||
|
<displayList>
|
||||||
|
<image id="n1_e679" name="bg" src="gukgl" fileName="window/toast/image_toastbg.png" xy="2,8" size="746,85">
|
||||||
|
<relation target="n0_8ej8" sidePair="height-height,center-center,middle-middle"/>
|
||||||
|
</image>
|
||||||
|
<text id="n0_8ej8" name="labTips" xy="275,22" size="200,42" fontSize="30" color="#ffd953" align="center" vAlign="middle" leading="10" text="toast提示文本">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
<transition name="hide" options="2" frameRate="30">
|
||||||
|
<item time="0" type="Alpha" tween="true" startValue="1" endValue="0" duration="6" ease="Linear"/>
|
||||||
|
<item time="0" type="XY" target="n0_8ej8" tween="true" startValue="-,15" endValue="-,-30" duration="6" ease="Linear"/>
|
||||||
|
</transition>
|
||||||
|
<transition name="show" options="2" frameRate="30">
|
||||||
|
<item time="0" type="Alpha" tween="true" startValue="0" endValue="1" duration="3" ease="Linear"/>
|
||||||
|
<item time="0" type="XY" target="n0_8ej8" value="-,15"/>
|
||||||
|
</transition>
|
||||||
|
</component>
|
41
demo/FguiCreator3.8/assets/Condition/ConditionWindow.xml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n2_fnoh" name="n2" xy="30,45" size="690,1243" type="rect" lineSize="5" fillColor="#ff666666" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<component id="n4_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="626,26">
|
||||||
|
<relation target="n2_fnoh" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
<component id="n5_eiv0" name="n5" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="57,183" size="308,99" touchable="false">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="任意条件达成显示"/>
|
||||||
|
</component>
|
||||||
|
<component id="n6_eiv0" name="n6" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="394,183" size="308,99" touchable="false">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="所有条件达成显示"/>
|
||||||
|
</component>
|
||||||
|
<component id="n7_eiv0" name="reddot1" src="sf8l1" fileName="image/item_reddot.xml" xy="336,170">
|
||||||
|
<relation target="n5_eiv0" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
<component id="n8_eiv0" name="reddot2" src="sf8l1" fileName="image/item_reddot.xml" xy="669,169">
|
||||||
|
<relation target="n6_eiv0" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
<component id="n9_eiv0" name="btn_condition1" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="150,700" size="450,99">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
<Button title="条件1"/>
|
||||||
|
</component>
|
||||||
|
<component id="n10_eiv0" name="btn_condition2" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="150,824" size="450,99">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
<Button title="条件2"/>
|
||||||
|
</component>
|
||||||
|
<component id="n11_eiv0" name="btn_condition3" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="150,948" size="450,99">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
<Button title="条件3"/>
|
||||||
|
</component>
|
||||||
|
<component id="n12_eiv0" name="btn_condition4" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="150,1072" size="450,99">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
<Button title="条件4"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
BIN
demo/FguiCreator3.8/assets/Condition/image/image_reddot_bg.png
Normal file
After Width: | Height: | Size: 933 B |
13
demo/FguiCreator3.8/assets/Condition/image/item_reddot.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="42,42" pivot="0.5,0.5">
|
||||||
|
<displayList>
|
||||||
|
<image id="n17_wjpd" name="img" src="sf8l2" fileName="image/image_reddot_bg.png" xy="0,0" pivot="0.5,0.5">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
|
</displayList>
|
||||||
|
<transition name="normal" options="2" autoPlay="true" autoPlayRepeat="-1" frameRate="30">
|
||||||
|
<item time="0" type="Scale" target="n17_wjpd" tween="true" startValue="1,1" endValue="0.85,0.85" duration="6"/>
|
||||||
|
<item time="6" type="Scale" target="n17_wjpd" tween="true" startValue="0.85,0.85" endValue="1.1,1.1" duration="12"/>
|
||||||
|
<item time="18" type="Scale" target="n17_wjpd" tween="true" startValue="1.1,1.1" endValue="1,1" duration="6"/>
|
||||||
|
</transition>
|
||||||
|
</component>
|
9
demo/FguiCreator3.8/assets/Condition/package.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packageDescription id="n43z7yae">
|
||||||
|
<resources>
|
||||||
|
<component id="sf8l0" name="ConditionWindow.xml" path="/" exported="true"/>
|
||||||
|
<component id="sf8l1" name="item_reddot.xml" path="/image/"/>
|
||||||
|
<image id="sf8l2" name="image_reddot_bg.png" path="/image/"/>
|
||||||
|
</resources>
|
||||||
|
<publish name=""/>
|
||||||
|
</packageDescription>
|
36
demo/FguiCreator3.8/assets/Home/HomeWindow.xml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<controller name="status" pages="0,1,1,2,2,3" selected="0"/>
|
||||||
|
<controller name="sta2" pages="0,,1," selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_73ie" name="n0" xy="0,0" size="750,1334" type="rect" lineSize="5" lineColor="#ffff0000" fillColor="#ff003399" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<component id="n17_eiv0" name="btn_condition" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="215,644" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="条件显示节点" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n18_pldv" name="btn_config" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="215,547" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="加载二进制数据表" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n19_jwlw" name="btn_socket" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="215,450" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="socket测试" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n20_jevi" name="btn_minigame" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="215,353" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="小游戏接口测试" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n21_bz1o" name="btn_hotupdate" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="215,256" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="热更新测试" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n22_sf8l" name="btn_ui" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="215,158" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="界面功能" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
<transition name="t0"/>
|
||||||
|
<transition name="t1"/>
|
||||||
|
</component>
|
7
demo/FguiCreator3.8/assets/Home/package.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packageDescription id="7jytqmr7">
|
||||||
|
<resources>
|
||||||
|
<component id="g0n30" name="HomeWindow.xml" path="/" exported="true"/>
|
||||||
|
</resources>
|
||||||
|
<publish name="" path="../assets/resources/ui/manual" packageCount="2"/>
|
||||||
|
</packageDescription>
|
25
demo/FguiCreator3.8/assets/HotUpdate/HotUpdateWindow.xml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_73ie" name="n0" xy="0,0" size="750,1334" type="rect" lineSize="5" lineColor="#ffff0000" fillColor="#ff003333" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<component id="n1_zmnj" name="btn_check" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="215,306" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
<Button title="检测更新" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n22_jevi" name="btn_update" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="215,437" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
<Button title="开始更新" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n24_jevi" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="323,1079">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
</component>
|
||||||
|
<text id="n25_74au" name="lab_version" xy="231,81" size="288,49" fontSize="36" color="#ffffff" align="center" vAlign="middle" text="当前资源版本号:1">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
</text>
|
||||||
|
<text id="n26_74au" name="lab_desc" xy="25,617" size="700,228" fontSize="36" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="检查中">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
7
demo/FguiCreator3.8/assets/HotUpdate/package.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packageDescription id="02s2en9u">
|
||||||
|
<resources>
|
||||||
|
<component id="bz1o0" name="HotUpdateWindow.xml" path="/" exported="true"/>
|
||||||
|
</resources>
|
||||||
|
<publish name=""/>
|
||||||
|
</packageDescription>
|
37
demo/FguiCreator3.8/assets/MiniGame/MiniGameWindow.xml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_73ie" name="n0" xy="0,0" size="750,1334" type="rect" lineSize="5" lineColor="#ffff0000" fillColor="#ff003333" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n21_jevi" name="lab_title" xy="247,46" size="256,49" fontSize="36" color="#ffffff" text="小游戏接口测试">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
</text>
|
||||||
|
<component id="n1_zmnj" name="btn_ads" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="36,190" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="展示广告" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n22_jevi" name="btn_pay" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="395,190" size="320,73">
|
||||||
|
<relation target="" sidePair="center-center,top-top"/>
|
||||||
|
<Button title="拉起支付" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<text id="n23_jevi" name="lab_desc" xy="31,768" size="688,420" fontSize="24" color="#ffffff" vAlign="middle" autoSize="shrink" text="展示一些信息">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
</text>
|
||||||
|
<component id="n24_jevi" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="323,1204">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
</component>
|
||||||
|
<graph id="n26_jevi" name="n26" xy="39,110" size="310,70" type="rect" lineSize="4" corner="5">
|
||||||
|
<relation target="n1_zmnj" sidePair="center-center,bottom-top"/>
|
||||||
|
</graph>
|
||||||
|
<graph id="n27_jevi" name="n27" xy="402,107" size="310,70" type="rect" lineSize="4" corner="5">
|
||||||
|
<relation target="n22_jevi" sidePair="center-center,bottom-top"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n25_jevi" name="lab_adid" xy="42,112" size="303,65" fontSize="24" align="center" vAlign="middle" ubb="true" autoSize="none" text="" input="true" prompt="[color=#666666]输入广告ID[/color]">
|
||||||
|
<relation target="n26_jevi" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
<text id="n28_jevi" name="lab_pay" xy="405,109" size="303,65" fontSize="22" align="center" vAlign="middle" autoSize="none" singleLine="true" text="" input="true" prompt="[color=#666666]输入1元兑换的游戏币数量[/color]" keyboardType="1">
|
||||||
|
<relation target="n27_jevi" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
7
demo/FguiCreator3.8/assets/MiniGame/package.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packageDescription id="iq5ax9c9">
|
||||||
|
<resources>
|
||||||
|
<component id="jevi0" name="MiniGameWindow.xml" path="/" exported="true"/>
|
||||||
|
</resources>
|
||||||
|
<publish name=""/>
|
||||||
|
</packageDescription>
|
45
demo/FguiCreator3.8/assets/Socket/SocketTestWindow.xml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<controller name="status" pages="0,none,1,connect" selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_73ie" name="n0" xy="25,67" size="700,1200" type="rect" lineSize="5" fillColor="#ff666666" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<component id="n2_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="631,50">
|
||||||
|
<relation target="n0_73ie" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
<component id="n5_jwlw" name="btn_stop" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="220,411" size="310,87" touchable="false" grayed="true">
|
||||||
|
<gearLook controller="status" pages="0" values="1,0,1,0" default="1,0,0,1"/>
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
<Button title="断开连接"/>
|
||||||
|
</component>
|
||||||
|
<component id="n3_jwlw" name="btn_start" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="220,295" size="310,87">
|
||||||
|
<gearLook controller="status" pages="1" values="1,0,0,1" default="1,0,0,1"/>
|
||||||
|
<gearText controller="status" pages="1" values="连接中" default="连接"/>
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
<Button title="连接"/>
|
||||||
|
</component>
|
||||||
|
<component id="n4_jwlw" name="btn_send" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="398,905" size="310,87" touchable="false" grayed="true">
|
||||||
|
<gearLook controller="status" pages="0" values="1,0,1,0" default="1,0,0,1"/>
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
<Button title="发送文本消息"/>
|
||||||
|
</component>
|
||||||
|
<component id="n10_fxlq" name="btn_send_protobuf" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="55,905" size="310,87" touchable="false" grayed="true">
|
||||||
|
<gearLook controller="status" pages="0" values="1,0,1,0" default="1,0,0,1"/>
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
<Button title="发送二进制消息"/>
|
||||||
|
</component>
|
||||||
|
<graph id="n7_jwlw" name="n7" xy="81,168" size="588,100" type="rect" lineSize="3" corner="15">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n6_jwlw" name="text_input" xy="93,180" size="564,77" fontSize="36" vAlign="middle" autoSize="shrink" singleLine="true" text="" input="true" prompt="[color=#666666]请输入要连接的地址[/color]">
|
||||||
|
<relation target="n7_jwlw" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
<graph id="n8_jwlw" name="n8" xy="44,521" size="661,357" type="rect" lineSize="3" corner="15">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n9_jwlw" name="text_input_message" xy="56,533" size="639,334" fontSize="36" autoSize="shrink" singleLine="true" text="" input="true" prompt="[color=#666666]请输入要发送的内容[/color]">
|
||||||
|
<relation target="n8_jwlw" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
7
demo/FguiCreator3.8/assets/Socket/package.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packageDescription id="ni6vjfub">
|
||||||
|
<resources>
|
||||||
|
<component id="jwlwu" name="SocketTestWindow.xml" path="/" exported="true"/>
|
||||||
|
</resources>
|
||||||
|
<publish name=""/>
|
||||||
|
</packageDescription>
|
14
demo/FguiCreator3.8/assets/Window/CloseAllWindow.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n2_fnoh" name="n2" xy="43,362" size="663,610" type="rect" lineSize="5" fillColor="#ff666666" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n3_fnoh" name="n3" xy="253,627" size="244,79" font="Hiragino Sans GB" fontSize="60" color="#ffffff" align="center" vAlign="middle" text="关闭所有">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
<component id="n4_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="612,343">
|
||||||
|
<relation target="n2_fnoh" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
14
demo/FguiCreator3.8/assets/Window/CloseOneWindow.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n2_fnoh" name="n2" xy="43,362" size="663,610" type="rect" lineSize="5" fillColor="#ff666666" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n3_fnoh" name="n3" xy="223,627" size="304,79" font="Hiragino Sans GB" fontSize="60" color="#ffffff" align="center" vAlign="middle" text="关闭前一个">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
<component id="n4_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="612,343">
|
||||||
|
<relation target="n2_fnoh" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
14
demo/FguiCreator3.8/assets/Window/CustomComponents.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="800,600">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_hg37" name="n0" xy="0,0" size="800,600" type="rect" lineSize="6" lineColor="#ff000099" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n1_hg37" name="n1" xy="182,268" size="436,64" fontSize="48" align="center" vAlign="middle" text="我是一个自定义组件">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
<component id="n2_nub0" name="n2" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="348,120">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
14
demo/FguiCreator3.8/assets/Window/HideAllWindow.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n2_fnoh" name="n2" xy="43,362" size="663,610" type="rect" lineSize="5" fillColor="#ff666666" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n3_fnoh" name="n3" xy="253,627" size="244,79" fontSize="60" color="#ffffff" align="center" vAlign="middle" text="隐藏所有">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
<component id="n4_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="611,338">
|
||||||
|
<relation target="n2_fnoh" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
14
demo/FguiCreator3.8/assets/Window/HideOneWindow.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n2_fnoh" name="n2" xy="43,362" size="663,610" type="rect" lineSize="5" fillColor="#ff666666" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<text id="n3_fnoh" name="n3" xy="223,627" size="304,79" fontSize="60" color="#ffffff" align="center" vAlign="middle" text="隐藏前一个">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</text>
|
||||||
|
<component id="n4_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="612,343">
|
||||||
|
<relation target="n2_fnoh" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
14
demo/FguiCreator3.8/assets/Window/PopWindow.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_73ie" name="n0" xy="25,265" size="700,804" type="rect" lineSize="5" fillColor="#ff666666" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<image id="n1_dj6b" name="n1" src="sf8l5" fileName="image/Icon-60@2x.png" xy="315,607">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</image>
|
||||||
|
<component id="n2_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="631,248">
|
||||||
|
<relation target="n0_73ie" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
14
demo/FguiCreator3.8/assets/Window/PopWindowHeader1.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_73ie" name="n0" xy="25,265" size="700,804" type="rect" lineSize="5" fillColor="#ff666666" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<image id="n1_dj6b" name="n1" src="sf8l5" fileName="image/Icon-60@2x.png" xy="315,607">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</image>
|
||||||
|
<component id="n2_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="631,248">
|
||||||
|
<relation target="n0_73ie" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
14
demo/FguiCreator3.8/assets/Window/PopWindowHeader2.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_73ie" name="n0" xy="25,265" size="700,804" type="rect" lineSize="5" lineColor="#ff000099" fillColor="#ff0066cc" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<image id="n1_dj6b" name="n1" src="sf8l5" fileName="image/Icon-60@2x.png" xy="315,607">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</image>
|
||||||
|
<component id="n2_fnoh" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="631,248">
|
||||||
|
<relation target="n0_73ie" sidePair="right-right,top-top"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
39
demo/FguiCreator3.8/assets/Window/UIBaseWindow.xml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="750,1334">
|
||||||
|
<displayList>
|
||||||
|
<graph id="n0_73ie" name="n0" xy="0,0" size="750,1334" type="rect" lineSize="5" lineColor="#ffff0000" fillColor="#ff003399" corner="20">
|
||||||
|
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||||
|
</graph>
|
||||||
|
<component id="n1_zmnj" name="btn_header1" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="30,205" size="320,73">
|
||||||
|
<relation target="" sidePair="left-left,top-top"/>
|
||||||
|
<Button title="header1" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n12_wx4p" name="btn_header2" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="30,308" size="320,73">
|
||||||
|
<relation target="" sidePair="left-left,top-top"/>
|
||||||
|
<Button title="header2" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n3_zmnj" name="btn_empty" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="30,411" size="320,73">
|
||||||
|
<relation target="" sidePair="left-left,top-top"/>
|
||||||
|
<Button title="没有header" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n4_zmnj" name="btn_closeone" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="408,205" size="320,73">
|
||||||
|
<relation target="" sidePair="right-right,top-top"/>
|
||||||
|
<Button title="关闭前一个" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n5_zmnj" name="btn_closeall" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="408,308" size="320,73">
|
||||||
|
<relation target="" sidePair="right-right,top-top"/>
|
||||||
|
<Button title="关闭所有" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n13_wx4p" name="btn_hideone" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="407,411" size="320,73">
|
||||||
|
<relation target="" sidePair="right-right,top-top"/>
|
||||||
|
<Button title="隐藏前一个" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n14_wx4p" name="btn_hideall" src="kofe0" fileName="btns/button1.xml" pkg="mkwn34a7" xy="408,514" size="320,73">
|
||||||
|
<relation target="" sidePair="right-right,top-top"/>
|
||||||
|
<Button title="隐藏所有" titleFontSize="26"/>
|
||||||
|
</component>
|
||||||
|
<component id="n22_sf8l" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" pkg="mkwn34a7" xy="323,1154">
|
||||||
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
|
</component>
|
||||||
|
</displayList>
|
||||||
|
</component>
|
BIN
demo/FguiCreator3.8/assets/Window/image/Icon-60@2x.png
Executable file
After Width: | Height: | Size: 32 KiB |
16
demo/FguiCreator3.8/assets/Window/package.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packageDescription id="nu4s9n4y">
|
||||||
|
<resources>
|
||||||
|
<component id="sf8l0" name="CloseAllWindow.xml" path="/" exported="true"/>
|
||||||
|
<component id="sf8l1" name="CloseOneWindow.xml" path="/" exported="true"/>
|
||||||
|
<component id="sf8l2" name="HideAllWindow.xml" path="/" exported="true"/>
|
||||||
|
<component id="sf8l3" name="HideOneWindow.xml" path="/" exported="true"/>
|
||||||
|
<component id="sf8l4" name="PopWindow.xml" path="/" exported="true"/>
|
||||||
|
<image id="sf8l5" name="Icon-60@2x.png" path="/image/"/>
|
||||||
|
<component id="sf8l6" name="PopWindowHeader1.xml" path="/" exported="true"/>
|
||||||
|
<component id="sf8l7" name="PopWindowHeader2.xml" path="/" exported="true"/>
|
||||||
|
<component id="sf8l8" name="UIBaseWindow.xml" path="/" exported="true"/>
|
||||||
|
<component id="sf8lw" name="CustomComponents.xml" path="/"/>
|
||||||
|
</resources>
|
||||||
|
<publish name=""/>
|
||||||
|
</packageDescription>
|
8
demo/FguiCreator3.8/settings/Adaptation.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"scaleMode": "ScaleWithScreenSize",
|
||||||
|
"screenMathMode": "MatchWidthOrHeight",
|
||||||
|
"designResolutionX": 750,
|
||||||
|
"designResolutionY": 1334,
|
||||||
|
"devices": [],
|
||||||
|
"fileName": "Adaptation"
|
||||||
|
}
|
25
demo/FguiCreator3.8/settings/Common.json
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"font": "Hiragino Sans GB",
|
||||||
|
"fontSize": 36,
|
||||||
|
"textColor": "#ffffff",
|
||||||
|
"fontAdjustment": false,
|
||||||
|
"colorScheme": [
|
||||||
|
"自定义颜色 #FF0000"
|
||||||
|
],
|
||||||
|
"fontSizeScheme": [
|
||||||
|
"自定义字体大小 30"
|
||||||
|
],
|
||||||
|
"fontScheme": [
|
||||||
|
"默认字体"
|
||||||
|
],
|
||||||
|
"scrollBars": {
|
||||||
|
"horizontal": "",
|
||||||
|
"vertical": "",
|
||||||
|
"defaultDisplay": "visible"
|
||||||
|
},
|
||||||
|
"tipsRes": "",
|
||||||
|
"buttonClickSound": "",
|
||||||
|
"pivot": "default",
|
||||||
|
"listClearOnPublish": false,
|
||||||
|
"fileName": "Common"
|
||||||
|
}
|
1
demo/FguiCreator3.8/settings/CustomProperties.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
35
demo/FguiCreator3.8/settings/Publish.json
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"path": "../assets/resources/ui",
|
||||||
|
"branchPath": "",
|
||||||
|
"fileExtension": "bin",
|
||||||
|
"packageCount": 2,
|
||||||
|
"compressDesc": true,
|
||||||
|
"binaryFormat": true,
|
||||||
|
"jpegQuality": 80,
|
||||||
|
"compressPNG": false,
|
||||||
|
"codeGeneration": {
|
||||||
|
"allowGenCode": true,
|
||||||
|
"codePath": "",
|
||||||
|
"classNamePrefix": "ui_",
|
||||||
|
"memberNamePrefix": "m_",
|
||||||
|
"packageName": null,
|
||||||
|
"ignoreNoname": true,
|
||||||
|
"getMemberByName": false,
|
||||||
|
"codeType": ""
|
||||||
|
},
|
||||||
|
"includeHighResolution": 0,
|
||||||
|
"branchProcessing": 0,
|
||||||
|
"seperatedAtlasForBranch": false,
|
||||||
|
"atlasSetting": {
|
||||||
|
"maxSize": 2048,
|
||||||
|
"paging": true,
|
||||||
|
"sizeOption": "npot",
|
||||||
|
"forceSquare": false,
|
||||||
|
"allowRotation": false,
|
||||||
|
"trimImage": true
|
||||||
|
},
|
||||||
|
"include2x": false,
|
||||||
|
"include3x": false,
|
||||||
|
"include4x": false,
|
||||||
|
"fileName": "Publish"
|
||||||
|
}
|
3
demo/FguiCreator3.8/settings/i18n.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"langFiles": []
|
||||||
|
}
|
10
demo/README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# 项目说明
|
||||||
|
|
||||||
|
clone项目后,到项目根目录,执行以下命令,安装项目依赖库
|
||||||
|
```bash
|
||||||
|
npm i
|
||||||
|
```
|
||||||
|
|
||||||
|
重新用creator打开项目
|
||||||
|
|
||||||
|
本项目使用的creator版本为3.8.6
|
9
demo/assets/FirstScene.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "2768ad39-fa5d-43f6-a2f8-723dde4d0a32",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
BIN
demo/assets/FirstScene/loading_bg.jpg
Normal file
After Width: | Height: | Size: 190 KiB |
137
demo/assets/FirstScene/loading_bg.jpg.meta
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "efb639df-cc0d-4a17-8b33-2d555c8147b4",
|
||||||
|
"files": [
|
||||||
|
".jpg",
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "efb639df-cc0d-4a17-8b33-2d555c8147b4@6c48a",
|
||||||
|
"displayName": "loading_bg",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "efb639df-cc0d-4a17-8b33-2d555c8147b4",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "efb639df-cc0d-4a17-8b33-2d555c8147b4@f9941",
|
||||||
|
"displayName": "loading_bg",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 488,
|
||||||
|
"height": 1056,
|
||||||
|
"rawWidth": 488,
|
||||||
|
"rawHeight": 1056,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-244,
|
||||||
|
-528,
|
||||||
|
0,
|
||||||
|
244,
|
||||||
|
-528,
|
||||||
|
0,
|
||||||
|
-244,
|
||||||
|
528,
|
||||||
|
0,
|
||||||
|
244,
|
||||||
|
528,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
1056,
|
||||||
|
488,
|
||||||
|
1056,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
488,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-244,
|
||||||
|
-528,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
244,
|
||||||
|
528,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "efb639df-cc0d-4a17-8b33-2d555c8147b4@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": false,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "efb639df-cc0d-4a17-8b33-2d555c8147b4@6c48a",
|
||||||
|
"compressSettings": {
|
||||||
|
"useCompressTexture": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
9
demo/assets/FirstScene/res.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "7dea02d9-d93b-4d10-aa8a-311383a60a66",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
3
demo/assets/FirstScene/res/auto-atlas.pac
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"__type__": "cc.SpriteAtlas"
|
||||||
|
}
|
36
demo/assets/FirstScene/res/auto-atlas.pac.meta
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.8",
|
||||||
|
"importer": "auto-atlas",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "0ee96ff7-032b-4826-b543-e6d2dccea89a",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"maxWidth": 1024,
|
||||||
|
"maxHeight": 1024,
|
||||||
|
"padding": 1,
|
||||||
|
"allowRotation": true,
|
||||||
|
"forceSquared": false,
|
||||||
|
"powerOfTwo": false,
|
||||||
|
"algorithm": "MaxRects",
|
||||||
|
"format": "png",
|
||||||
|
"quality": 80,
|
||||||
|
"contourBleed": true,
|
||||||
|
"paddingBleed": true,
|
||||||
|
"filterUnused": true,
|
||||||
|
"removeTextureInBundle": true,
|
||||||
|
"removeImageInBundle": true,
|
||||||
|
"removeSpriteAtlasInBundle": true,
|
||||||
|
"compressSettings": {},
|
||||||
|
"textureSetting": {
|
||||||
|
"wrapModeS": "repeat",
|
||||||
|
"wrapModeT": "repeat",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
demo/assets/FirstScene/res/image_age_tip.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
134
demo/assets/FirstScene/res/image_age_tip.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "21e24b19-38a1-4116-a09a-a7765ef9207d",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "21e24b19-38a1-4116-a09a-a7765ef9207d@6c48a",
|
||||||
|
"displayName": "image_age_tip",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "21e24b19-38a1-4116-a09a-a7765ef9207d",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "21e24b19-38a1-4116-a09a-a7765ef9207d@f9941",
|
||||||
|
"displayName": "image_age_tip",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 121,
|
||||||
|
"height": 156,
|
||||||
|
"rawWidth": 121,
|
||||||
|
"rawHeight": 156,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-60.5,
|
||||||
|
-78,
|
||||||
|
0,
|
||||||
|
60.5,
|
||||||
|
-78,
|
||||||
|
0,
|
||||||
|
-60.5,
|
||||||
|
78,
|
||||||
|
0,
|
||||||
|
60.5,
|
||||||
|
78,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
156,
|
||||||
|
121,
|
||||||
|
156,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
121,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-60.5,
|
||||||
|
-78,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
60.5,
|
||||||
|
78,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "21e24b19-38a1-4116-a09a-a7765ef9207d@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "21e24b19-38a1-4116-a09a-a7765ef9207d@6c48a"
|
||||||
|
}
|
||||||
|
}
|
BIN
demo/assets/FirstScene/res/image_bar.png
Normal file
After Width: | Height: | Size: 438 B |
134
demo/assets/FirstScene/res/image_bar.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "5e393489-5334-4bff-aade-dca65a6ab31f",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "5e393489-5334-4bff-aade-dca65a6ab31f@6c48a",
|
||||||
|
"displayName": "image_bar",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "5e393489-5334-4bff-aade-dca65a6ab31f",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "5e393489-5334-4bff-aade-dca65a6ab31f@f9941",
|
||||||
|
"displayName": "image_bar",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 45,
|
||||||
|
"height": 42,
|
||||||
|
"rawWidth": 45,
|
||||||
|
"rawHeight": 42,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-22.5,
|
||||||
|
-21,
|
||||||
|
0,
|
||||||
|
22.5,
|
||||||
|
-21,
|
||||||
|
0,
|
||||||
|
-22.5,
|
||||||
|
21,
|
||||||
|
0,
|
||||||
|
22.5,
|
||||||
|
21,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
42,
|
||||||
|
45,
|
||||||
|
42,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
45,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-22.5,
|
||||||
|
-21,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
22.5,
|
||||||
|
21,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "5e393489-5334-4bff-aade-dca65a6ab31f@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "5e393489-5334-4bff-aade-dca65a6ab31f@6c48a"
|
||||||
|
}
|
||||||
|
}
|
BIN
demo/assets/FirstScene/res/image_bar_bg.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
134
demo/assets/FirstScene/res/image_bar_bg.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "2bf76acc-7d8b-4cb1-8717-92c1963f5231",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "2bf76acc-7d8b-4cb1-8717-92c1963f5231@6c48a",
|
||||||
|
"displayName": "image_bar_bg",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "2bf76acc-7d8b-4cb1-8717-92c1963f5231",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "2bf76acc-7d8b-4cb1-8717-92c1963f5231@f9941",
|
||||||
|
"displayName": "image_bar_bg",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 40,
|
||||||
|
"height": 50,
|
||||||
|
"rawWidth": 40,
|
||||||
|
"rawHeight": 50,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-20,
|
||||||
|
-25,
|
||||||
|
0,
|
||||||
|
20,
|
||||||
|
-25,
|
||||||
|
0,
|
||||||
|
-20,
|
||||||
|
25,
|
||||||
|
0,
|
||||||
|
20,
|
||||||
|
25,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
50,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
40,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-20,
|
||||||
|
-25,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
20,
|
||||||
|
25,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "2bf76acc-7d8b-4cb1-8717-92c1963f5231@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "2bf76acc-7d8b-4cb1-8717-92c1963f5231@6c48a"
|
||||||
|
}
|
||||||
|
}
|
BIN
demo/assets/FirstScene/res/image_health.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
134
demo/assets/FirstScene/res/image_health.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "2e6c7534-7589-4521-9ef9-176162d783d5",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "2e6c7534-7589-4521-9ef9-176162d783d5@6c48a",
|
||||||
|
"displayName": "image_health",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "2e6c7534-7589-4521-9ef9-176162d783d5",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "2e6c7534-7589-4521-9ef9-176162d783d5@f9941",
|
||||||
|
"displayName": "image_health",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 2,
|
||||||
|
"trimY": 2,
|
||||||
|
"width": 634,
|
||||||
|
"height": 60,
|
||||||
|
"rawWidth": 638,
|
||||||
|
"rawHeight": 64,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-317,
|
||||||
|
-30,
|
||||||
|
0,
|
||||||
|
317,
|
||||||
|
-30,
|
||||||
|
0,
|
||||||
|
-317,
|
||||||
|
30,
|
||||||
|
0,
|
||||||
|
317,
|
||||||
|
30,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
2,
|
||||||
|
62,
|
||||||
|
636,
|
||||||
|
62,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
636,
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0.003134796238244514,
|
||||||
|
0.03125,
|
||||||
|
0.9968652037617555,
|
||||||
|
0.03125,
|
||||||
|
0.003134796238244514,
|
||||||
|
0.96875,
|
||||||
|
0.9968652037617555,
|
||||||
|
0.96875
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-317,
|
||||||
|
-30,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
317,
|
||||||
|
30,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "2e6c7534-7589-4521-9ef9-176162d783d5@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "2e6c7534-7589-4521-9ef9-176162d783d5@6c48a"
|
||||||
|
}
|
||||||
|
}
|
BIN
demo/assets/FirstScene/res/image_health_title.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
134
demo/assets/FirstScene/res/image_health_title.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9@6c48a",
|
||||||
|
"displayName": "image_health_title",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9@f9941",
|
||||||
|
"displayName": "image_health_title",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 2,
|
||||||
|
"trimY": 2,
|
||||||
|
"width": 137,
|
||||||
|
"height": 29,
|
||||||
|
"rawWidth": 141,
|
||||||
|
"rawHeight": 33,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-68.5,
|
||||||
|
-14.5,
|
||||||
|
0,
|
||||||
|
68.5,
|
||||||
|
-14.5,
|
||||||
|
0,
|
||||||
|
-68.5,
|
||||||
|
14.5,
|
||||||
|
0,
|
||||||
|
68.5,
|
||||||
|
14.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
2,
|
||||||
|
31,
|
||||||
|
139,
|
||||||
|
31,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
139,
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0.014184397163120567,
|
||||||
|
0.06060606060606061,
|
||||||
|
0.9858156028368794,
|
||||||
|
0.06060606060606061,
|
||||||
|
0.014184397163120567,
|
||||||
|
0.9393939393939394,
|
||||||
|
0.9858156028368794,
|
||||||
|
0.9393939393939394
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-68.5,
|
||||||
|
-14.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
68.5,
|
||||||
|
14.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9@6c48a"
|
||||||
|
}
|
||||||
|
}
|
12
demo/assets/bundle_res.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "6af74e7e-0a88-45ee-9f54-eb9fe4dbf93b",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"isBundle": true,
|
||||||
|
"bundleFilterConfig": []
|
||||||
|
}
|
||||||
|
}
|
9
demo/assets/bundle_res/pet.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "8603cf96-ad37-4569-8219-e8a3bf3df0fe",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
BIN
demo/assets/bundle_res/pet/pet1.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
42
demo/assets/bundle_res/pet/pet1.png.meta
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "7bb3b566-6a3e-48f9-b414-3c5ab8527c0a",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "7bb3b566-6a3e-48f9-b414-3c5ab8527c0a@6c48a",
|
||||||
|
"displayName": "pet1",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "nearest",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "7bb3b566-6a3e-48f9-b414-3c5ab8527c0a",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "texture",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "7bb3b566-6a3e-48f9-b414-3c5ab8527c0a@6c48a"
|
||||||
|
}
|
||||||
|
}
|
BIN
demo/assets/bundle_res/pet/pet2.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
134
demo/assets/bundle_res/pet/pet2.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "43b6905d-cad1-4724-a9b6-e5ba1c58846f",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "43b6905d-cad1-4724-a9b6-e5ba1c58846f@6c48a",
|
||||||
|
"displayName": "pet2",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "43b6905d-cad1-4724-a9b6-e5ba1c58846f",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "43b6905d-cad1-4724-a9b6-e5ba1c58846f@f9941",
|
||||||
|
"displayName": "pet2",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 140,
|
||||||
|
"height": 140,
|
||||||
|
"rawWidth": 140,
|
||||||
|
"rawHeight": 140,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-70,
|
||||||
|
-70,
|
||||||
|
0,
|
||||||
|
70,
|
||||||
|
-70,
|
||||||
|
0,
|
||||||
|
-70,
|
||||||
|
70,
|
||||||
|
0,
|
||||||
|
70,
|
||||||
|
70,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
140,
|
||||||
|
140,
|
||||||
|
140,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
140,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-70,
|
||||||
|
-70,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
70,
|
||||||
|
70,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "43b6905d-cad1-4724-a9b6-e5ba1c58846f@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "43b6905d-cad1-4724-a9b6-e5ba1c58846f@6c48a"
|
||||||
|
}
|
||||||
|
}
|
BIN
demo/assets/bundle_res/pet/pet3.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
134
demo/assets/bundle_res/pet/pet3.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "5836c379-d558-423f-a309-f822efcb834d",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "5836c379-d558-423f-a309-f822efcb834d@6c48a",
|
||||||
|
"displayName": "pet3",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "5836c379-d558-423f-a309-f822efcb834d",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "5836c379-d558-423f-a309-f822efcb834d@f9941",
|
||||||
|
"displayName": "pet3",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 140,
|
||||||
|
"height": 140,
|
||||||
|
"rawWidth": 140,
|
||||||
|
"rawHeight": 140,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-70,
|
||||||
|
-70,
|
||||||
|
0,
|
||||||
|
70,
|
||||||
|
-70,
|
||||||
|
0,
|
||||||
|
-70,
|
||||||
|
70,
|
||||||
|
0,
|
||||||
|
70,
|
||||||
|
70,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
140,
|
||||||
|
140,
|
||||||
|
140,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
140,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-70,
|
||||||
|
-70,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
70,
|
||||||
|
70,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "5836c379-d558-423f-a309-f822efcb834d@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "5836c379-d558-423f-a309-f822efcb834d@6c48a"
|
||||||
|
}
|
||||||
|
}
|
9
demo/assets/libs.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "029c5707-dcdd-4e4a-aece-264a51587b84",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
5
demo/assets/libs/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
kunpo-inspector.min.mjs
|
||||||
|
kunpo-inspector.min.mjs.meta
|
||||||
|
|
||||||
|
kunpo-inspector.mjs
|
||||||
|
kunpo-inspector.mjs.meta
|
8
demo/assets/libs/protobuf.min.js
vendored
Normal file
1
demo/assets/libs/protobuf.min.js.map
Normal file
12
demo/assets/libs/protobuf.min.js.map.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.0",
|
||||||
|
"importer": "*",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "49c2d61d-b9d9-42a0-b8fb-0e49a16b3aa9",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".map"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
17
demo/assets/libs/protobuf.min.js.meta
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"ver": "4.0.24",
|
||||||
|
"importer": "javascript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "86dc80e7-444d-49d1-b316-97a0de9ef9d3",
|
||||||
|
"files": [
|
||||||
|
".js"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"loadPluginInEditor": true,
|
||||||
|
"loadPluginInWeb": true,
|
||||||
|
"loadPluginInNative": true,
|
||||||
|
"loadPluginInMiniGame": true,
|
||||||
|
"isPlugin": true
|
||||||
|
}
|
||||||
|
}
|
1
demo/assets/project.manifest
Normal file
12
demo/assets/project.manifest.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.0",
|
||||||
|
"importer": "*",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "61f59735-b08e-4496-9ad8-0731b9d684ca",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".manifest"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
14
demo/assets/resources.meta
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "9d91ce52-ffe8-43c0-a118-9ace6bd9cf45",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"isBundle": true,
|
||||||
|
"bundleConfigID": "default",
|
||||||
|
"bundleName": "resources",
|
||||||
|
"priority": 8
|
||||||
|
}
|
||||||
|
}
|
9
demo/assets/resources/anim.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "b1a64f1f-5f8a-44b6-b8ef-b1383f52b075",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
213
demo/assets/resources/anim/rotate.anim
Normal file
@ -0,0 +1,213 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"__type__": "cc.AnimationClip",
|
||||||
|
"_name": "rotate",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"embeddedPlayerGroups": []
|
||||||
|
},
|
||||||
|
"_native": "",
|
||||||
|
"sample": 60,
|
||||||
|
"speed": 1,
|
||||||
|
"wrapMode": 2,
|
||||||
|
"enableTrsBlending": false,
|
||||||
|
"_duration": 1,
|
||||||
|
"_hash": 500763545,
|
||||||
|
"_tracks": [
|
||||||
|
{
|
||||||
|
"__id__": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_exoticAnimation": null,
|
||||||
|
"_events": [],
|
||||||
|
"_embeddedPlayers": [],
|
||||||
|
"_additiveSettings": {
|
||||||
|
"__id__": 11
|
||||||
|
},
|
||||||
|
"_auxiliaryCurveEntries": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.VectorTrack",
|
||||||
|
"_binding": {
|
||||||
|
"__type__": "cc.animation.TrackBinding",
|
||||||
|
"path": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"proxy": null
|
||||||
|
},
|
||||||
|
"_channels": [
|
||||||
|
{
|
||||||
|
"__id__": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 7
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 9
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_nComponents": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.TrackPath",
|
||||||
|
"_paths": [
|
||||||
|
"eulerAngles"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.Channel",
|
||||||
|
"_curve": {
|
||||||
|
"__id__": 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealCurve",
|
||||||
|
"_times": [
|
||||||
|
0,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"_values": [
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"tangentMode": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"tangentMode": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preExtrapolation": 1,
|
||||||
|
"postExtrapolation": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.Channel",
|
||||||
|
"_curve": {
|
||||||
|
"__id__": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealCurve",
|
||||||
|
"_times": [
|
||||||
|
0,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"_values": [
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"tangentMode": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"tangentMode": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preExtrapolation": 1,
|
||||||
|
"postExtrapolation": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.Channel",
|
||||||
|
"_curve": {
|
||||||
|
"__id__": 8
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealCurve",
|
||||||
|
"_times": [
|
||||||
|
0,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"_values": [
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"tangentMode": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 360,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"tangentMode": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preExtrapolation": 1,
|
||||||
|
"postExtrapolation": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.Channel",
|
||||||
|
"_curve": {
|
||||||
|
"__id__": 10
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealCurve",
|
||||||
|
"_times": [],
|
||||||
|
"_values": [],
|
||||||
|
"preExtrapolation": 1,
|
||||||
|
"postExtrapolation": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.AnimationClipAdditiveSettings",
|
||||||
|
"enabled": false,
|
||||||
|
"refClip": null
|
||||||
|
}
|
||||||
|
]
|
13
demo/assets/resources/anim/rotate.anim.meta
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.0.3",
|
||||||
|
"importer": "animation-clip",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "94e351a1-10f0-41f7-ab21-f29c24e9a2ce",
|
||||||
|
"files": [
|
||||||
|
".cconb"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"name": "rotate"
|
||||||
|
}
|
||||||
|
}
|
9
demo/assets/resources/config.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "1ea023b5-0ab6-4613-b157-3098b11c379b",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
9
demo/assets/resources/config/buffer.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "e4f67d71-d470-42d1-9b9a-1f83d235e025",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
BIN
demo/assets/resources/config/buffer/DictSheet.bin
Normal file
12
demo/assets/resources/config/buffer/DictSheet.bin.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.3",
|
||||||
|
"importer": "buffer",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "c34c30bc-709b-4ad8-9191-8c15875d0d85",
|
||||||
|
"files": [
|
||||||
|
".bin",
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
BIN
demo/assets/resources/config/buffer/basic.bin
Normal file
12
demo/assets/resources/config/buffer/basic.bin.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.3",
|
||||||
|
"importer": "buffer",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "49fb1ab9-a06e-4157-b733-dd3a64202b7c",
|
||||||
|
"files": [
|
||||||
|
".bin",
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
BIN
demo/assets/resources/config/buffer/dict.bin
Normal file
12
demo/assets/resources/config/buffer/dict.bin.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.3",
|
||||||
|
"importer": "buffer",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "5f5f19ff-554c-47e3-babc-05ac4e5b0738",
|
||||||
|
"files": [
|
||||||
|
".bin",
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|