Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xu Chenxi
ygopro2
Commits
ff9478f6
Commit
ff9478f6
authored
Mar 23, 2019
by
Unicorn369
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
0e21e218
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12658 additions
and
12639 deletions
+12658
-12639
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+13
-2
Assets/SibylSystem/deckManager/DeckManager.cs
Assets/SibylSystem/deckManager/DeckManager.cs
+6
-6
Assets/StreamingAssets/ui.zip
Assets/StreamingAssets/ui.zip
+0
-0
Assets/StreamingAssets/ui.zip.meta
Assets/StreamingAssets/ui.zip.meta
+8
-0
Assets/transUI/prefab/trans_ES_tp.prefab
Assets/transUI/prefab/trans_ES_tp.prefab
+8
-8
Assets/transUI/prefab/trans_detailSearch.prefab
Assets/transUI/prefab/trans_detailSearch.prefab
+12623
-12623
No files found.
Assets/SibylSystem/Program.cs
View file @
ff9478f6
...
...
@@ -311,6 +311,17 @@ public class Program : MonoBehaviour
ExtractZipFile
(
bytes
,
ANDROID_GAME_PATH
);
//File.Create(ANDROID_GAME_PATH + ".nomedia");
}
if
(!
File
.
Exists
(
ANDROID_GAME_PATH
+
"updates/ui.txt"
)
||
!
File
.
Exists
(
ANDROID_GAME_PATH
+
"texture/ui/bg_of_right_game_buttons.png"
)
||
!
File
.
Exists
(
ANDROID_GAME_PATH
+
"texture/ui/bg_of_right_card_searcher2.png"
))
{
string
filePath
=
Application
.
streamingAssetsPath
+
"/ui.zip"
;
var
www
=
new
WWW
(
filePath
);
while
(!
www
.
isDone
)
{
}
byte
[]
bytes
=
www
.
bytes
;
ExtractZipFile
(
bytes
,
ANDROID_GAME_PATH
);
}
Environment
.
CurrentDirectory
=
ANDROID_GAME_PATH
;
System
.
IO
.
Directory
.
SetCurrentDirectory
(
ANDROID_GAME_PATH
);
...
...
@@ -411,14 +422,14 @@ public class Program : MonoBehaviour
jo
.
Call
(
"doExtractZipFile"
,
"/storage/emulated/0/ygocore/pics.zip"
,
ANDROID_GAME_PATH
);
File
.
Copy
(
"updates/version2.0.txt"
,
"updates/image_version1.1.txt"
,
true
);
}
else
{
Application
.
OpenURL
(
"https://www.taptap.com/app/37972"
);
//
Application.OpenURL("https://www.taptap.com/app/37972");
jo
.
Call
(
"showToast"
,
"没有发现卡图包,是否未安装YGOMobile"
);
}
}
/**
* 使用Termux编译生成的:libgdiplus.so (https://github.com/Unicorn369/libgdiplus-Android)
* 经测试,只有Android 6.0以上才能正常使用。为了让Android 6.0以下的也能
酬和
使用立绘效果,需做判断
* 经测试,只有Android 6.0以上才能正常使用。为了让Android 6.0以下的也能
凑合
使用立绘效果,需做判断
*
* public boolean APIVersion() {
* if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
...
...
Assets/SibylSystem/deckManager/DeckManager.cs
View file @
ff9478f6
...
...
@@ -399,13 +399,13 @@ public class DeckManager : ServantWithCardDescription
if
(
detailShowed
)
{
gameObjectDetailedSearch
.
GetComponent
<
UITexture
>().
height
=
700
;
iTween
.
MoveTo
(
gameObjectDetailedSearch
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
23
0
-
115f
*
Screen
.
height
/
700f
,
Screen
.
height
*
0.5f
,
0
)),
0.6f
);
reShowBar
(
0
,
230
+
230
*
Screen
.
height
/
700f
);
iTween
.
MoveTo
(
gameObjectDetailedSearch
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
46
0
-
115f
*
Screen
.
height
/
700f
,
Screen
.
height
*
0.5f
,
0
)),
0.6f
);
reShowBar
(
0
,
460
+
460
*
Screen
.
height
/
700f
);
}
else
{
gameObjectDetailedSearch
.
GetComponent
<
UITexture
>().
height
=
700
;
iTween
.
MoveTo
(
gameObjectDetailedSearch
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
23
0
-
115f
*
Screen
.
height
/
700f
,
Screen
.
height
*
1.5f
,
0
)),
0.6f
);
iTween
.
MoveTo
(
gameObjectDetailedSearch
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
46
0
-
115f
*
Screen
.
height
/
700f
,
Screen
.
height
*
1.5f
,
0
)),
0.6f
);
reShowBar
(
0
,
230
);
}
}
...
...
@@ -415,13 +415,13 @@ public class DeckManager : ServantWithCardDescription
if
(
detailShowed
)
{
gameObjectDetailedSearch
.
GetComponent
<
UITexture
>().
height
=
Screen
.
height
;
iTween
.
MoveTo
(
gameObjectDetailedSearch
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
34
5f
,
Screen
.
height
*
0.5f
,
0
)),
0.6f
);
reShowBar
(
0
,
460
);
iTween
.
MoveTo
(
gameObjectDetailedSearch
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
57
5f
,
Screen
.
height
*
0.5f
,
0
)),
0.6f
);
reShowBar
(
0
,
460
*
2
);
}
else
{
gameObjectDetailedSearch
.
GetComponent
<
UITexture
>().
height
=
Screen
.
height
;
iTween
.
MoveTo
(
gameObjectDetailedSearch
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
34
5f
,
Screen
.
height
*
1.5f
,
0
)),
0.6f
);
iTween
.
MoveTo
(
gameObjectDetailedSearch
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
57
5f
,
Screen
.
height
*
1.5f
,
0
)),
0.6f
);
reShowBar
(
0
,
230
);
}
}
...
...
Assets/StreamingAssets/ui.zip
0 → 100644
View file @
ff9478f6
File added
Assets/StreamingAssets/ui.zip.meta
0 → 100644
View file @
ff9478f6
fileFormatVersion: 2
guid: d59a7d6223068504999e580d2aeb2c1e
timeCreated: 1553312270
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
Assets/transUI/prefab/trans_ES_tp.prefab
View file @
ff9478f6
...
...
@@ -233,9 +233,9 @@ Transform:
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
-
{
fileID
:
449694
}
-
{
fileID
:
460298
}
-
{
fileID
:
469404
}
-
{
fileID
:
443180
}
-
{
fileID
:
460298
}
m_Father
:
{
fileID
:
487304
}
m_RootOrder
:
1
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
...
...
@@ -274,12 +274,12 @@ Transform:
m_PrefabInternal
:
{
fileID
:
100100000
}
m_GameObject
:
{
fileID
:
195922
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
147
,
y
:
4.5
,
z
:
0
}
m_LocalPosition
:
{
x
:
-3
,
y
:
4.5
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
-
{
fileID
:
496978
}
m_Father
:
{
fileID
:
428130
}
m_RootOrder
:
3
m_RootOrder
:
2
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!4
&449694
Transform
:
...
...
@@ -314,12 +314,12 @@ Transform:
m_PrefabInternal
:
{
fileID
:
100100000
}
m_GameObject
:
{
fileID
:
178052
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
-3
,
y
:
4.5
,
z
:
0
}
m_LocalPosition
:
{
x
:
147
,
y
:
4.5
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
-
{
fileID
:
442904
}
m_Father
:
{
fileID
:
428130
}
m_RootOrder
:
1
m_RootOrder
:
3
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!4
&469404
Transform
:
...
...
@@ -333,7 +333,7 @@ Transform:
m_Children
:
-
{
fileID
:
442446
}
m_Father
:
{
fileID
:
428130
}
m_RootOrder
:
2
m_RootOrder
:
1
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!4
&477590
Transform
:
...
...
@@ -368,7 +368,7 @@ Transform:
m_PrefabInternal
:
{
fileID
:
100100000
}
m_GameObject
:
{
fileID
:
139314
}
m_LocalRotation
:
{
x
:
-0
,
y
:
-0
,
z
:
-0
,
w
:
1
}
m_LocalPosition
:
{
x
:
-450
,
y
:
-18
0
,
z
:
0
}
m_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
-
{
fileID
:
481836
}
...
...
@@ -991,7 +991,7 @@ MonoBehaviour:
autoResizeBoxCollider
:
0
hideIfOffScreen
:
0
keepAspectRatio
:
0
aspectRatio
:
2.
87
5
aspectRatio
:
2.
64062
5
mType
:
0
mFillDirection
:
4
mFillAmount
:
1
...
...
Assets/transUI/prefab/trans_detailSearch.prefab
View file @
ff9478f6
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment