mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 22:52:18 +00:00
Seleucid main menu background
This was SVN commit r18968.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
g_BackgroundLayerData.push(
|
||||
[
|
||||
{
|
||||
"offset": (time, width) => 0.05 * width * Math.cos(0.02 * time),
|
||||
"sprite": "background-seleucid1_1",
|
||||
"tiling": true,
|
||||
},
|
||||
{
|
||||
"offset": (time, width) => 0.10 * width * Math.cos(0.04 * time),
|
||||
"sprite": "background-seleucid1_2",
|
||||
"tiling": true,
|
||||
},
|
||||
{
|
||||
"offset": (time, width) => 0.17 * width * Math.cos(0.05 * time) + width/8,
|
||||
"sprite": "background-seleucid1_3",
|
||||
"tiling": false,
|
||||
},
|
||||
]);
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<sprites>
|
||||
<sprite name="background-seleucid1_1">
|
||||
<image
|
||||
texture="pregame/backgrounds/seleucid1_1.png"
|
||||
fixed_h_aspect_ratio="2"
|
||||
round_coordinates="false"
|
||||
/>
|
||||
</sprite>
|
||||
|
||||
<sprite name="background-seleucid1_2">
|
||||
<image
|
||||
texture="pregame/backgrounds/seleucid1_2.png"
|
||||
round_coordinates="false"
|
||||
fixed_h_aspect_ratio="2"
|
||||
/>
|
||||
</sprite>
|
||||
|
||||
<sprite name="background-seleucid1_3">
|
||||
<image
|
||||
texture="pregame/backgrounds/seleucid1_3.png"
|
||||
round_coordinates="false"
|
||||
wrap_mode="clamp_to_edge"
|
||||
/>
|
||||
</sprite>
|
||||
</sprites>
|
||||
Reference in New Issue
Block a user