Skip to content

Commit 3ab5c21

Browse files
committed
Nightly backup
1 parent 8eba613 commit 3ab5c21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+4183
-2497
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "source/MonoGame.Aseprite.ContentPipeline/ThirdParty/StbImageWriteSharp"]
2+
path = source/MonoGame.Aseprite.ContentPipeline/ThirdParty/StbImageWriteSharp
3+
url = https://github.com/StbSharp/StbImageWriteSharp.git

demo/MonoGame.Aseprite.Demo/Content/Content.mgcb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,7 @@
1717
#begin ../../../../sokoban_player.aseprite
1818
/importer:AsepriteImporter
1919
/processor:AsepriteProcessor
20+
/processorParam:SheetType=Packed
21+
/processorParam:SheetOptions=MergeDuplicates, IgnoreEmpty
2022
/build:../../../../sokoban_player.aseprite;sokoban_player.aseprite
2123

demo/MonoGame.Aseprite.Demo/MonoGame.Aseprite.Demo.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<PublishReadyToRun>false</PublishReadyToRun>
66
<TieredCompilation>false</TieredCompilation>
7+
<Platforms>AnyCPU;x86</Platforms>
78
</PropertyGroup>
89
<PropertyGroup>
910
<ApplicationManifest>app.manifest</ApplicationManifest>

demo/MonoGame.Aseprite.Demo/Player.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public void LoadContent(ContentManager content)
6161
{
6262
AsepriteImportResult aseprite = content.Load<AsepriteImportResult>("sokoban_player");
6363
_sprite = new AnimatedSprite(aseprite, Position);
64+
_sprite.RenderDefinition.Scale = new Vector2(3.0f, 3.0f);
6465
//AnimationDefinition animationDefinition = content.Load<AnimationDefinition>("playerAnimation");
6566
//Texture2D texture = content.Load<Texture2D>("player");
6667
//_sprite = new AnimatedSprite(texture, animationDefinition, this.Position);
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
#----------------------------- Global Properties ----------------------------#
3+
4+
/outputDir:bin/$(Platform)
5+
/intermediateDir:obj/$(Platform)
6+
/platform:DesktopGL
7+
/config:
8+
/profile:Reach
9+
/compress:False
10+
11+
#-------------------------------- References --------------------------------#
12+
13+
/reference:..\..\MonoGame.Aseprite.ContentPipeline\bin\Debug\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll
14+
15+
#---------------------------------- Content ---------------------------------#
16+
17+
#begin ../../../../adventurer_duplicate_test.aseprite
18+
/importer:AsepriteImporter
19+
/processor:AnimationProcessor
20+
/processorParam:SheetType=Packed
21+
/processorParam:MergeDuplicateFrames=True
22+
/processorParam:IgnoreEmptyFrames=True
23+
/processorParam:OnlyVisibleLayers=False
24+
/processorParam:BorderPadding=0
25+
/processorParam:Spacing=0
26+
/processorParam:InnerPadding=0
27+
/processorParam:OutputSpriteSheet=
28+
/build:../../../../adventurer_duplicate_test.aseprite;adventurer_duplicate_test.aseprite
29+
30+
#begin font.spritefont
31+
/importer:FontDescriptionImporter
32+
/processor:FontDescriptionProcessor
33+
/processorParam:PremultiplyAlpha=True
34+
/processorParam:TextureFormat=Compressed
35+
/build:font.spritefont
36+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
This file contains an xml description of a font, and will be read by the XNA
4+
Framework Content Pipeline. Follow the comments to customize the appearance
5+
of the font in your game, and to change the characters which are available to draw
6+
with.
7+
-->
8+
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
9+
<Asset Type="Graphics:FontDescription">
10+
11+
<!--
12+
Modify this string to change the font that will be imported.
13+
-->
14+
<FontName>Arial</FontName>
15+
16+
<!--
17+
Size is a float value, measured in points. Modify this value to change
18+
the size of the font.
19+
-->
20+
<Size>48</Size>
21+
22+
<!--
23+
Spacing is a float value, measured in pixels. Modify this value to change
24+
the amount of spacing in between characters.
25+
-->
26+
<Spacing>0</Spacing>
27+
28+
<!--
29+
UseKerning controls the layout of the font. If this value is true, kerning information
30+
will be used when placing characters.
31+
-->
32+
<UseKerning>true</UseKerning>
33+
34+
<!--
35+
Style controls the style of the font. Valid entries are "Regular", "Bold", "Italic",
36+
and "Bold, Italic", and are case sensitive.
37+
-->
38+
<Style>Regular</Style>
39+
40+
<!--
41+
If you uncomment this line, the default character will be substituted if you draw
42+
or measure text that contains characters which were not included in the font.
43+
-->
44+
<!-- <DefaultCharacter>*</DefaultCharacter> -->
45+
46+
<!--
47+
CharacterRegions control what letters are available in the font. Every
48+
character from Start to End will be built and made available for drawing. The
49+
default range is from 32, (ASCII space), to 126, ('~'), covering the basic Latin
50+
character set. The characters are ordered according to the Unicode standard.
51+
See the documentation for more information.
52+
-->
53+
<CharacterRegions>
54+
<CharacterRegion>
55+
<Start>&#32;</Start>
56+
<End>&#126;</End>
57+
</CharacterRegion>
58+
</CharacterRegions>
59+
</Asset>
60+
</XnaContent>

0 commit comments

Comments
 (0)