axiosuitestbed

axiosuitestbed Commit Details


Date:2012-06-24 14:30:00 (12 years 3 months ago)
Author:nathan@erebos
Branch:default
Commit:1537daccd6f0
Message:Initial commit

Changes:
Aaxios_ui_testbed.sln (full)
Aaxios_ui_testbed/axios_ui_testbed/Background.png
Aaxios_ui_testbed/axios_ui_testbed/Game.ico
Aaxios_ui_testbed/axios_ui_testbed/Game1.cs (full)
Aaxios_ui_testbed/axios_ui_testbed/GameThumbnail.png
Aaxios_ui_testbed/axios_ui_testbed/PhoneGameThumb.png
Aaxios_ui_testbed/axios_ui_testbed/Program.cs (full)
Aaxios_ui_testbed/axios_ui_testbed/Properties/AppManifest.xml (full)
Aaxios_ui_testbed/axios_ui_testbed/Properties/AssemblyInfo.cs (full)
Aaxios_ui_testbed/axios_ui_testbed/Properties/WMAppManifest.xml (full)
Aaxios_ui_testbed/axios_ui_testbed/Screens/UIScreen1.cs (full)
Aaxios_ui_testbed/axios_ui_testbed/Windows Phone Copy of axios_ui_testbed.csproj (full)
Aaxios_ui_testbed/axios_ui_testbed/axios_ui_testbed.csproj (full)
Aaxios_ui_testbed/axios_ui_testbedContent/Common/arrow.png
Aaxios_ui_testbed/axios_ui_testbedContent/Common/buttons.png
Aaxios_ui_testbed/axios_ui_testbedContent/Common/cursor.png
Aaxios_ui_testbed/axios_ui_testbedContent/Common/gradient.png
Aaxios_ui_testbed/axios_ui_testbedContent/Common/logo.png
Aaxios_ui_testbed/axios_ui_testbedContent/Common/popup.png
Aaxios_ui_testbed/axios_ui_testbedContent/Common/slider.png
Aaxios_ui_testbed/axios_ui_testbedContent/Common/socket.png
Aaxios_ui_testbed/axios_ui_testbedContent/Common/stick.png
Aaxios_ui_testbed/axios_ui_testbedContent/Fonts/credits.spritefont (full)
Aaxios_ui_testbed/axios_ui_testbedContent/Fonts/detailsFont.spritefont (full)
Aaxios_ui_testbed/axios_ui_testbedContent/Fonts/frameRateCounterFont.spritefont (full)
Aaxios_ui_testbed/axios_ui_testbedContent/Fonts/helptext.spritefont (full)
Aaxios_ui_testbed/axios_ui_testbedContent/Fonts/menufont.spritefont (full)
Aaxios_ui_testbed/axios_ui_testbedContent/Materials/blank.png
Aaxios_ui_testbed/axios_ui_testbedContent/Materials/dots.png
Aaxios_ui_testbed/axios_ui_testbedContent/Materials/pavement.png
Aaxios_ui_testbed/axios_ui_testbedContent/Materials/squares.png
Aaxios_ui_testbed/axios_ui_testbedContent/Materials/waves.png
Aaxios_ui_testbed/axios_ui_testbedContent/Samples/alphabet.png
Aaxios_ui_testbed/axios_ui_testbedContent/Samples/car.png
Aaxios_ui_testbed/axios_ui_testbedContent/Samples/goo.png
Aaxios_ui_testbed/axios_ui_testbedContent/Samples/link.png
Aaxios_ui_testbed/axios_ui_testbedContent/Samples/object.png
Aaxios_ui_testbed/axios_ui_testbedContent/Samples/wheel.png
Aaxios_ui_testbed/axios_ui_testbedContent/SpriteFont1.spritefont (full)
Aaxios_ui_testbed/axios_ui_testbedContent/axios_ui_testbedContent.contentproj (full)
Aaxios_ui_testbed/axios_ui_testbedContent/blocks.png
Aaxios_ui_testbed/axios_ui_testbedContent/font.spritefont (full)

File differences

axios_ui_testbed.sln
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "axios_ui_testbed", "axios_ui_testbed\axios_ui_testbed\axios_ui_testbed.csproj", "{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "axios_ui_testbedContent", "axios_ui_testbed\axios_ui_testbedContent\axios_ui_testbedContent.contentproj", "{B5C9F281-AE74-484C-8103-937376492D29}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windows Phone Copy of axios_ui_testbed", "axios_ui_testbed\axios_ui_testbed\Windows Phone Copy of axios_ui_testbed.csproj", "{5466105F-C83F-4FE5-AB43-9783314011C5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|Windows Phone = Debug|Windows Phone
Debug|x86 = Debug|x86
Release|Mixed Platforms = Release|Mixed Platforms
Release|Windows Phone = Release|Windows Phone
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Debug|Mixed Platforms.Build.0 = Debug|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Debug|Windows Phone.ActiveCfg = Debug|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Debug|Windows Phone.Build.0 = Debug|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Debug|x86.ActiveCfg = Debug|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Debug|x86.Build.0 = Debug|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Release|Mixed Platforms.ActiveCfg = Release|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Release|Mixed Platforms.Build.0 = Release|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Release|Windows Phone.ActiveCfg = Release|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Release|Windows Phone.Build.0 = Release|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Release|x86.ActiveCfg = Release|x86
{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}.Release|x86.Build.0 = Release|x86
{B5C9F281-AE74-484C-8103-937376492D29}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{B5C9F281-AE74-484C-8103-937376492D29}.Debug|Windows Phone.ActiveCfg = Debug|x86
{B5C9F281-AE74-484C-8103-937376492D29}.Debug|x86.ActiveCfg = Debug|x86
{B5C9F281-AE74-484C-8103-937376492D29}.Release|Mixed Platforms.ActiveCfg = Release|x86
{B5C9F281-AE74-484C-8103-937376492D29}.Release|Windows Phone.ActiveCfg = Release|x86
{B5C9F281-AE74-484C-8103-937376492D29}.Release|x86.ActiveCfg = Release|x86
{5466105F-C83F-4FE5-AB43-9783314011C5}.Debug|Mixed Platforms.ActiveCfg = Debug|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Debug|Mixed Platforms.Build.0 = Debug|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Debug|Mixed Platforms.Deploy.0 = Debug|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Debug|Windows Phone.ActiveCfg = Debug|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Debug|Windows Phone.Build.0 = Debug|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Debug|Windows Phone.Deploy.0 = Debug|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Debug|x86.ActiveCfg = Debug|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Release|Mixed Platforms.ActiveCfg = Release|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Release|Mixed Platforms.Build.0 = Release|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Release|Mixed Platforms.Deploy.0 = Release|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Release|Windows Phone.ActiveCfg = Release|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Release|Windows Phone.Build.0 = Release|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Release|Windows Phone.Deploy.0 = Release|Windows Phone
{5466105F-C83F-4FE5-AB43-9783314011C5}.Release|x86.ActiveCfg = Release|Windows Phone
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
axios_ui_testbed/axios_ui_testbed/Game1.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using FarseerPhysics.SamplesFramework;
using Axios.Engine;
using Axios;
using GameStateManagement;
using Axios.Engine.File;
using axios_ui_testbed.Screens;
namespace axios_ui_testbed
{
/// <summary>
/// This is the main type for your game
/// </summary>
public class Game1 : Microsoft.Xna.Framework.Game
{
GraphicsDeviceManager graphics;
SpriteBatch spriteBatch;
public ScreenManager ScreenManager { get; set; }
public Game1()
{
graphics = new GraphicsDeviceManager(this);
Content.RootDirectory = "Content";
graphics.IsFullScreen = false;
#if WINDOWS || XBOX360
Settings.SetResolution(graphics, ResolutionSetting.Windows);
#elif WINDOWS_PHONE
Settings.SetResolution(graphics, ResolutionSetting.WP7_Landscape);
#endif
ConvertUnits.SetDisplayUnitToSimUnitRatio(Axios.Settings.DisplayUnitToSimUnitRatio);
ScreenManager = new ScreenManager(this);
Components.Add(ScreenManager);
}
/// <summary>
/// Allows the game to perform any initialization it needs to before starting to run.
/// This is where it can query for any required services and load any non-graphic
/// related content. Calling base.Initialize will enumerate through any components
/// and initialize them as well.
/// </summary>
protected override void Initialize()
{
// TODO: Add your initialization logic here
base.Initialize();
BackgroundScreen bg = new BackgroundScreen();
//ScreenManager.AddScreen(bg);
ScreenManager.AddScreen(new UIScreen1(), PlayerIndex.One);
}
/// <summary>
/// LoadContent will be called once per game and is the place to load
/// all of your content.
/// </summary>
protected override void LoadContent()
{
// Create a new SpriteBatch, which can be used to draw textures.
spriteBatch = new SpriteBatch(GraphicsDevice);
// TODO: use this.Content to load your game content here
}
/// <summary>
/// UnloadContent will be called once per game and is the place to unload
/// all content.
/// </summary>
protected override void UnloadContent()
{
// TODO: Unload any non ContentManager content here
}
/// <summary>
/// Allows the game to run logic such as updating the world,
/// checking for collisions, gathering input, and playing audio.
/// </summary>
/// <param name="gameTime">Provides a snapshot of timing values.</param>
protected override void Update(GameTime gameTime)
{
// Allows the game to exit
//if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed)
// this.Exit();
// TODO: Add your update logic here
base.Update(gameTime);
}
/// <summary>
/// This is called when the game should draw itself.
/// </summary>
/// <param name="gameTime">Provides a snapshot of timing values.</param>
protected override void Draw(GameTime gameTime)
{
GraphicsDevice.Clear(Color.CornflowerBlue);
// TODO: Add your drawing code here
base.Draw(gameTime);
}
}
}
axios_ui_testbed/axios_ui_testbed/Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
namespace axios_ui_testbed
{
#if WINDOWS || XBOX
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main(string[] args)
{
using (Game1 game = new Game1())
{
game.Run();
}
}
}
#endif
}
axios_ui_testbed/axios_ui_testbed/Properties/AppManifest.xml
1
2
3
4
5
6
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Deployment.Parts>
</Deployment.Parts>
</Deployment>
axios_ui_testbed/axios_ui_testbed/Properties/AssemblyInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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("axios_ui_testbed")]
[assembly: AssemblyProduct("axios_ui_testbed")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type. Only Windows
// assemblies support COM.
[assembly: ComVisible(false)]
// On Windows, the following GUID is for the ID of the typelib if this
// project is exposed to COM. On other platforms, it unique identifies the
// title storage container when deploying this assembly to the device.
[assembly: Guid("5946b3ed-e3ba-4418-af50-1308d9fcd667")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
axios_ui_testbed/axios_ui_testbed/Properties/WMAppManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8" ?>
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1">
<App xmlns="" ProductID="{5466105f-c83f-4fe5-ab43-9783314011c5}" Title="axios_ui_testbed" RuntimeType="XNA" Version="1.0.0.0" Genre="Apps.Normal" Author="" Description="" Publisher="">
<IconPath IsRelative="true" IsResource="false"></IconPath>
<Capabilities>
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_LOCATION" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_MICROPHONE" />
<Capability Name="ID_CAP_MEDIALIB" />
<Capability Name="ID_CAP_GAMERSERVICES" />
<Capability Name="ID_CAP_PHONEDIALER" />
<Capability Name="ID_CAP_PUSH_NOTIFICATION" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
<Capability Name="ID_CAP_IDENTITY_USER" />
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
<!-- Windows Phone OS 7.1 Capabilities -->
<Capability Name="ID_CAP_ISV_CAMERA" />
<Capability Name="ID_CAP_CONTACTS" />
<Capability Name="ID_CAP_APPOINTMENTS" />
</Capabilities>
<Tasks>
<DefaultTask Name="_default"/>
</Tasks>
<Tokens>
<PrimaryToken TokenID="axios_ui_testbedToken" TaskName="_default">
<TemplateType5>
<BackgroundImageURI IsRelative="true" IsResource="false"></BackgroundImageURI>
<Count>0</Count>
<Title></Title>
</TemplateType5>
</PrimaryToken>
</Tokens>
</App>
</Deployment>
axios_ui_testbed/axios_ui_testbed/Screens/UIScreen1.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Axios.Engine;
using Axios.Engine.File;
using Axios.Engine.Extensions;
using Axios.Engine.UI;
using FarseerPhysics.Factories;
using FarseerPhysics.SamplesFramework;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Common;
using FarseerPhysics.Dynamics.Joints;
using Microsoft.Xna.Framework.Input;
using System.Text.RegularExpressions;
using Axios.Engine.Structures;
using GameStateManagement;
namespace axios_ui_testbed.Screens
{
class box1 : AxiosUIObject
{
public box1(Texture2D gfx)
{
Texture = gfx;
//Origin = new Vector2(gfx.Width / 2, gfx.Height / 2);
}
}
class UIScreen1 : AxiosGameScreen
{
int b1 = 0;
SpriteFont sf;
private Vector2 mp1;
private Vector2 mp2;
private Vector2 mp3;
private Vector2 mp4;
private Vector2 obj1;
private Vector2 obj2;
private Rectangle r1;
private Rectangle r2;
private Rectangle r3;
private AxiosRectangle r4;
private AxiosRectangle r5;
//private bool coolide;
private AxiosButton b;
public UIScreen1()
{
TransitionOffTime = TimeSpan.Zero;
TransitionOnTime = TimeSpan.Zero;
}
public override void Activate(bool instancePreserved)
{
base.Activate(instancePreserved);
Texture2D blocks = ScreenManager.Game.Content.Load<Texture2D>("blocks");
int xcount, ycount;
Texture2D[,] _blocktextures = blocks.Split(32, 32, 8, 8, out xcount, out ycount);
box1 x = new box1(_blocktextures[0, 0]);
x.Position = new Vector2(-10, -10);
x.MouseDown += new AxiosEvents.AxiosHandler(x_MouseDown);
AddGameObject(x);
b = new AxiosButton();
//b.Position = new Vector2(3f, 3f);
b.ClickTexture = _blocktextures[0, 0];
b.NormalTexture = _blocktextures[0, 1];
b.HoverTexture = _blocktextures[0, 2];
b.MouseDown += new AxiosEvents.AxiosHandler(b_MouseDown);
b.Origin = new Vector2(b.ClickTexture.Width / 2, b.ClickTexture.Height / 2);
AddGameObject(b);
sf = ScreenManager.Game.Content.Load<SpriteFont>("SpriteFont1");
obj1 = b.Position;
obj2 = Camera.ConvertScreenToWorld(obj1);
r1 = new Rectangle((int)obj1.X, (int)obj1.Y, b.Width, b.Height);
r2 = new Rectangle((int)obj2.X, (int)obj2.Y, b.Width, b.Height);
r3 = new Rectangle((int)b.Position.X, (int)(b.Position.Y), (int)Math.Floor(ConvertUnits.ToSimUnits(b.Width)), (int)Math.Ceiling(ConvertUnits.ToSimUnits(b.Height)));
r4 = new AxiosRectangle(b.Position.X, b.Position.Y, ConvertUnits.ToSimUnits(b.Width), (ConvertUnits.ToSimUnits(b.Height)));
}
void x_MouseDown(object sender, AxiosGameScreen gameScreen, InputState input)
{
System.Console.WriteLine("Testing123");
}
void b_MouseDown(object sender, AxiosGameScreen gameScreen, InputState input)
{
b1++;
}
public override void HandleInput(GameTime gameTime, InputState input)
{
base.HandleInput(gameTime,input);
if (input.IsNewKeyPress(Keys.Escape))
ScreenManager.Game.Exit();
mp1 = this.Camera.ConvertScreenToWorld(input.Cursor);
mp2 = input.Cursor;
mp3 = ConvertUnits.ToDisplayUnits(mp2);
//mp4 = ConvertUnits.ToSimUnits(mp2);
r5 = new AxiosRectangle(mp1.X, mp1.Y, ConvertUnits.ToSimUnits(25), ConvertUnits.ToSimUnits(25));
}
public override void Update(GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen)
{
base.Update(gameTime, otherScreenHasFocus, coveredByOtherScreen);
//coolide = b.CollidesWith(mp1, new Rectangle((int)mp1.X, (int)mp1.Y, 1, 1));
}
public override void Draw(GameTime gameTime)
{
base.Draw(gameTime);
ScreenManager.SpriteBatch.Begin(0, null, null, null, null, null, Camera.View);
ScreenManager.SpriteBatch.DrawString(sf, " Click to increase - " + b1.ToString(), new Vector2(12, -10), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "MP1 - " + mp1.ToString(), new Vector2(-200, -300), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "MP2 - " + mp2.ToString(), new Vector2(-200, -280), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "MP3 - " + mp3.ToString(), new Vector2(-200, -260), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "r5 - " + r5.ToString(), new Vector2(-200, -240), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "obj1 - " + obj1.ToString(), new Vector2(-200, -220), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "obj2 - " + obj2.ToString(), new Vector2(-200, -200), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "r1 - " + r1.ToString(), new Vector2(-200, -180), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "r2 - " + r2.ToString(), new Vector2(-200, -160), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "r4 - " + r4.ToString(), new Vector2(-200, -140), Color.Black);
ScreenManager.SpriteBatch.DrawString(sf, "r4 intersect r5 - " + r4.Intersect(r5).ToString(), new Vector2(-200, -120), Color.Black);
//ScreenManager.SpriteBatch.DrawString(sf, "coolide - " + coolide.ToString(), new Vector2(-200, -120), Color.Black);
ScreenManager.SpriteBatch.End();
}
/*public bool CheckMove(Vector2 current, Vector2 requested, Boundry boundry)
{
// Assuming you got 2 points in boundry.
float signedDistanceCurrent = GetSignedDistance(current, boundry.Vector1, boundry.Vector2);
float signedDistanceRequested = GetSignedDistance(current, boundry.Vector1, boundry.Vector2);
return signedDistanceRequested * signedDistanceCurrent < 0;
}
public float GetSignedDistance(Vector2 point0, Vector2 point1, Vector2 point2)
{
// Equation 14 without the |s.
return ((point2.X - point1.X) * (point1.Y - point0.Y) - (point2.X - point0.X) * (point2.Y - point1.Y)) / ((point2.X - point1.X) ^ 2 + (point2.Y - point1.Y) ^ 2) ^ (0.5F);
}*/
}
}
axios_ui_testbed/axios_ui_testbed/Windows Phone Copy of axios_ui_testbed.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{5466105F-C83F-4FE5-AB43-9783314011C5}</ProjectGuid>
<ProjectTypeGuids>{6D335F3A-9D43-41b4-9D22-F6F17C4BE596};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">Windows Phone</Platform>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>axios_ui_testbed</RootNamespace>
<AssemblyName>axios_ui_testbed</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<XnaFrameworkVersion>v4.0</XnaFrameworkVersion>
<XnaPlatform>Windows Phone</XnaPlatform>
<XnaProfile>Reach</XnaProfile>
<XnaCrossPlatformGroupID>71ecb1da-5785-4516-9524-5bd9917ed76b</XnaCrossPlatformGroupID>
<XnaOutputType>Game</XnaOutputType>
<ApplicationIcon>Game.ico</ApplicationIcon>
<Thumbnail>GameThumbnail.png</Thumbnail>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<XnaRefreshLevel>1</XnaRefreshLevel>
<XapFilename Condition="$(XnaOutputType)=='Game'">$(AssemblyName).xap</XapFilename>
<SilverlightManifestTemplate Condition="$(XnaOutputType)=='Game'">Properties\AppManifest.xml</SilverlightManifestTemplate>
<XnaWindowsPhoneManifestTemplate Condition="$(XnaOutputType)=='Game'">Properties\WMAppManifest.xml</XnaWindowsPhoneManifestTemplate>
<TileImage Condition="$(XnaOutputType)=='Game'">Background.png</TileImage>
<TileTitle Condition="$(XnaOutputType)=='Game'">$(AssemblyName)</TileTitle>
<SupportedCultures />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Windows Phone' ">
<OutputPath>bin\Windows Phone\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<UseVSHostingProcess>false</UseVSHostingProcess>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE;WINDOWS_PHONE</DefineConstants>
<XnaCompressContent>false</XnaCompressContent>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Windows Phone' ">
<OutputPath>bin\Windows Phone\Debug</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<UseVSHostingProcess>false</UseVSHostingProcess>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;WINDOWS_PHONE</DefineConstants>
<XnaCompressContent>false</XnaCompressContent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\axios_ui_testbedContent\axios_ui_testbedContent.contentproj">
<Name>axios_ui_testbedContent</Name>
<XnaReferenceType>Content</XnaReferenceType>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Program.cs" />
<Compile Include="Game1.cs" />
<Compile Include="Screens\UIScreen1.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Game.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Background.png">
<XnaPlatformSpecific>true</XnaPlatformSpecific>
</None>
<None Include="PhoneGameThumb.png">
<XnaPlatformSpecific>true</XnaPlatformSpecific>
</None>
<None Include="Properties\AppManifest.xml">
<XnaPlatformSpecific>true</XnaPlatformSpecific>
</None>
<None Include="Properties\WMAppManifest.xml">
<XnaPlatformSpecific>true</XnaPlatformSpecific>
</None>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4 Client Profile %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Xna.Framework.4.0">
<Visible>False</Visible>
<ProductName>Microsoft XNA Framework Redistributable 4.0</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Reference Include="Axios.WP7">
<HintPath>.\Axios.WP7.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Xna.Framework" />
<Reference Include="Microsoft.Xna.Framework.Game" />
<Reference Include="Microsoft.Xna.Framework.GamerServices" />
<Reference Include="Microsoft.Xna.Framework.Graphics" />
<Reference Include="Microsoft.Xna.Framework.Input.Touch, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
<Reference Include="mscorlib" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" />
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
axios_ui_testbed/axios_ui_testbed/axios_ui_testbed.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{7A0E7144-AAE2-4ACB-BF00-7237C8E08029}</ProjectGuid>
<ProjectTypeGuids>{6D335F3A-9D43-41b4-9D22-F6F17C4BE596};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>axios_ui_testbed</RootNamespace>
<AssemblyName>axios_ui_testbed</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<XnaFrameworkVersion>v4.0</XnaFrameworkVersion>
<XnaPlatform>Windows</XnaPlatform>
<XnaProfile>Reach</XnaProfile>
<XnaCrossPlatformGroupID>71ecb1da-5785-4516-9524-5bd9917ed76b</XnaCrossPlatformGroupID>
<XnaOutputType>Game</XnaOutputType>
<ApplicationIcon>Game.ico</ApplicationIcon>
<Thumbnail>GameThumbnail.png</Thumbnail>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\x86\Debug</OutputPath>
<DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<UseVSHostingProcess>false</UseVSHostingProcess>
<PlatformTarget>x86</PlatformTarget>
<XnaCompressContent>false</XnaCompressContent>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\x86\Release</OutputPath>
<DefineConstants>TRACE;WINDOWS</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<UseVSHostingProcess>false</UseVSHostingProcess>
<PlatformTarget>x86</PlatformTarget>
<XnaCompressContent>true</XnaCompressContent>
</PropertyGroup>
<ItemGroup>
<Reference Include="Axios.Windows">
<HintPath>.\Axios.Windows.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
<Reference Include="Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
<Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
<Reference Include="Microsoft.Xna.Framework.GamerServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
<Reference Include="mscorlib" />
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Net" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Program.cs" />
<Compile Include="Game1.cs" />
<Compile Include="Screens\UIScreen1.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Game.ico" />
<Content Include="GameThumbnail.png">
<XnaPlatformSpecific>true</XnaPlatformSpecific>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\axios_ui_testbedContent\axios_ui_testbedContent.contentproj">
<Name>axios_ui_testbedContent</Name>
<XnaReferenceType>Content</XnaReferenceType>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4 Client Profile %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Xna.Framework.4.0">
<Visible>False</Visible>
<ProductName>Microsoft XNA Framework Redistributable 4.0</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" />
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
axios_ui_testbed/axios_ui_testbedContent/Fonts/credits.spritefont
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<!--
This file contains an xml description of a font, and will be read by the XNA
Framework Content Pipeline. Follow the comments to customize the appearance
of the font in your game, and to change the characters which are available to draw
with.
-->
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<!--
Modify this string to change the font that will be imported.
-->
<FontName>Calibri</FontName>
<!--
Size is a float value, measured in points. Modify this value to change
the size of the font.
-->
<Size>15</Size>
<!--
Spacing is a float value, measured in pixels. Modify this value to change
the amount of spacing in between characters.
-->
<Spacing>0</Spacing>
<!--
UseKerning controls the layout of the font. If this value is true, kerning information
will be used when placing characters.
-->
<UseKerning>true</UseKerning>
<!--
Style controls the style of the font. Valid entries are "Regular", "Bold", "Italic",
and "Bold, Italic", and are case sensitive.
-->
<Style>Regular</Style>
<!--
If you uncomment this line, the default character will be substituted if you draw
or measure text that contains characters which were not included in the font.
-->
<!-- <DefaultCharacter>*</DefaultCharacter> -->
<!--
CharacterRegions control what letters are available in the font. Every
character from Start to End will be built and made available for drawing. The
default range is from 32, (ASCII space), to 126, ('~'), covering the basic Latin
character set. The characters are ordered according to the Unicode standard.
See the documentation for more information.
-->
<CharacterRegions>
<CharacterRegion>
<Start>&#32;</Start>
<End>&#126;</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
axios_ui_testbed/axios_ui_testbedContent/Fonts/detailsFont.spritefont
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="utf-8"?>
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<FontName>Courier New</FontName>
<Size>10</Size>
<Spacing>1</Spacing>
<Style>Bold</Style>
<CharacterRegions>
<CharacterRegion>
<Start>&#32;</Start>
<End>&#126;</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
axios_ui_testbed/axios_ui_testbedContent/Fonts/frameRateCounterFont.spritefont
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<FontName>Arial</FontName>
<Size>10</Size>
<Spacing>2</Spacing>
<Style>Bold</Style>
<CharacterRegions>
<CharacterRegion>
<Start>f</Start>
<End>f</End>
</CharacterRegion>
<CharacterRegion>
<Start>p</Start>
<End>p</End>
</CharacterRegion>
<CharacterRegion>
<Start>t</Start>
<End>t</End>
</CharacterRegion>
<CharacterRegion>
<Start>n</Start>
<End>n</End>
</CharacterRegion>
<CharacterRegion>
<Start>s</Start>
<End>s</End>
</CharacterRegion>
<CharacterRegion>
<Start>:</Start>
<End>:</End>
</CharacterRegion>
<CharacterRegion>
<Start> </Start>
<End> </End>
</CharacterRegion>
<CharacterRegion>
<Start>0</Start>
<End>9</End>
</CharacterRegion>
<CharacterRegion>
<Start>.</Start>
<End>.</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
axios_ui_testbed/axios_ui_testbedContent/Fonts/helptext.spritefont
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<!--
This file contains an xml description of a font, and will be read by the XNA
Framework Content Pipeline. Follow the comments to customize the appearance
of the font in your game, and to change the characters which are available to draw
with.
-->
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<!--
Modify this string to change the font that will be imported.
-->
<FontName>Segoe UI Mono</FontName>
<!--
Size is a float value, measured in points. Modify this value to change
the size of the font.
-->
<Size>8</Size>
<!--
Spacing is a float value, measured in pixels. Modify this value to change
the amount of spacing in between characters.
-->
<Spacing>0</Spacing>
<!--
UseKerning controls the layout of the font. If this value is true, kerning information
will be used when placing characters.
-->
<UseKerning>true</UseKerning>
<!--
Style controls the style of the font. Valid entries are "Regular", "Bold", "Italic",
and "Bold, Italic", and are case sensitive.
-->
<Style>Regular</Style>
<!--
If you uncomment this line, the default character will be substituted if you draw
or measure text that contains characters which were not included in the font.
-->
<!-- <DefaultCharacter>*</DefaultCharacter> -->
<!--
CharacterRegions control what letters are available in the font. Every
character from Start to End will be built and made available for drawing. The
default range is from 32, (ASCII space), to 126, ('~'), covering the basic Latin
character set. The characters are ordered according to the Unicode standard.
See the documentation for more information.
-->
<CharacterRegions>
<CharacterRegion>
<Start>&#32;</Start>
<End>&#126;</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
axios_ui_testbed/axios_ui_testbedContent/Fonts/menufont.spritefont
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="utf-8"?>
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<FontName>Segoe UI Mono</FontName>
<Size>23</Size>
<Spacing>2</Spacing>
<Style>Regular</Style>
<CharacterRegions>
<CharacterRegion>
<Start>&#32;</Start>
<End>&#126;</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
axios_ui_testbed/axios_ui_testbedContent/SpriteFont1.spritefont
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<!--
This file contains an xml description of a font, and will be read by the XNA
Framework Content Pipeline. Follow the comments to customize the appearance
of the font in your game, and to change the characters which are available to draw
with.
-->
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<!--
Modify this string to change the font that will be imported.
-->
<FontName>Segoe UI Mono</FontName>
<!--
Size is a float value, measured in points. Modify this value to change
the size of the font.
-->
<Size>8</Size>
<!--
Spacing is a float value, measured in pixels. Modify this value to change
the amount of spacing in between characters.
-->
<Spacing>0</Spacing>
<!--
UseKerning controls the layout of the font. If this value is true, kerning information
will be used when placing characters.
-->
<UseKerning>true</UseKerning>
<!--
Style controls the style of the font. Valid entries are "Regular", "Bold", "Italic",
and "Bold, Italic", and are case sensitive.
-->
<Style>Bold</Style>
<!--
If you uncomment this line, the default character will be substituted if you draw
or measure text that contains characters which were not included in the font.
-->
<!-- <DefaultCharacter>*</DefaultCharacter> -->
<!--
CharacterRegions control what letters are available in the font. Every
character from Start to End will be built and made available for drawing. The
default range is from 32, (ASCII space), to 126, ('~'), covering the basic Latin
character set. The characters are ordered according to the Unicode standard.
See the documentation for more information.
-->
<CharacterRegions>
<CharacterRegion>
<Start>&#32;</Start>
<End>&#126;</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
axios_ui_testbed/axios_ui_testbedContent/axios_ui_testbedContent.contentproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{B5C9F281-AE74-484C-8103-937376492D29}</ProjectGuid>
<ProjectTypeGuids>{96E2B04D-8817-42c6-938A-82C39BA4D311};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<XnaFrameworkVersion>v4.0</XnaFrameworkVersion>
<OutputPath>bin\$(Platform)\$(Configuration)</OutputPath>
<ContentRootDirectory>Content</ContentRootDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup>
<RootNamespace>axios_ui_testbedContent</RootNamespace>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework.Content.Pipeline.EffectImporter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Xna.Framework.Content.Pipeline.FBXImporter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Xna.Framework.Content.Pipeline.TextureImporter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Xna.Framework.Content.Pipeline.XImporter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Xna.Framework.Content.Pipeline.AudioImporters, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Xna.Framework.Content.Pipeline.VideoImporters, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup>
<Compile Include="blocks.png">
<Name>blocks</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\arrow.png">
<Name>arrow</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\buttons.png">
<Name>buttons</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\cursor.png">
<Name>cursor</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\gradient.png">
<Name>gradient</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\logo.png">
<Name>logo</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\popup.png">
<Name>popup</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\slider.png">
<Name>slider</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\socket.png">
<Name>socket</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Common\stick.png">
<Name>stick</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Materials\blank.png">
<Name>blank</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Materials\dots.png">
<Name>dots</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Materials\pavement.png">
<Name>pavement</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Materials\squares.png">
<Name>squares</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Materials\waves.png">
<Name>waves</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Samples\alphabet.png">
<Name>alphabet</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Samples\car.png">
<Name>car</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Samples\goo.png">
<Name>goo</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Samples\link.png">
<Name>link</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Samples\object.png">
<Name>object</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="Samples\wheel.png">
<Name>wheel</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="font.spritefont">
<Name>font</Name>
<Importer>FontDescriptionImporter</Importer>
<Processor>FontDescriptionProcessor</Processor>
</Compile>
<Compile Include="Fonts\credits.spritefont">
<Name>credits</Name>
<Importer>FontDescriptionImporter</Importer>
<Processor>FontDescriptionProcessor</Processor>
</Compile>
<Compile Include="Fonts\detailsFont.spritefont">
<Name>detailsFont</Name>
<Importer>FontDescriptionImporter</Importer>
<Processor>FontDescriptionProcessor</Processor>
</Compile>
<Compile Include="Fonts\frameRateCounterFont.spritefont">
<Name>frameRateCounterFont</Name>
<Importer>FontDescriptionImporter</Importer>
<Processor>FontDescriptionProcessor</Processor>
</Compile>
<Compile Include="Fonts\helptext.spritefont">
<Name>helptext</Name>
<Importer>FontDescriptionImporter</Importer>
<Processor>FontDescriptionProcessor</Processor>
</Compile>
<Compile Include="Fonts\menufont.spritefont">
<Name>menufont</Name>
<Importer>FontDescriptionImporter</Importer>
<Processor>FontDescriptionProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="SpriteFont1.spritefont">
<Name>SpriteFont1</Name>
<Importer>FontDescriptionImporter</Importer>
<Processor>FontDescriptionProcessor</Processor>
<SubType>Designer</SubType>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
axios_ui_testbed/axios_ui_testbedContent/font.spritefont
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<!--
This file contains an xml description of a font, and will be read by the XNA
Framework Content Pipeline. Follow the comments to customize the appearance
of the font in your game, and to change the characters which are available to draw
with.
-->
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<!--
Modify this string to change the font that will be imported.
-->
<FontName>Arial</FontName>
<!--
Size is a float value, measured in points. Modify this value to change
the size of the font.
-->
<Size>14</Size>
<!--
Spacing is a float value, measured in pixels. Modify this value to change
the amount of spacing in between characters.
-->
<Spacing>0</Spacing>
<!--
UseKerning controls the layout of the font. If this value is true, kerning information
will be used when placing characters.
-->
<UseKerning>true</UseKerning>
<!--
Style controls the style of the font. Valid entries are "Regular", "Bold", "Italic",
and "Bold, Italic", and are case sensitive.
-->
<Style>Bold</Style>
<!--
If you uncomment this line, the default character will be substituted if you draw
or measure text that contains characters which were not included in the font.
-->
<!-- <DefaultCharacter>*</DefaultCharacter> -->
<!--
CharacterRegions control what letters are available in the font. Every
character from Start to End will be built and made available for drawing. The
default range is from 32, (ASCII space), to 126, ('~'), covering the basic Latin
character set. The characters are ordered according to the Unicode standard.
See the documentation for more information.
-->
<CharacterRegions>
<CharacterRegion>
<Start>&#32;</Start>
<End>&#126;</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>

Archive Download the corresponding diff file

Branches

Tags

Page rendered in 0.53156s using 13 queries.