Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro3
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
Senator John
MDPro3
Commits
81a5e2f7
Commit
81a5e2f7
authored
Jul 13, 2024
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new SR effect
parent
7c2c967f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
163 additions
and
5 deletions
+163
-5
Assets/ScriptableObjects/TextureContainer.asset
Assets/ScriptableObjects/TextureContainer.asset
+1
-0
Assets/ScriptableObjects/TextureContainer.cs
Assets/ScriptableObjects/TextureContainer.cs
+1
-0
Assets/Scripts/MDPro3/Managers/TextureManager.cs
Assets/Scripts/MDPro3/Managers/TextureManager.cs
+29
-5
Assets/Texture/Texture_Other/Rainbow pattern with mask.png
Assets/Texture/Texture_Other/Rainbow pattern with mask.png
+0
-0
Assets/Texture/Texture_Other/Rainbow pattern with mask.png.meta
.../Texture/Texture_Other/Rainbow pattern with mask.png.meta
+130
-0
Data/locales/zh-CN/translation.conf
Data/locales/zh-CN/translation.conf
+2
-0
No files found.
Assets/ScriptableObjects/TextureContainer.asset
View file @
81a5e2f7
...
@@ -66,6 +66,7 @@ MonoBehaviour:
...
@@ -66,6 +66,7 @@ MonoBehaviour:
cardNormal
:
{
fileID
:
2800000
,
guid
:
b552f9fd55ddc7443bfe07c7dbc13b1f
,
type
:
3
}
cardNormal
:
{
fileID
:
2800000
,
guid
:
b552f9fd55ddc7443bfe07c7dbc13b1f
,
type
:
3
}
cardNormalLink
:
{
fileID
:
2800000
,
guid
:
875fa980a3eb990419e51879fe12b281
,
type
:
3
}
cardNormalLink
:
{
fileID
:
2800000
,
guid
:
875fa980a3eb990419e51879fe12b281
,
type
:
3
}
cardNormalPendulum
:
{
fileID
:
2800000
,
guid
:
71402236982fddd41ada1cc6a44e94bd
,
type
:
3
}
cardNormalPendulum
:
{
fileID
:
2800000
,
guid
:
71402236982fddd41ada1cc6a44e94bd
,
type
:
3
}
cardRainbowMask
:
{
fileID
:
2800000
,
guid
:
ce96aab8acee80f4881cd81654d62c5d
,
type
:
3
}
attributeLight
:
{
fileID
:
21300000
,
guid
:
157f899e40b269e4bb70d867aa084278
,
type
:
3
}
attributeLight
:
{
fileID
:
21300000
,
guid
:
157f899e40b269e4bb70d867aa084278
,
type
:
3
}
attributeDark
:
{
fileID
:
21300000
,
guid
:
7976b559931f6e840863f07ea92c278a
,
type
:
3
}
attributeDark
:
{
fileID
:
21300000
,
guid
:
7976b559931f6e840863f07ea92c278a
,
type
:
3
}
attributeWater
:
{
fileID
:
21300000
,
guid
:
e639e2cab68115f499825b099bd456d5
,
type
:
3
}
attributeWater
:
{
fileID
:
21300000
,
guid
:
e639e2cab68115f499825b099bd456d5
,
type
:
3
}
...
...
Assets/ScriptableObjects/TextureContainer.cs
View file @
81a5e2f7
...
@@ -65,6 +65,7 @@ public class TextureContainer : ScriptableObject
...
@@ -65,6 +65,7 @@ public class TextureContainer : ScriptableObject
public
Texture2D
cardNormal
;
public
Texture2D
cardNormal
;
public
Texture2D
cardNormalLink
;
public
Texture2D
cardNormalLink
;
public
Texture2D
cardNormalPendulum
;
public
Texture2D
cardNormalPendulum
;
public
Texture2D
cardRainbowMask
;
[
Header
(
"Card Attribute"
)]
[
Header
(
"Card Attribute"
)]
public
Sprite
attributeLight
;
public
Sprite
attributeLight
;
public
Sprite
attributeDark
;
public
Sprite
attributeDark
;
...
...
Assets/Scripts/MDPro3/Managers/TextureManager.cs
View file @
81a5e2f7
...
@@ -28,6 +28,7 @@ namespace MDPro3
...
@@ -28,6 +28,7 @@ namespace MDPro3
public
static
Material
cardMatShine
;
public
static
Material
cardMatShine
;
public
static
Material
cardMatRoyal
;
public
static
Material
cardMatRoyal
;
public
static
Material
cardMatSide
;
public
static
Material
cardMatSide
;
static
Texture
cardHolo4
;
static
int
cardLoadCount
;
static
int
cardLoadCount
;
const
int
cardLoadMax
=
200
;
const
int
cardLoadMax
=
200
;
...
@@ -44,8 +45,10 @@ namespace MDPro3
...
@@ -44,8 +45,10 @@ namespace MDPro3
IEnumerator
LoadMaterials
()
IEnumerator
LoadMaterials
()
{
{
while
(
container
==
null
)
yield
return
null
;
var
ie
=
ABLoader
.
LoadFromFileAsync
(
"MasterDuel/Timeline/summon/summonsynchro/summonsynchro01"
,
true
);
var
ie
=
ABLoader
.
LoadFromFileAsync
(
"MasterDuel/Timeline/summon/summonsynchro/summonsynchro01"
,
true
);
StartCoroutine
(
ie
);
while
(
ie
.
MoveNext
())
while
(
ie
.
MoveNext
())
yield
return
null
;
yield
return
null
;
var
manager
=
ie
.
Current
.
GetComponent
<
ElementObjectManager
>();
var
manager
=
ie
.
Current
.
GetComponent
<
ElementObjectManager
>();
...
@@ -60,7 +63,7 @@ namespace MDPro3
...
@@ -60,7 +63,7 @@ namespace MDPro3
cardMatSide
=
result
.
Result
;
cardMatSide
=
result
.
Result
;
};
};
ie
=
ABLoader
.
LoadFromFileAsync
(
"MasterDuel/Timeline/summon/summonsynchro/summonsynchro01_
shine
style"
);
ie
=
ABLoader
.
LoadFromFileAsync
(
"MasterDuel/Timeline/summon/summonsynchro/summonsynchro01_
royal
style"
);
StartCoroutine
(
ie
);
StartCoroutine
(
ie
);
while
(
ie
.
MoveNext
())
while
(
ie
.
MoveNext
())
yield
return
null
;
yield
return
null
;
...
@@ -69,9 +72,10 @@ namespace MDPro3
...
@@ -69,9 +72,10 @@ namespace MDPro3
Destroy
(
manager
.
gameObject
);
Destroy
(
manager
.
gameObject
);
manager
=
manager
.
GetElement
<
ElementObjectManager
>(
"SummonSynchroPostSynchro"
);
manager
=
manager
.
GetElement
<
ElementObjectManager
>(
"SummonSynchroPostSynchro"
);
manager
=
manager
.
GetElement
<
ElementObjectManager
>(
"DummyCardSynchro"
);
manager
=
manager
.
GetElement
<
ElementObjectManager
>(
"DummyCardSynchro"
);
cardMatShine
=
Instantiate
(
manager
.
GetElement
<
Renderer
>(
"DummyCardModel_front"
).
material
);
cardMatRoyal
=
Instantiate
(
manager
.
GetElement
<
Renderer
>(
"DummyCardModel_front"
).
material
);
cardHolo4
=
cardMatRoyal
.
GetTexture
(
"_KiraColorTexture"
);
ie
=
ABLoader
.
LoadFromFileAsync
(
"MasterDuel/Timeline/summon/summonsynchro/summonsynchro01_
royal
style"
);
ie
=
ABLoader
.
LoadFromFileAsync
(
"MasterDuel/Timeline/summon/summonsynchro/summonsynchro01_
shine
style"
);
StartCoroutine
(
ie
);
StartCoroutine
(
ie
);
while
(
ie
.
MoveNext
())
while
(
ie
.
MoveNext
())
yield
return
null
;
yield
return
null
;
...
@@ -80,7 +84,27 @@ namespace MDPro3
...
@@ -80,7 +84,27 @@ namespace MDPro3
Destroy
(
manager
.
gameObject
);
Destroy
(
manager
.
gameObject
);
manager
=
manager
.
GetElement
<
ElementObjectManager
>(
"SummonSynchroPostSynchro"
);
manager
=
manager
.
GetElement
<
ElementObjectManager
>(
"SummonSynchroPostSynchro"
);
manager
=
manager
.
GetElement
<
ElementObjectManager
>(
"DummyCardSynchro"
);
manager
=
manager
.
GetElement
<
ElementObjectManager
>(
"DummyCardSynchro"
);
cardMatRoyal
=
Instantiate
(
manager
.
GetElement
<
Renderer
>(
"DummyCardModel_front"
).
material
);
cardMatShine
=
Instantiate
(
manager
.
GetElement
<
Renderer
>(
"DummyCardModel_front"
).
material
);
cardMatShine
.
SetFloat
(
"_HighlightAmp"
,
1.2f
);
cardMatShine
.
SetFloat
(
"_HighlightRotation"
,
-
45f
);
cardMatShine
.
SetFloat
(
"_HighlightScrollOffset"
,
5f
);
cardMatShine
.
SetFloat
(
"_HoloBrightness"
,
0.75f
);
cardMatShine
.
SetFloat
(
"_IllustBrightness"
,
1.5f
);
cardMatShine
.
SetFloat
(
"_IllustContrast"
,
-
3.8f
);
cardMatShine
.
SetFloat
(
"_IllustHoloPower"
,
1.4f
);
cardMatShine
.
SetFloat
(
"_IllustRanbowPower"
,
1.5f
);
cardMatShine
.
SetTexture
(
"_KiraColorTexture"
,
cardHolo4
);
//UR Like
//cardMatShine.SetFloat("_HighlightAmp", 2f);
//cardMatShine.SetFloat("_HighlightRotation", -45f);
//cardMatShine.SetFloat("_HoloBrightness", 1f);
//cardMatShine.SetFloat("_IllustBrightness", 0f);
//cardMatShine.SetFloat("_IllustContrast", -2f);
//cardMatShine.SetFloat("_IllustHoloPower", 3f);
//cardMatShine.SetTexture("_KiraColorTexture", container.cardRainbowMask);
cardMatNormal
.
SetFloat
(
"_FakeBlend"
,
1
);
cardMatNormal
.
SetFloat
(
"_FakeBlend"
,
1
);
cardMatNormal
.
SetColor
(
"_AmbientColor"
,
new
Color
(
0.0588f
,
0.0588f
,
0.0588f
,
1f
));
cardMatNormal
.
SetColor
(
"_AmbientColor"
,
new
Color
(
0.0588f
,
0.0588f
,
0.0588f
,
1f
));
...
...
Assets/Texture/Texture_Other/Rainbow pattern with mask.png
0 → 100644
View file @
81a5e2f7
966 KB
Assets/Texture/Texture_Other/Rainbow pattern with mask.png.meta
0 → 100644
View file @
81a5e2f7
fileFormatVersion: 2
guid: ce96aab8acee80f4881cd81654d62c5d
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
Data/locales/zh-CN/translation.conf
View file @
81a5e2f7
...
@@ -634,3 +634,5 @@ YDK 内容不合法,主卡组必须满 40 张->YDK 内容不合法,主卡组
...
@@ -634,3 +634,5 @@ YDK 内容不合法,主卡组必须满 40 张->YDK 内容不合法,主卡组
自定义游戏->自定义游戏
自定义游戏->自定义游戏
检测到新版先行卡,请至 [游戏设置]-[扩展卡包]-[更新先行卡] 处进行更新。->检测到新版先行卡,请至 [游戏设置]-[扩展卡包]-[更新先行卡] 处进行更新。
检测到新版先行卡,请至 [游戏设置]-[扩展卡包]-[更新先行卡] 处进行更新。->检测到新版先行卡,请至 [游戏设置]-[扩展卡包]-[更新先行卡] 处进行更新。
已删除卡组「[?]」->已删除卡组「[?]」
已删除卡组「[?]」->已删除卡组「[?]」
非公开中->非公开中
卡组「[?]」已保存。->卡组「[?]」已保存。
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