new ellpeck games logo
This commit is contained in:
parent
00ca1487bc
commit
1b3600dc9e
6 changed files with 11 additions and 4 deletions
|
@ -5,13 +5,14 @@ using MLEM.Font;
|
|||
using MLEM.Startup;
|
||||
using MLEM.Textures;
|
||||
|
||||
namespace TouchyTickets;
|
||||
namespace TouchyTickets;
|
||||
|
||||
public static class Assets {
|
||||
|
||||
public static UniformTextureAtlas TilesTexture { get; private set; }
|
||||
public static UniformTextureAtlas AttractionTexture { get; private set; }
|
||||
public static UniformTextureAtlas UiTexture { get; private set; }
|
||||
public static TextureRegion LogoTexture { get; private set; }
|
||||
|
||||
public static SoundEffect ClickSound { get; private set; }
|
||||
public static SoundEffect PlaceSound { get; private set; }
|
||||
|
@ -25,6 +26,7 @@ public static class Assets {
|
|||
Assets.TilesTexture = new UniformTextureAtlas(MlemGame.LoadContent<Texture2D>("Textures/Tiles"), 16, 16);
|
||||
Assets.AttractionTexture = new UniformTextureAtlas(MlemGame.LoadContent<Texture2D>("Textures/Attractions"), 16, 16);
|
||||
Assets.UiTexture = new UniformTextureAtlas(MlemGame.LoadContent<Texture2D>("Textures/Ui"), 16, 16);
|
||||
Assets.LogoTexture = new TextureRegion(MlemGame.LoadContent<Texture2D>("Textures/EllpeckGames"));
|
||||
|
||||
Assets.ClickSound = MlemGame.LoadContent<SoundEffect>("Sounds/Click");
|
||||
Assets.PlaceSound = MlemGame.LoadContent<SoundEffect>("Sounds/Place");
|
||||
|
|
|
@ -118,3 +118,8 @@
|
|||
#begin Localization/News.fr.json
|
||||
/copy:Localization/News.fr.json
|
||||
|
||||
#begin Textures/EllpeckGames.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/build:Textures/EllpeckGames.png
|
||||
|
||||
|
|
BIN
TouchyTickets/Content/Textures/EllpeckGames.png
Normal file
BIN
TouchyTickets/Content/Textures/EllpeckGames.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.3 KiB |
|
@ -528,9 +528,9 @@ public class Ui {
|
|||
OnDrawn = (e, _, batch, alpha) => batch.Draw(batch.GetBlankTexture(), e.DisplayArea, Color.Black * alpha)
|
||||
};
|
||||
var content = splash.AddChild(new Group(Anchor.TopLeft, Vector2.One, false) {DrawAlpha = 0});
|
||||
var center = content.AddChild(new Group(Anchor.Center, new Vector2(0.5F, 0.5F), false));
|
||||
center.AddChild(new Image(Anchor.AutoCenter, new Vector2(1, -1), Assets.UiTexture[4, 0]));
|
||||
center.AddChild(new Paragraph(Anchor.AutoCenter, 10000, Localization.Get("AGameByEllpeck"), true));
|
||||
content.AddChild(new Image(Anchor.Center, new Vector2(0.8F, -1), Assets.LogoTexture) {
|
||||
PositionOffset = new Vector2(0, -30)
|
||||
});
|
||||
content.AddChild(new Paragraph(Anchor.BottomCenter, 1, Localization.Get("TranslationBy"), true) {
|
||||
PositionOffset = new Vector2(0, 15),
|
||||
TextScale = 0.08F
|
||||
|
|
Loading…
Reference in a new issue