Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
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
love_飞影
Neos
Commits
a935b0ed
Commit
a935b0ed
authored
Jan 26, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate card_back.jpg
parent
daf320c8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
7 deletions
+3
-7
assets/card_back.jpg
assets/card_back.jpg
+0
-0
src/ui/Duel/fixedSlot.tsx
src/ui/Duel/fixedSlot.tsx
+1
-3
src/ui/Duel/hands.tsx
src/ui/Duel/hands.tsx
+1
-1
src/ui/Duel/singleSlot.tsx
src/ui/Duel/singleSlot.tsx
+1
-3
No files found.
assets/card_back.jpg
0 → 100644
View file @
a935b0ed
217 KB
src/ui/Duel/fixedSlot.tsx
View file @
a935b0ed
...
@@ -99,9 +99,7 @@ const FixedSlot = (props: {
...
@@ -99,9 +99,7 @@ const FixedSlot = (props: {
diffuseTexture=
{
diffuseTexture=
{
props
.
state
.
occupant
props
.
state
.
occupant
?
faceDown
?
faceDown
?
new
BABYLON
.
Texture
(
?
new
BABYLON
.
Texture
(
`assets/card_back.jpg`
)
`http://localhost:3030/images/card_back.jpg`
)
:
new
BABYLON
.
Texture
(
:
new
BABYLON
.
Texture
(
`https://cdn02.moecube.com:444/images/ygopro-images-zh-CN/${props.state.occupant.id}.jpg`
`https://cdn02.moecube.com:444/images/ygopro-images-zh-CN/${props.state.occupant.id}.jpg`
)
)
...
...
src/ui/Duel/hands.tsx
View file @
a935b0ed
...
@@ -51,7 +51,7 @@ const Hands = () => {
...
@@ -51,7 +51,7 @@ const Hands = () => {
sequence=
{
idx
}
sequence=
{
idx
}
position=
{
position
}
position=
{
position
}
rotation=
{
handRotation
}
rotation=
{
handRotation
}
cover=
{
(
_
)
=>
`
http://localhost:3030/image
s/card_back.jpg`
}
cover=
{
(
_
)
=>
`
asset
s/card_back.jpg`
}
/>
/>
);
);
})
}
})
}
...
...
src/ui/Duel/singleSlot.tsx
View file @
a935b0ed
...
@@ -77,9 +77,7 @@ const SingleSlot = (props: {
...
@@ -77,9 +77,7 @@ const SingleSlot = (props: {
>
>
<standardMaterial
<standardMaterial
name="single-slot-mat"
name="single-slot-mat"
diffuseTexture={
diffuseTexture={new BABYLON.Texture(`
assets
/
card_back
.
jpg
`)}
new BABYLON.Texture(`
http
:
//localhost:3030/images/card_back.jpg`)
}
alpha={props.state.length == 0 ? 0 : 1}
alpha={props.state.length == 0 ? 0 : 1}
/>
/>
</box>
</box>
...
...
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