forked from 0ad/0ad
Carthage themed background variant commit
This was SVN commit r18967.
This commit is contained in:
parent
3653925a00
commit
78e31116f7
BIN
binaries/data/mods/public/art/textures/ui/pregame/backgrounds/carthage1_1.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/ui/pregame/backgrounds/carthage1_1.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/textures/ui/pregame/backgrounds/carthage1_2.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/ui/pregame/backgrounds/carthage1_2.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/textures/ui/pregame/backgrounds/carthage1_3.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/ui/pregame/backgrounds/carthage1_3.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/textures/ui/pregame/backgrounds/carthage1_4.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/ui/pregame/backgrounds/carthage1_4.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
g_BackgroundLayerData.push(
|
||||
[
|
||||
{
|
||||
"offset": (time, width) => 0.02 * width * Math.cos(0.05 * time),
|
||||
"sprite": "background-carthage1-1",
|
||||
"tiling": true,
|
||||
},
|
||||
{
|
||||
"offset": (time, width) => 0.04 * width * Math.cos(0.05 * time),
|
||||
"sprite": "background-carthage1-2",
|
||||
"tiling": true,
|
||||
},
|
||||
{
|
||||
"offset": (time, width) => 0.10 * width * Math.cos(0.05 * time),
|
||||
"sprite": "background-carthage1-3",
|
||||
"tiling": false,
|
||||
},
|
||||
{
|
||||
"offset": (time, width) => 0.18 * width * Math.cos(0.05 * time),
|
||||
"sprite": "background-carthage1-4",
|
||||
"tiling": false,
|
||||
},
|
||||
]);
|
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<sprites>
|
||||
<sprite name="background-carthage1-1">
|
||||
<image
|
||||
texture="pregame/backgrounds/carthage1_1.png"
|
||||
fixed_h_aspect_ratio="2"
|
||||
round_coordinates="false"
|
||||
/>
|
||||
</sprite>
|
||||
|
||||
<sprite name="background-carthage1-2">
|
||||
<image
|
||||
texture="pregame/backgrounds/carthage1_2.png"
|
||||
fixed_h_aspect_ratio="2"
|
||||
round_coordinates="false"
|
||||
/>
|
||||
</sprite>
|
||||
|
||||
<sprite name="background-carthage1-3">
|
||||
<image
|
||||
texture="pregame/backgrounds/carthage1_3.png"
|
||||
round_coordinates="false"
|
||||
wrap_mode="clamp_to_edge"
|
||||
/>
|
||||
</sprite>
|
||||
|
||||
<sprite name="background-carthage1-4">
|
||||
<image
|
||||
texture="pregame/backgrounds/carthage1_4.png"
|
||||
round_coordinates="false"
|
||||
wrap_mode="clamp_to_edge"
|
||||
/>
|
||||
</sprite>
|
||||
</sprites>
|
Loading…
Reference in New Issue
Block a user