Skip to content

Commit

Permalink
F ultraviolet renderer (#85)
Browse files Browse the repository at this point in the history
* Improve examples

* Fix UV Game

* Upgrade Json.NET

* Update solution file

* Update headers
  • Loading branch information
loodakrawa committed Jun 15, 2017
1 parent c318d5f commit 1867104
Show file tree
Hide file tree
Showing 69 changed files with 1,770 additions and 1,077 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 6 additions & 2 deletions SpriterDotNet.Example.Content/Content.mgcb
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@

#-------------------------------- References --------------------------------#

/reference:..\SpriterDotNet.MonoGame.Importer\bin\Debug\SpriterDotNet.MonoGame.Importer.dll
/reference:..\SpriterDotNet.MonoGame.Importer\bin\Release\SpriterDotNet.MonoGame.Importer.dll
/reference:Lib\Newtonsoft.Json.dll
/reference:Lib\System.IO.FileSystem.dll
/reference:Lib\System.Xml.ReaderWriter.dll
/reference:..\SpriterDotNet.MonoGame.Importer\bin\Debug\netstandard1.4\SpriterDotNet.MonoGame.Importer.dll
/reference:..\SpriterDotNet.MonoGame.Importer\bin\Release\netstandard1.4\SpriterDotNet.MonoGame.Importer.dll

#---------------------------------- Content ---------------------------------#

#begin Status.spritefont
/importer:FontDescriptionImporter
/processor:FontDescriptionProcessor
/processorParam:PremultiplyAlpha=True
/processorParam:TextureFormat=Compressed
/build:Status.spritefont

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 8 additions & 3 deletions SpriterDotNet.Example.MonoGame.Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
using Android.App;
// Copyright (C) The original author or authors
//
// This software may be modified and distributed under the terms
// of the zlib license. See the LICENSE file for details.

using Android.App;
using Android.Views;
using Android.OS;
using Android.Content.PM;
using Microsoft.Xna.Framework;

namespace SpriterDotNet.Example.MonoGame.Android
{
[Activity(Label = "SpriterDotNet.MonoGame.Example.Android",
[Activity(Label = "SpriterDotNet.Example.MonoGame.Android",
MainLauncher = true,
Icon = "@drawable/icon",
ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.KeyboardHidden
Expand All @@ -17,7 +22,7 @@ protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);

var g = new SpriterGame();
var g = new ExampleGame();
SetContentView((View)g.Services.GetService(typeof(View)));
g.Run();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="SpriterDotNet.MonoGame.Example.Android" android:versionCode="1" android:versionName="1.0">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="SpriterDotNet.Example.MonoGame..Android" android:versionCode="1" android:versionName="1.0">
<uses-sdk />
<application android:label="SpriterDotNet.MonoGame.Example.Android"></application>
<application android:label="SpriterDotNet.Example.MonoGame.Android"></application>
</manifest>
27 changes: 2 additions & 25 deletions SpriterDotNet.Example.MonoGame.Android/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,30 +1,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SpriterDotNet.MonoGame.Example.Android")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SpriterDotNet.MonoGame.Example.Android")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyTitle("SpriterDotNet.Example.MonoGame.Android")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions SpriterDotNet.Example.MonoGame.Android/Resources/layout/Main.axml

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,13 @@
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
<Compile Include="Resources\Resource.Designer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<MonoGameContentReference Include="..\SpriterDotNet.Example.Content\Content.mgcb">
<Link>Content\Content.mgcb</Link>
</MonoGameContentReference>
<None Include="packages.config" />
<None Include="Resources\AboutResources.txt" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\layout\Main.axml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\values\Strings.xml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\Icon.png" />
Expand Down
2 changes: 1 addition & 1 deletion SpriterDotNet.Example.MonoGame.DesktopGL/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static class Program
[STAThread]
static void Main()
{
using (SpriterGame game = new SpriterGame())
using (ExampleGame game = new ExampleGame())
{
game.Run();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("SpriterDotNet.MonoGame.Example.DesktopGL")]
[assembly: AssemblyTitle("SpriterDotNet.Example.MonoGame.DesktopGL")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -9,11 +9,12 @@
<ProjectGuid>{8131DBF8-A78A-46FB-81F0-49AE47F4F492}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SpriterDotNet.MonoGame.Example.DesktopGL</RootNamespace>
<AssemblyName>SpriterDotNet.MonoGame.Example.DesktopGL</AssemblyName>
<RootNamespace>SpriterDotNet.Example.MonoGame.DesktopGL</RootNamespace>
<AssemblyName>SpriterDotNet.Example.MonoGame.DesktopGL</AssemblyName>
<FileAlignment>512</FileAlignment>
<MonoGamePlatform>DesktopGL</MonoGamePlatform>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Icon.ico</ApplicationIcon>
Expand Down Expand Up @@ -56,11 +57,6 @@
<EmbeddedResource Include="Icon.ico" />
<EmbeddedResource Include="Icon.bmp" />
</ItemGroup>
<ItemGroup>
<MonoGameContentReference Include="..\SpriterDotNet.Example.Content\Content.mgcb">
<Link>Content\Content.mgcb</Link>
</MonoGameContentReference>
</ItemGroup>
<ItemGroup>
<None Include="$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\x86\SDL2.dll">
<Link>x86\SDL2.dll</Link>
Expand Down Expand Up @@ -108,6 +104,11 @@
</None>
<None Include="app.manifest" />
</ItemGroup>
<ItemGroup>
<MonoGameContentReference Include="..\SpriterDotNet.Example.Content\Content.mgcb">
<Link>Content\Content.mgcb</Link>
</MonoGameContentReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SpriterDotNet.MonoGame\SpriterDotNet.MonoGame.csproj">
<Project>{10c1ed31-6945-4617-85ad-d2575550149d}</Project>
Expand Down
4 changes: 2 additions & 2 deletions SpriterDotNet.Example.MonoGame.WindowsDX/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2015 The original author or authors
// Copyright (C) The original author or authors
//
// This software may be modified and distributed under the terms
// of the zlib license. See the LICENSE file for details.
Expand All @@ -12,7 +12,7 @@ public static class Program
[STAThread]
static void Main()
{
using (SpriterGame game = new SpriterGame())
using (ExampleGame game = new ExampleGame())
{
game.Run();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("SpriterDotNet.MonoGame.Example.WindowsDX")]
[assembly: AssemblyTitle("SpriterDotNet.Example.MonoGame.WindowsDX")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<MonoGamePlatform>Windows</MonoGamePlatform>
<MonoGameContentBuilderExe>
</MonoGameContentBuilderExe>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
Expand Down Expand Up @@ -71,7 +71,6 @@
</ItemGroup>
<ItemGroup>
<Content Include="Icon.ico" />
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 0 additions & 3 deletions SpriterDotNet.Example.MonoGame.WindowsDX/app.config

This file was deleted.

Loading

0 comments on commit 1867104

Please sign in to comment.