Merge branch 'refs/heads/Development' into Collision
# Conflicts: # ZoFo/GameCore/GameManagers/CollisionManager/CollisionManager.cs
17
AnimationsFileCreator/AnimationsFileCreator.csproj
Normal file
|
@ -0,0 +1,17 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ZoFo\ZoFo.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NativeFileDialogSharp" Version="0.6.0-alpha" />
|
||||
<PackageReference Include="SharpZipLib" Version="1.4.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
73
AnimationsFileCreator/Program.cs
Normal file
|
@ -0,0 +1,73 @@
|
|||
using DangerousD.GameCore.Graphics;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using NativeFileDialogSharp;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection.Metadata;
|
||||
using Zofo.GameCore.ZoFo_grafics;
|
||||
|
||||
namespace AnimationsFileCreator
|
||||
{
|
||||
class Program
|
||||
{
|
||||
[STAThread]
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Добро пожаловать в костыльную программу по созданию файлов анимации для игры DungerousD");
|
||||
Console.Write("Введите название текстуры (нажмите enter, чтобы выбрать файл во всплывающем окошке): ");
|
||||
string textureName = Console.ReadLine();
|
||||
if (textureName == "")
|
||||
{
|
||||
|
||||
DialogResult result = Dialog.FileOpen();
|
||||
var temp = result.Path.Split('\\');
|
||||
textureName = temp[temp.Length-2] + "/"+temp[temp.Length - 1];
|
||||
textureName = textureName.Split('.')[0];
|
||||
}
|
||||
Console.WriteLine("Введите количество кадров анимации: ");
|
||||
int framesCount = int.Parse(Console.ReadLine());
|
||||
Console.WriteLine("Введите длительность кадра в анимации: ");
|
||||
int interval = int.Parse(Console.ReadLine());
|
||||
Console.WriteLine("Введите начальную позицию X ректенгла анимации: ");
|
||||
Rectangle rectangle = new Rectangle();
|
||||
rectangle.X = int.Parse(Console.ReadLine());
|
||||
Console.WriteLine("Введите начальную позицию Y ректенгла анимации: ");
|
||||
rectangle.Y = int.Parse(Console.ReadLine());
|
||||
Console.WriteLine("Введите начальную позицию Width ректенгла анимации: ");
|
||||
rectangle.Width = int.Parse(Console.ReadLine());
|
||||
Console.WriteLine("Введите начальную позицию Height ректенгла анимации: ");
|
||||
rectangle.Height = int.Parse(Console.ReadLine());
|
||||
Console.WriteLine("Введите название для этого файла - id анимации");
|
||||
string id = Console.ReadLine();
|
||||
Console.WriteLine("Введите 1 если анимация зациклена, и 0 если нет");
|
||||
AnimationContainer container = new AnimationContainer();
|
||||
|
||||
int a = int.Parse(Console.ReadLine());
|
||||
if (a==1)
|
||||
{
|
||||
container.IsCycle = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
container.IsCycle = false;
|
||||
}
|
||||
Console.WriteLine("Введите отклонение анимации от стандартной (сначала X, потом enter, потом Y): ");
|
||||
int otklx = int.Parse(Console.ReadLine());
|
||||
int otkly = int.Parse(Console.ReadLine());
|
||||
container.Offset =new Vector2(otklx,otkly);
|
||||
container.FramesCount = framesCount;
|
||||
container.FrameTime = new System.Collections.Generic.List<Tuple<int, int>>();
|
||||
container.FrameTime.Add(new Tuple<int, int>(0, interval));
|
||||
container.StartSpriteRectangle = rectangle;
|
||||
container.TextureName = "Textures/AnimationTextures/"+textureName;
|
||||
container.TextureFrameInterval = 0;
|
||||
container.Id = id;
|
||||
string json = JsonConvert.SerializeObject(container);
|
||||
StreamWriter writer = new StreamWriter("../../../../ZoFo/Content/Textures/Animations/"+id+ ".animation");
|
||||
writer.WriteLine(json);
|
||||
writer.Close();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -59,8 +59,8 @@ namespace MonogameLibrary.UI.Base
|
|||
{
|
||||
keyboardState = Keyboard.GetState();
|
||||
mouseState = Mouse.GetState();
|
||||
mouseState = new MouseState((int)(mouseState.X*(float)resolutionInGame.X/resolution.X),
|
||||
(int)(mouseState.Y * (float)resolutionInGame.Y / resolution.Y), mouseState.ScrollWheelValue, mouseState.LeftButton, mouseState.MiddleButton, mouseState.RightButton, mouseState.XButton1, mouseState.XButton2);
|
||||
//mouseState = new MouseState((int)(mouseState.X*(float)resolutionInGame.X/resolution.X),
|
||||
// (int)(mouseState.Y * (float)resolutionInGame.Y / resolution.Y), mouseState.ScrollWheelValue, mouseState.LeftButton, mouseState.MiddleButton, mouseState.RightButton, mouseState.XButton1, mouseState.XButton2);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
@ -24,6 +24,10 @@ namespace MonogameLibrary.UI.Elements
|
|||
private bool isChecked;
|
||||
HoverState hoverState = HoverState.None;
|
||||
public bool GetChecked { get { return isChecked; } }
|
||||
public void SetIsChecked(bool isChecked)
|
||||
{
|
||||
this.isChecked=isChecked;
|
||||
}
|
||||
public bool InteractUpdate(MouseState mouseState, MouseState prevmouseState)
|
||||
{
|
||||
if (rectangle.Intersects(new Rectangle(mouseState.Position, Point.Zero)))
|
||||
|
@ -49,9 +53,9 @@ namespace MonogameLibrary.UI.Elements
|
|||
|
||||
public override void LoadTexture(ContentManager content)
|
||||
{
|
||||
texture1 = content.Load<Texture2D>("textures\\ui\\checkboxs_off");
|
||||
texture2 = content.Load<Texture2D>("textures\\ui\\checkboxs_off-on");
|
||||
texture3 = content.Load<Texture2D>("textures\\ui\\checkboxs_on");
|
||||
texture1 = content.Load<Texture2D>("Textures/GUI/checkboxs_off");
|
||||
texture2 = content.Load<Texture2D>("Textures/GUI/checkboxs_off-on");
|
||||
texture3 = content.Load<Texture2D>("Textures/GUI/checkboxs_on");
|
||||
base.LoadTexture(content);
|
||||
}
|
||||
public override void Draw(SpriteBatch _spriteBatch)
|
||||
|
|
|
@ -21,7 +21,10 @@ namespace MonogameLibrary.UI.Elements
|
|||
public int indentation = 5;
|
||||
|
||||
Texture2D texture2;
|
||||
public Rectangle sliderRect = new Rectangle(0, 0, 30, 30);
|
||||
/// <summary>
|
||||
/// ректенгл ползунка
|
||||
/// </summary>
|
||||
public Rectangle sliderRect = new Rectangle(0, 0, 40, 40);
|
||||
private float sliderValue = 0;
|
||||
private float minValue = 0, maxValue = 1;
|
||||
SliderState sliderState = SliderState.None;
|
||||
|
@ -56,7 +59,7 @@ namespace MonogameLibrary.UI.Elements
|
|||
|
||||
public override void LoadTexture(ContentManager content)
|
||||
{
|
||||
texture2 = content.Load<Texture2D>("textures\\ui\\slider");
|
||||
texture2 = content.Load<Texture2D>("Textures/GUI/switch");
|
||||
base.LoadTexture(content);
|
||||
}
|
||||
|
||||
|
@ -73,11 +76,11 @@ namespace MonogameLibrary.UI.Elements
|
|||
sliderRect.X += (int)(sliderValue * (rectangle.Width - sliderRect.Width - indentation * 2) + indentation);
|
||||
sliderRect.Y -= sliderRect.Height / 2 - rectangle.Height / 2;
|
||||
if (sliderState == SliderState.Moving)
|
||||
_spriteBatch.Draw(texture2, sliderRect, Color.DarkRed);
|
||||
_spriteBatch.Draw(texture2, sliderRect, Color.Gray);
|
||||
else if(sliderState == SliderState.HoveringOverSliderButton)
|
||||
_spriteBatch.Draw(texture2, sliderRect, new Color(200,0 ,0));
|
||||
_spriteBatch.Draw(texture2, sliderRect, Color.DarkGray);
|
||||
else
|
||||
_spriteBatch.Draw(texture2, sliderRect, Color.Red);
|
||||
_spriteBatch.Draw(texture2, sliderRect, Color.White);
|
||||
DrawText(_spriteBatch);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -89,9 +89,9 @@ namespace MonogameLibrary.UI.Elements
|
|||
if (hoverState == HoverState.None)
|
||||
{
|
||||
if (isSelected == IsSelected.Selected)
|
||||
_spriteBatch.Draw(texture, rectangle, new Color(220, 220, 220));
|
||||
_spriteBatch.Draw(texture, rectangle, new Color(211, 211, 211));
|
||||
else
|
||||
_spriteBatch.Draw(texture, rectangle, new Color(245, 245, 245));
|
||||
_spriteBatch.Draw(texture, rectangle, Color.White);
|
||||
}
|
||||
else if (hoverState == HoverState.Hovering)
|
||||
_spriteBatch.Draw(texture, rectangle, new Color(211, 211, 211));
|
||||
|
|
6
ZoFo.sln
|
@ -7,6 +7,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ZoFo", "ZoFo\ZoFo.csproj",
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonogameLibrary", "MonogameLibrary\MonogameLibrary.csproj", "{40880E68-4B3A-417B-A39B-95DE46AA2E7E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AnimationsFileCreator", "AnimationsFileCreator\AnimationsFileCreator.csproj", "{7B143D5C-5198-4ADE-9291-ECC924B78633}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -21,6 +23,10 @@ Global
|
|||
{40880E68-4B3A-417B-A39B-95DE46AA2E7E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{40880E68-4B3A-417B-A39B-95DE46AA2E7E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{40880E68-4B3A-417B-A39B-95DE46AA2E7E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{7B143D5C-5198-4ADE-9291-ECC924B78633}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7B143D5C-5198-4ADE-9291-ECC924B78633}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7B143D5C-5198-4ADE-9291-ECC924B78633}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7B143D5C-5198-4ADE-9291-ECC924B78633}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -13,3 +13,345 @@
|
|||
|
||||
#---------------------------------- Content ---------------------------------#
|
||||
|
||||
#begin Fonts/Font.spritefont
|
||||
/importer:FontDescriptionImporter
|
||||
/processor:FontDescriptionProcessor
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:TextureFormat=Compressed
|
||||
/build:Fonts/Font.spritefont
|
||||
|
||||
#begin Fonts/Font2.spritefont
|
||||
/importer:FontDescriptionImporter
|
||||
/processor:FontDescriptionProcessor
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:TextureFormat=Compressed
|
||||
/build:Fonts/Font2.spritefont
|
||||
|
||||
#begin Fonts/Font3.spritefont
|
||||
/importer:FontDescriptionImporter
|
||||
/processor:FontDescriptionProcessor
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:TextureFormat=Compressed
|
||||
/build:Fonts/Font3.spritefont
|
||||
|
||||
#begin MapData/TileMaps/main.tmj
|
||||
/copy:MapData/TileMaps/main.tmj
|
||||
|
||||
#begin MapData/TileMaps/main.tmx
|
||||
/copy:MapData/TileMaps/main.tmx
|
||||
|
||||
#begin MapData/TileSets/TileSet 1.tsj
|
||||
/copy:MapData/TileSets/TileSet 1.tsj
|
||||
|
||||
#begin sounds/Loot.wav
|
||||
/importer:WavImporter
|
||||
/processor:SoundEffectProcessor
|
||||
/processorParam:Quality=Best
|
||||
/build:sounds/Loot.wav
|
||||
|
||||
#begin sounds/Odevanie odezdi.wav
|
||||
/importer:WavImporter
|
||||
/processor:SoundEffectProcessor
|
||||
/processorParam:Quality=Best
|
||||
/build:sounds/Odevanie odezdi.wav
|
||||
|
||||
#begin sounds/Pieot wodichky.wav
|
||||
/importer:WavImporter
|
||||
/processor:SoundEffectProcessor
|
||||
/processorParam:Quality=Best
|
||||
/build:sounds/Pieot wodichky.wav
|
||||
|
||||
#begin sounds/Sshetchik geigera.wav
|
||||
/importer:WavImporter
|
||||
/processor:SoundEffectProcessor
|
||||
/processorParam:Quality=Best
|
||||
/build:sounds/Sshetchik geigera.wav
|
||||
|
||||
#begin sounds/Tabletki 2.wav
|
||||
/importer:WavImporter
|
||||
/processor:SoundEffectProcessor
|
||||
/processorParam:Quality=Best
|
||||
/build:sounds/Tabletki 2.wav
|
||||
|
||||
#begin sounds/Tabletki.mp3
|
||||
/importer:Mp3Importer
|
||||
/processor:SongProcessor
|
||||
/processorParam:Quality=Best
|
||||
/build:sounds/Tabletki.mp3
|
||||
|
||||
#begin sounds/Zombi napal.wav
|
||||
/importer:WavImporter
|
||||
/processor:SoundEffectProcessor
|
||||
/processorParam:Quality=Best
|
||||
/build:sounds/Zombi napal.wav
|
||||
|
||||
#begin sounds/Zombi stoit.wav
|
||||
/importer:WavImporter
|
||||
/processor:SoundEffectProcessor
|
||||
/processorParam:Quality=Best
|
||||
/build:sounds/Zombi stoit.wav
|
||||
|
||||
#begin Textures/AnimationTextures/Character/hr-level1_idle_gun.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/AnimationTextures/Character/hr-level1_idle_gun.png
|
||||
|
||||
#begin Textures/AnimationTextures/Character/hr-level1_idle.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/AnimationTextures/Character/hr-level1_idle.png
|
||||
|
||||
#begin Textures/AnimationTextures/Character/hr-level1_mining_tool-1.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/AnimationTextures/Character/hr-level1_mining_tool-1.png
|
||||
|
||||
#begin Textures/AnimationTextures/Character/hr-level1_mining_tool-2.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/AnimationTextures/Character/hr-level1_mining_tool-2.png
|
||||
|
||||
#begin Textures/AnimationTextures/Character/hr-level1_running_gun.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/AnimationTextures/Character/hr-level1_running_gun.png
|
||||
|
||||
#begin Textures/AnimationTextures/Character/hr-level1_running.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/AnimationTextures/Character/hr-level1_running.png
|
||||
|
||||
#begin Textures/AnimationTextures/unicorn.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/AnimationTextures/unicorn.png
|
||||
|
||||
#begin Textures/GUI/background/base.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/background/base.png
|
||||
|
||||
#begin Textures/GUI/background/endGame.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/background/endGame.png
|
||||
|
||||
#begin Textures/GUI/background/join.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/background/join.png
|
||||
|
||||
#begin Textures/GUI/background/mainMenu.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/background/mainMenu.png
|
||||
|
||||
#begin Textures/GUI/background/options.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/background/options.png
|
||||
|
||||
#begin Textures/GUI/background/selectMode.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/background/selectMode.png
|
||||
|
||||
#begin Textures/GUI/background/waiting.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/background/waiting.png
|
||||
|
||||
#begin Textures/GUI/checkboxs_off.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/checkboxs_off.png
|
||||
|
||||
#begin Textures/GUI/checkboxs_off-on.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/checkboxs_off-on.png
|
||||
|
||||
#begin Textures/GUI/checkboxs_on.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/checkboxs_on.png
|
||||
|
||||
#begin Textures/GUI/MenuBackground.jpg
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/MenuBackground.jpg
|
||||
|
||||
#begin Textures/GUI/mouse.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/mouse.png
|
||||
|
||||
#begin Textures/GUI/switch.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/switch.png
|
||||
|
||||
#begin Textures/GUI/Switch_backgrownd.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/GUI/Switch_backgrownd.png
|
||||
|
||||
#begin Textures/TileSetImages/TilesetFloor.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Textures/TileSetImages/TilesetFloor.png
|
||||
|
||||
|
|
BIN
ZoFo/Content/Fonts/CarltineRegular-K7z5l.ttf
Normal file
BIN
ZoFo/Content/Fonts/Debrosee-ALPnL.ttf
Normal file
60
ZoFo/Content/Fonts/Font.spritefont
Normal file
|
@ -0,0 +1,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>Debrosee-ALPnL.ttf</FontName>
|
||||
|
||||
<!--
|
||||
Size is a float value, measured in points. Modify this value to change
|
||||
the size of the font.
|
||||
-->
|
||||
<Size>100</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> </Start>
|
||||
<End>~</End>
|
||||
</CharacterRegion>
|
||||
</CharacterRegions>
|
||||
</Asset>
|
||||
</XnaContent>
|
60
ZoFo/Content/Fonts/Font2.spritefont
Normal file
|
@ -0,0 +1,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>CarltineRegular-K7z5l.ttf</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> </Start>
|
||||
<End>~</End>
|
||||
</CharacterRegion>
|
||||
</CharacterRegions>
|
||||
</Asset>
|
||||
</XnaContent>
|
60
ZoFo/Content/Fonts/Font3.spritefont
Normal file
|
@ -0,0 +1,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>MouldyCheeseRegular-WyMWG.ttf</FontName>
|
||||
|
||||
<!--
|
||||
Size is a float value, measured in points. Modify this value to change
|
||||
the size of the font.
|
||||
-->
|
||||
<Size>50</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> </Start>
|
||||
<End>~</End>
|
||||
</CharacterRegion>
|
||||
</CharacterRegions>
|
||||
</Asset>
|
||||
</XnaContent>
|
BIN
ZoFo/Content/Fonts/MouldyCheeseRegular-WyMWG.ttf
Normal file
14
ZoFo/Content/MapData/MapSession.tiled-project
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"automappingRulesFile": "",
|
||||
"commands": [
|
||||
],
|
||||
"compatibilityVersion": 1100,
|
||||
"extensionsPath": "extensions",
|
||||
"folders": [
|
||||
"."
|
||||
],
|
||||
"properties": [
|
||||
],
|
||||
"propertyTypes": [
|
||||
]
|
||||
}
|
43
ZoFo/Content/MapData/MapSession.tiled-session
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"Map/SizeTest": {
|
||||
"height": 4300,
|
||||
"width": 2
|
||||
},
|
||||
"activeFile": "TileSets/TileSet 1.tsj",
|
||||
"expandedProjectPaths": [
|
||||
"TileMaps",
|
||||
".",
|
||||
"TileSets"
|
||||
],
|
||||
"fileStates": {
|
||||
"TileMaps/TileSets/TileSet 1.tsj": {
|
||||
"scaleInDock": 1
|
||||
},
|
||||
"TileMaps/main.tmj": {
|
||||
"scale": 0.25,
|
||||
"selectedLayer": 0,
|
||||
"viewCenter": {
|
||||
"x": 1734,
|
||||
"y": 1652
|
||||
}
|
||||
},
|
||||
"TileSets/TileSet 1.tsj": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 1.5
|
||||
},
|
||||
"TileSets/WallSet.tsj": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 1
|
||||
}
|
||||
},
|
||||
"openFiles": [
|
||||
"TileSets/TileSet 1.tsj",
|
||||
"TileSets/WallSet.tsj",
|
||||
"TileMaps/main.tmj"
|
||||
],
|
||||
"recentFiles": [
|
||||
"TileMaps/main.tmj",
|
||||
"TileSets/WallSet.tsj",
|
||||
"TileSets/TileSet 1.tsj"
|
||||
]
|
||||
}
|
1093
ZoFo/Content/MapData/TileMaps/main.tmj
Normal file
116
ZoFo/Content/MapData/TileMaps/main.tmx
Normal file
|
@ -0,0 +1,116 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.10" tiledversion="1.10.2" orientation="orthogonal" renderorder="right-down" width="30" height="20" tilewidth="16" tileheight="16" infinite="1" nextlayerid="2" nextobjectid="1">
|
||||
<tileset firstgid="1" source="../TileSets/TileSet 1.tsj"/>
|
||||
<layer id="1" name="Слой тайлов 1" width="30" height="20">
|
||||
<data encoding="csv">
|
||||
<chunk x="-16" y="-16" width="16" height="16">
|
||||
24,24,24,28,29,24,24,24,28,46,29,24,25,115,45,46,
|
||||
24,24,24,25,23,24,24,24,50,2,51,24,50,2,2,2,
|
||||
24,24,24,50,32,29,24,24,24,24,24,24,24,24,24,28,
|
||||
28,29,24,28,10,32,29,24,24,28,46,29,24,24,24,50,
|
||||
47,23,24,50,32,10,32,46,29,50,2,51,24,24,24,24,
|
||||
1,32,29,90,25,23,50,2,32,29,24,90,28,29,24,24,
|
||||
51,50,32,29,50,51,90,24,25,45,46,29,25,23,24,90,
|
||||
24,24,50,32,46,29,24,28,10,2,2,51,50,51,24,90,
|
||||
24,24,24,50,2,32,46,10,32,29,24,90,24,24,24,90,
|
||||
29,24,89,24,24,50,3,23,50,32,46,46,46,46,29,24,
|
||||
51,24,24,28,29,24,25,23,24,25,1,2,3,111,45,29,
|
||||
24,90,24,50,51,24,25,23,28,47,23,89,50,3,115,23,
|
||||
24,24,24,24,24,89,50,32,47,1,51,24,24,50,2,51,
|
||||
28,29,24,24,24,24,28,10,2,51,24,24,24,24,24,28,
|
||||
10,32,29,24,24,24,25,23,28,29,90,24,24,90,24,50,
|
||||
32,10,51,24,24,24,50,32,10,32,29,24,90,28,29,24
|
||||
</chunk>
|
||||
<chunk x="0" y="-16" width="16" height="16">
|
||||
10,51,24,90,24,25,23,28,29,24,24,24,24,24,24,24,
|
||||
51,24,28,29,24,50,32,10,51,24,24,24,24,24,24,24,
|
||||
29,28,10,32,46,29,50,32,29,24,24,24,24,24,24,24,
|
||||
51,25,23,50,2,32,29,25,23,24,24,28,29,24,90,24,
|
||||
24,25,23,24,24,25,23,50,51,24,24,50,32,29,24,90,
|
||||
24,50,32,29,90,25,45,29,24,24,24,24,50,51,24,89,
|
||||
24,89,50,51,24,25,114,23,24,24,24,24,24,24,24,24,
|
||||
24,24,28,29,24,50,2,51,24,24,90,28,29,24,24,28,
|
||||
24,24,25,23,89,24,24,24,28,46,29,25,23,24,24,50,
|
||||
28,46,10,51,24,28,46,29,25,111,45,10,51,28,29,24,
|
||||
50,2,51,24,24,25,115,45,10,3,1,51,24,25,23,24,
|
||||
24,24,24,24,24,50,2,2,32,10,51,24,90,25,23,24,
|
||||
24,24,24,24,24,24,24,24,50,51,24,24,24,25,23,24,
|
||||
46,29,24,24,24,24,24,89,24,24,24,28,46,47,23,90,
|
||||
2,32,29,24,24,28,46,46,29,24,24,25,1,3,23,89,
|
||||
24,50,32,29,24,25,1,3,23,24,89,50,32,10,51,24
|
||||
</chunk>
|
||||
<chunk x="16" y="-16" width="16" height="16">
|
||||
24,24,24,24,90,24,89,24,89,24,50,51,89,24,24,24,
|
||||
24,28,29,28,29,24,24,24,24,28,29,24,24,24,28,29,
|
||||
24,25,23,50,51,24,24,28,29,50,51,24,24,24,25,45,
|
||||
90,50,51,28,29,24,24,25,23,24,24,28,29,24,50,3,
|
||||
24,24,28,10,51,90,90,50,51,24,24,50,51,24,24,50,
|
||||
24,24,25,45,29,24,28,29,24,24,24,24,24,28,29,24,
|
||||
90,24,50,2,51,28,10,51,90,24,28,29,24,25,45,46,
|
||||
29,90,24,24,24,50,51,24,24,28,10,32,46,10,3,1,
|
||||
32,29,24,90,24,24,24,24,28,47,23,50,2,51,50,51,
|
||||
25,23,24,24,28,46,46,46,47,114,45,29,24,24,24,24,
|
||||
50,32,29,24,50,3,111,111,115,111,1,32,29,24,24,24,
|
||||
24,50,51,24,28,10,2,2,2,2,32,10,51,24,24,89,
|
||||
24,24,89,90,25,23,24,24,24,24,50,32,46,46,29,89,
|
||||
24,24,24,90,25,23,89,24,28,29,90,50,2,2,51,24,
|
||||
24,24,24,28,10,51,24,28,47,45,29,24,24,24,24,24,
|
||||
24,24,24,25,23,24,90,50,2,2,32,46,46,46,46,46
|
||||
</chunk>
|
||||
<chunk x="-16" y="0" width="16" height="16">
|
||||
10,32,46,29,24,24,24,25,23,50,32,29,24,50,32,46,
|
||||
51,50,2,32,29,24,24,25,45,29,25,23,24,24,25,1,
|
||||
24,24,24,25,23,28,46,10,2,51,50,51,24,24,50,51,
|
||||
90,89,90,50,51,50,2,51,24,24,28,29,90,24,24,24,
|
||||
90,28,46,29,90,24,24,24,90,24,50,51,90,24,90,28,
|
||||
29,50,2,51,24,24,24,89,24,24,24,24,24,89,24,50,
|
||||
23,24,24,28,46,29,90,90,24,89,24,28,29,24,24,24,
|
||||
32,46,29,25,115,45,29,24,90,24,24,25,23,24,24,28,
|
||||
10,2,32,47,115,1,51,24,24,24,24,25,23,24,28,10,
|
||||
32,29,50,2,2,51,24,24,24,24,24,25,23,28,10,51,
|
||||
50,51,89,24,24,89,24,28,29,24,24,50,32,10,32,46,
|
||||
24,24,90,90,28,46,29,50,51,24,24,24,25,23,25,115,
|
||||
24,90,24,24,50,2,32,29,24,24,90,24,25,45,10,2,
|
||||
24,24,24,24,24,24,50,32,29,24,24,28,10,3,23,24,
|
||||
90,24,24,24,24,89,90,50,32,29,90,50,51,50,32,46,
|
||||
46,29,24,90,24,24,24,24,50,51,28,29,24,24,50,2
|
||||
</chunk>
|
||||
<chunk x="0" y="0" width="16" height="16">
|
||||
46,46,10,32,46,47,23,25,23,89,24,24,25,23,90,24,
|
||||
2,2,32,47,1,2,51,25,23,24,28,29,50,32,29,24,
|
||||
24,90,50,3,23,24,28,10,51,28,47,45,29,25,23,28,
|
||||
24,24,24,50,51,28,47,23,24,50,3,114,45,10,51,50,
|
||||
29,24,24,89,24,25,114,45,46,46,10,2,2,32,29,89,
|
||||
51,24,24,24,24,50,3,111,115,115,23,24,24,50,32,29,
|
||||
24,28,29,24,24,24,25,1,2,2,51,90,24,90,50,51,
|
||||
29,50,32,29,28,29,25,23,24,24,89,28,29,24,24,24,
|
||||
51,24,50,51,50,32,10,32,46,29,24,50,51,24,90,24,
|
||||
24,24,24,24,89,50,32,10,2,32,46,29,89,28,29,24,
|
||||
29,90,24,24,24,24,50,51,28,10,3,23,28,10,51,24,
|
||||
23,89,24,24,90,24,24,24,50,32,10,51,50,51,24,24,
|
||||
51,24,24,24,24,24,24,24,24,50,32,46,46,29,28,46,
|
||||
24,24,24,90,24,24,24,24,24,24,50,3,1,32,47,115,
|
||||
46,29,24,89,24,24,24,89,24,24,24,25,45,10,3,111,
|
||||
2,51,28,29,28,29,24,28,46,46,46,10,2,51,50,2
|
||||
</chunk>
|
||||
<chunk x="16" y="0" width="16" height="16">
|
||||
28,29,28,10,32,46,29,24,24,28,10,2,2,2,2,2,
|
||||
50,51,50,51,25,115,45,46,29,50,51,24,24,24,24,24,
|
||||
29,24,89,24,50,3,115,114,23,24,24,24,24,24,24,24,
|
||||
51,90,24,89,24,50,2,2,51,24,89,24,24,28,46,29,
|
||||
24,90,24,24,89,24,90,28,29,24,24,24,28,10,2,51,
|
||||
24,24,24,24,28,29,90,50,51,28,29,24,25,23,24,24,
|
||||
28,29,24,24,50,32,29,28,29,50,51,89,50,32,29,24,
|
||||
50,51,24,24,24,50,32,10,51,24,89,24,24,25,23,24,
|
||||
24,24,24,24,24,24,50,32,29,24,24,24,24,50,51,24,
|
||||
90,24,24,24,24,24,24,25,45,29,24,24,24,89,28,29,
|
||||
24,24,24,24,28,29,24,25,1,51,24,24,24,24,50,32,
|
||||
28,29,28,29,50,32,46,10,51,28,29,24,24,24,24,50,
|
||||
47,45,10,51,24,50,2,32,46,47,23,24,89,90,24,24,
|
||||
111,115,23,24,24,90,24,50,2,2,32,29,24,89,28,46,
|
||||
1,2,51,28,46,46,29,24,28,29,50,32,29,28,47,111,
|
||||
51,24,24,50,3,114,23,24,50,32,46,47,23,25,111,111
|
||||
</chunk>
|
||||
</data>
|
||||
</layer>
|
||||
</map>
|
168
ZoFo/Content/MapData/TileSets/TileSet 1.tsj
Normal file
|
@ -0,0 +1,168 @@
|
|||
{ "class":"Tile",
|
||||
"columns":22,
|
||||
"fillmode":"preserve-aspect-fit",
|
||||
"grid":
|
||||
{
|
||||
"height":24,
|
||||
"orientation":"orthogonal",
|
||||
"width":24
|
||||
},
|
||||
"image":"..\/..\/Textures\/TileSet\/TilesetFloor.png",
|
||||
"imageheight":832,
|
||||
"imagewidth":704,
|
||||
"margin":0,
|
||||
"name":"TileSet 1",
|
||||
"objectalignment":"topleft",
|
||||
"spacing":0,
|
||||
"tilecount":572,
|
||||
"tiledversion":"1.10.2",
|
||||
"tileheight":32,
|
||||
"tiles":[
|
||||
{
|
||||
"id":27,
|
||||
"probability":0.5
|
||||
},
|
||||
{
|
||||
"id":28,
|
||||
"probability":0.5
|
||||
},
|
||||
{
|
||||
"id":49,
|
||||
"probability":0.5
|
||||
},
|
||||
{
|
||||
"id":50,
|
||||
"probability":0.5
|
||||
},
|
||||
{
|
||||
"id":88,
|
||||
"probability":0.100000001490116
|
||||
},
|
||||
{
|
||||
"id":89,
|
||||
"probability":0.100000001490116
|
||||
},
|
||||
{
|
||||
"id":110,
|
||||
"probability":2
|
||||
},
|
||||
{
|
||||
"id":111,
|
||||
"probability":0.100000001490116
|
||||
},
|
||||
{
|
||||
"id":112,
|
||||
"probability":0.100000001490116
|
||||
}],
|
||||
"tilewidth":32,
|
||||
"type":"tileset",
|
||||
"version":"1.10",
|
||||
"wangsets":[
|
||||
{
|
||||
"colors":[
|
||||
{
|
||||
"color":"#ff0000",
|
||||
"name":"Sand",
|
||||
"probability":1,
|
||||
"tile":23
|
||||
},
|
||||
{
|
||||
"color":"#00ff00",
|
||||
"name":"SandStone",
|
||||
"probability":0.3,
|
||||
"tile":110
|
||||
}],
|
||||
"name":"\u041f\u0435\u0441\u0447\u0430\u043d\u044b\u0439",
|
||||
"tile":-1,
|
||||
"type":"corner",
|
||||
"wangtiles":[
|
||||
{
|
||||
"tileid":0,
|
||||
"wangid":[0, 2, 0, 1, 0, 2, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":1,
|
||||
"wangid":[0, 2, 0, 1, 0, 1, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":2,
|
||||
"wangid":[0, 2, 0, 2, 0, 1, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":9,
|
||||
"wangid":[0, 2, 0, 1, 0, 2, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":22,
|
||||
"wangid":[0, 1, 0, 1, 0, 2, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":23,
|
||||
"wangid":[0, 1, 0, 1, 0, 1, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":24,
|
||||
"wangid":[0, 2, 0, 2, 0, 1, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":27,
|
||||
"wangid":[0, 1, 0, 2, 0, 1, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":28,
|
||||
"wangid":[0, 1, 0, 1, 0, 2, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":31,
|
||||
"wangid":[0, 1, 0, 2, 0, 1, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":44,
|
||||
"wangid":[0, 1, 0, 2, 0, 2, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":45,
|
||||
"wangid":[0, 1, 0, 2, 0, 2, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":46,
|
||||
"wangid":[0, 2, 0, 2, 0, 2, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":49,
|
||||
"wangid":[0, 2, 0, 1, 0, 1, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":50,
|
||||
"wangid":[0, 1, 0, 1, 0, 1, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":88,
|
||||
"wangid":[0, 1, 0, 1, 0, 1, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":89,
|
||||
"wangid":[0, 1, 0, 1, 0, 1, 0, 1]
|
||||
},
|
||||
{
|
||||
"tileid":110,
|
||||
"wangid":[0, 2, 0, 2, 0, 2, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":111,
|
||||
"wangid":[0, 2, 0, 2, 0, 2, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":112,
|
||||
"wangid":[0, 2, 0, 2, 0, 2, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":113,
|
||||
"wangid":[0, 2, 0, 2, 0, 2, 0, 2]
|
||||
},
|
||||
{
|
||||
"tileid":114,
|
||||
"wangid":[0, 2, 0, 2, 0, 2, 0, 2]
|
||||
}]
|
||||
}]
|
||||
}
|
21
ZoFo/Content/MapData/TileSets/WallSet.tsj
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ "class":"StopObject",
|
||||
"columns":5,
|
||||
"grid":
|
||||
{
|
||||
"height":16,
|
||||
"orientation":"orthogonal",
|
||||
"width":16
|
||||
},
|
||||
"image":"..\/..\/Textures\/StopObjects\/Tilelist2.png",
|
||||
"imageheight":1302,
|
||||
"imagewidth":652,
|
||||
"margin":2,
|
||||
"name":"WallSet",
|
||||
"spacing":2,
|
||||
"tilecount":3240,
|
||||
"tiledversion":"1.10.2",
|
||||
"tileheight":128,
|
||||
"tilewidth":128,
|
||||
"type":"tileset",
|
||||
"version":"1.10"
|
||||
}
|
5
ZoFo/Content/MapData/TileSets/WallSet.tsx
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.10" tiledversion="1.10.2" name="WallSet" tilewidth="128" tileheight="128" spacing="2" margin="2" tilecount="3240" columns="5">
|
||||
<grid orientation="orthogonal" width="16" height="16"/>
|
||||
<image source="../../Textures/StopObjects/Tilelist2.png" width="652" height="1302"/>
|
||||
</tileset>
|
After Width: | Height: | Size: 1 MiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 1 MiB |
After Width: | Height: | Size: 1 MiB |
After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 3 MiB |
BIN
ZoFo/Content/Textures/AnimationTextures/unicorn.png
Normal file
After Width: | Height: | Size: 34 KiB |
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"id": "player_idle_top-right_noweapon",
|
||||
"textureName": "Textures/AnimationTextures/Character/hr-level1_idle",
|
||||
"startSpriteRectangle": {
|
||||
"X": 0,
|
||||
"Y": 116,
|
||||
"Width": 92,
|
||||
"Height": 116
|
||||
},
|
||||
"frameSecond": [
|
||||
{
|
||||
"Item1": 0,
|
||||
"Item2": 5
|
||||
}
|
||||
],
|
||||
"textureFrameInterval": 0,
|
||||
"framesCount": 22,
|
||||
"isCycle": true,
|
||||
"offset": "0, 0"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"id": "player_idle_top_noweapon",
|
||||
"textureName": "Textures/AnimationTextures/Character/hr-level1_idle",
|
||||
"startSpriteRectangle": {
|
||||
"X": 0,
|
||||
"Y": 0,
|
||||
"Width": 92,
|
||||
"Height": 116
|
||||
},
|
||||
"frameSecond": [
|
||||
{
|
||||
"Item1": 0,
|
||||
"Item2": 5
|
||||
}
|
||||
],
|
||||
"textureFrameInterval": 0,
|
||||
"framesCount": 22,
|
||||
"isCycle": true,
|
||||
"offset": "0, 0"
|
||||
}
|
20
ZoFo/Content/Textures/Animations/running_top.animation
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"id": "running_top",
|
||||
"textureName": "unicorn",
|
||||
"startSpriteRectangle": {
|
||||
"X": 0,
|
||||
"Y": 30,
|
||||
"Width": 30,
|
||||
"Height": 60
|
||||
},
|
||||
"frameSecond": [
|
||||
{
|
||||
"Item1": 0,
|
||||
"Item2": 2
|
||||
}
|
||||
],
|
||||
"textureFrameInterval": 1,
|
||||
"framesCount": 22,
|
||||
"isCycle": true,
|
||||
"offset": "0, 0"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
{"id":"testAnimationExample","textureName":"Textures/AnimationTextures/unicorn","startSpriteRectangle":{"X":0,"Y":0,"Width":400,"Height":400},"frameSecond":[{"Item1":0,"Item2":1}],"textureFrameInterval":1,"framesCount":1,"isCycle":true,"offset":"0, 0"}
|
BIN
ZoFo/Content/Textures/GUI/MenuBackground.jpg
Normal file
After Width: | Height: | Size: 592 KiB |
BIN
ZoFo/Content/Textures/GUI/Switch_backgrownd.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
ZoFo/Content/Textures/GUI/background/base.png
Normal file
After Width: | Height: | Size: 648 KiB |
BIN
ZoFo/Content/Textures/GUI/background/endGame.png
Normal file
After Width: | Height: | Size: 256 KiB |
BIN
ZoFo/Content/Textures/GUI/background/join.png
Normal file
After Width: | Height: | Size: 4.6 MiB |
BIN
ZoFo/Content/Textures/GUI/background/mainMenu.png
Normal file
After Width: | Height: | Size: 508 KiB |
BIN
ZoFo/Content/Textures/GUI/background/options.png
Normal file
After Width: | Height: | Size: 2.2 MiB |
BIN
ZoFo/Content/Textures/GUI/background/selectMode.png
Normal file
After Width: | Height: | Size: 5.8 MiB |
BIN
ZoFo/Content/Textures/GUI/background/waiting.png
Normal file
After Width: | Height: | Size: 148 KiB |
BIN
ZoFo/Content/Textures/GUI/checkboxs_off-on.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
ZoFo/Content/Textures/GUI/checkboxs_off.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
ZoFo/Content/Textures/GUI/checkboxs_on.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
ZoFo/Content/Textures/GUI/feature/i (1).webp
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
ZoFo/Content/Textures/GUI/feature/i (2).webp
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
ZoFo/Content/Textures/GUI/feature/i.webp
Normal file
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 11 KiB |
BIN
ZoFo/Content/Textures/GUI/mouse.png
Normal file
After Width: | Height: | Size: 234 KiB |
BIN
ZoFo/Content/Textures/GUI/switch.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 31 KiB |