-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
1,179 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace MonoDreams.Examples; | ||
|
||
public static class Constants | ||
{ | ||
public static int WorldGravity => 1600; | ||
public static int JumpGravity => 1250; | ||
public static int JumpVelocity => -400; | ||
public static int JumpHVelocity => 300; | ||
public static int MaxWalkVelocity => 210; | ||
public static int MaxFallVelocity => 700; | ||
public static int SlidingVelocity => 120; | ||
|
||
public static int ScalingSpeed => 8; | ||
public static Point PlayerSize { get; } = new(10); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Source File,Dest File,Processor Type,Content Type,Source File Size,Dest File Size,Build Seconds | ||
"/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/Fonts/Kaph Regular White 80px Stroke Black 4px.fnt","/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/bin/Fonts/Kaph Regular White 80px Stroke Black 4px fnt.xnb","BitmapFontProcessor","BitmapFontProcessorResult",148748,42404,0,166241 | ||
"/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/Fonts/Kaph Regular White 80px Stroke Black 4px.png","/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/bin/Fonts/Kaph Regular White 80px Stroke Black 4px.xnb","TextureProcessor","Texture2DContent",2880493,19927381,0,832684 | ||
"/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/Fonts/Kaph Regular White 80px Stroke Black 4px.fnt","/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/bin/Fonts/Kaph Regular White 80px Stroke Black 4px fnt.xnb","BitmapFontProcessor","BitmapFontProcessorResult",148748,42404,0,147314 | ||
"/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/Fonts/Kaph Regular White 80px Stroke Black 4px.png","/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/bin/Fonts/Kaph Regular White 80px Stroke Black 4px.xnb","TextureProcessor","Texture2DContent",2880493,19927381,0,704272 | ||
"/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/square.png","/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/bin/square.xnb","TextureProcessor","Texture2DContent",157,89,0,001992 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...obj/DesktopGL/net8.0/Content/Fonts/Kaph Regular White 80px Stroke Black 4px fnt.mgcontent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ent/obj/DesktopGL/net8.0/Content/Fonts/Kaph Regular White 80px Stroke Black 4px.mgcontent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
MonoDreams.Examples/Content/obj/DesktopGL/net8.0/Content/square.mgcontent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PipelineBuildEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<SourceFile>/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/square.png</SourceFile> | ||
<SourceTime>2024-08-16T23:10:19.3950982-03:00</SourceTime> | ||
<DestFile>/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/bin/DesktopGL/Content/square.xnb</DestFile> | ||
<DestTime>2024-09-14T16:10:58.2382248-03:00</DestTime> | ||
<Importer>TextureImporter</Importer> | ||
<ImporterTime>2022-07-26T08:44:56-03:00</ImporterTime> | ||
<Processor>TextureProcessor</Processor> | ||
<ProcessorTime>2022-07-26T08:44:56-03:00</ProcessorTime> | ||
<Parameters> | ||
<Key>ColorKeyColor</Key> | ||
<Value>255,0,255,255</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>ColorKeyEnabled</Key> | ||
<Value>True</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>GenerateMipmaps</Key> | ||
<Value>False</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>PremultiplyAlpha</Key> | ||
<Value>True</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>ResizeToPowerOfTwo</Key> | ||
<Value>False</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>MakeSquare</Key> | ||
<Value>False</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>TextureFormat</Key> | ||
<Value>Color</Value> | ||
</Parameters> | ||
<Dependencies /> | ||
<BuildAsset /> | ||
<BuildOutput /> | ||
</PipelineBuildEvent> |
4 changes: 2 additions & 2 deletions
4
MonoDreams.Examples/Content/obj/Fonts/Kaph Regular White 80px Stroke Black 4px fnt.mgcontent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
MonoDreams.Examples/Content/obj/Fonts/Kaph Regular White 80px Stroke Black 4px.mgcontent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PipelineBuildEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<SourceFile>/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/square.png</SourceFile> | ||
<SourceTime>2024-08-16T23:10:19.3950982-03:00</SourceTime> | ||
<DestFile>/Users/rodrigooliveira/git/allrod5/monodreams/MonoDreams.Examples/Content/bin/square.xnb</DestFile> | ||
<DestTime>2024-09-14T16:10:47.5727213-03:00</DestTime> | ||
<Importer>TextureImporter</Importer> | ||
<ImporterTime>2022-07-26T08:44:56-03:00</ImporterTime> | ||
<Processor>TextureProcessor</Processor> | ||
<ProcessorTime>2022-07-26T08:44:56-03:00</ProcessorTime> | ||
<Parameters> | ||
<Key>ColorKeyColor</Key> | ||
<Value>255,0,255,255</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>ColorKeyEnabled</Key> | ||
<Value>True</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>GenerateMipmaps</Key> | ||
<Value>False</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>PremultiplyAlpha</Key> | ||
<Value>True</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>ResizeToPowerOfTwo</Key> | ||
<Value>False</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>MakeSquare</Key> | ||
<Value>False</Value> | ||
</Parameters> | ||
<Parameters> | ||
<Key>TextureFormat</Key> | ||
<Value>Color</Value> | ||
</Parameters> | ||
<Dependencies /> | ||
<BuildAsset /> | ||
<BuildOutput /> | ||
</PipelineBuildEvent> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using MonoDreams.Input; | ||
|
||
namespace MonoDreams.Examples.Input; | ||
|
||
public class InputState() : AInputState(0.5f) | ||
{ | ||
public static readonly InputState Up = new(); | ||
public static readonly InputState Down = new(); | ||
public static readonly InputState Left = new(); | ||
public static readonly InputState Right = new(); | ||
public static readonly InputState Jump = new(); | ||
public static readonly InputState Grab = new(); | ||
public static readonly InputState Exit = new(); | ||
} |
Oops, something went wrong.