├── .gitignore ├── .gitmodules ├── Platformer2D.sln ├── Platformer2D ├── App.cs ├── Content │ ├── Backgrounds │ │ ├── Layer0_0.png │ │ ├── Layer0_1.png │ │ ├── Layer0_2.png │ │ ├── Layer1_0.png │ │ ├── Layer1_1.png │ │ ├── Layer1_2.png │ │ ├── Layer2_0.png │ │ ├── Layer2_1.png │ │ └── Layer2_2.png │ ├── Fonts │ │ └── Hud.spritefont │ ├── Levels │ │ ├── 0.txt │ │ ├── 1.txt │ │ └── 2.txt │ ├── Overlays │ │ ├── you_died.png │ │ ├── you_lose.png │ │ └── you_win.png │ ├── Pixel.png │ ├── Platformer2D.mgcb │ ├── Sounds │ │ ├── ExitReached.wav │ │ ├── GemCollected.wav │ │ ├── MonsterKilled.wav │ │ ├── Music.wma │ │ ├── PlayerFall.wav │ │ ├── PlayerJump.wav │ │ ├── PlayerKilled.wav │ │ └── Powerup.wav │ ├── Sprites │ │ ├── Gem.png │ │ ├── Monster0 │ │ │ ├── Idle.png │ │ │ └── Run.png │ │ ├── Monster1 │ │ │ ├── Idle.png │ │ │ └── Run.png │ │ ├── Monster2 │ │ │ ├── Idle.png │ │ │ └── Run.png │ │ ├── Monster3 │ │ │ ├── Idle.png │ │ │ └── Run.png │ │ ├── Player │ │ │ ├── Celebrate.png │ │ │ ├── Die.png │ │ │ ├── Idle.png │ │ │ ├── Jump.png │ │ │ └── Run.png │ │ └── VirtualControlArrow.png │ └── Tiles │ │ ├── BlockA0.png │ │ ├── BlockA1.png │ │ ├── BlockA2.png │ │ ├── BlockA3.png │ │ ├── BlockA4.png │ │ ├── BlockA5.png │ │ ├── BlockA6.png │ │ ├── BlockB0.png │ │ ├── BlockB1.png │ │ ├── Exit.png │ │ └── Platform.png ├── Game.cs ├── Game │ ├── Accelerometer.cs │ ├── Animation.cs │ ├── AnimationPlayer.cs │ ├── Circle.cs │ ├── Enemy.cs │ ├── Gem.cs │ ├── Level.cs │ ├── Player.cs │ ├── RectangleExtensions.cs │ ├── Tile.cs │ ├── TouchCollectionExtensions.cs │ └── VirtualGamePad.cs ├── GameContent.cs ├── Platformer2D.csproj ├── bridge.json └── index.html └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/.gitmodules -------------------------------------------------------------------------------- /Platformer2D.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D.sln -------------------------------------------------------------------------------- /Platformer2D/App.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/App.cs -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer0_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer0_0.png -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer0_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer0_1.png -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer0_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer0_2.png -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer1_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer1_0.png -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer1_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer1_1.png -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer1_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer1_2.png -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer2_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer2_0.png -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer2_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer2_1.png -------------------------------------------------------------------------------- /Platformer2D/Content/Backgrounds/Layer2_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Backgrounds/Layer2_2.png -------------------------------------------------------------------------------- /Platformer2D/Content/Fonts/Hud.spritefont: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Fonts/Hud.spritefont -------------------------------------------------------------------------------- /Platformer2D/Content/Levels/0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Levels/0.txt -------------------------------------------------------------------------------- /Platformer2D/Content/Levels/1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Levels/1.txt -------------------------------------------------------------------------------- /Platformer2D/Content/Levels/2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Levels/2.txt -------------------------------------------------------------------------------- /Platformer2D/Content/Overlays/you_died.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Overlays/you_died.png -------------------------------------------------------------------------------- /Platformer2D/Content/Overlays/you_lose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Overlays/you_lose.png -------------------------------------------------------------------------------- /Platformer2D/Content/Overlays/you_win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Overlays/you_win.png -------------------------------------------------------------------------------- /Platformer2D/Content/Pixel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Pixel.png -------------------------------------------------------------------------------- /Platformer2D/Content/Platformer2D.mgcb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Platformer2D.mgcb -------------------------------------------------------------------------------- /Platformer2D/Content/Sounds/ExitReached.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sounds/ExitReached.wav -------------------------------------------------------------------------------- /Platformer2D/Content/Sounds/GemCollected.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sounds/GemCollected.wav -------------------------------------------------------------------------------- /Platformer2D/Content/Sounds/MonsterKilled.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sounds/MonsterKilled.wav -------------------------------------------------------------------------------- /Platformer2D/Content/Sounds/Music.wma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sounds/Music.wma -------------------------------------------------------------------------------- /Platformer2D/Content/Sounds/PlayerFall.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sounds/PlayerFall.wav -------------------------------------------------------------------------------- /Platformer2D/Content/Sounds/PlayerJump.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sounds/PlayerJump.wav -------------------------------------------------------------------------------- /Platformer2D/Content/Sounds/PlayerKilled.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sounds/PlayerKilled.wav -------------------------------------------------------------------------------- /Platformer2D/Content/Sounds/Powerup.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sounds/Powerup.wav -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Gem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Gem.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Monster0/Idle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Monster0/Idle.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Monster0/Run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Monster0/Run.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Monster1/Idle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Monster1/Idle.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Monster1/Run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Monster1/Run.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Monster2/Idle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Monster2/Idle.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Monster2/Run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Monster2/Run.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Monster3/Idle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Monster3/Idle.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Monster3/Run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Monster3/Run.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Player/Celebrate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Player/Celebrate.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Player/Die.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Player/Die.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Player/Idle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Player/Idle.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Player/Jump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Player/Jump.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/Player/Run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/Player/Run.png -------------------------------------------------------------------------------- /Platformer2D/Content/Sprites/VirtualControlArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Sprites/VirtualControlArrow.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockA0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockA0.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockA1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockA1.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockA2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockA2.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockA3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockA3.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockA4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockA4.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockA5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockA5.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockA6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockA6.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockB0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockB0.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/BlockB1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/BlockB1.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/Exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/Exit.png -------------------------------------------------------------------------------- /Platformer2D/Content/Tiles/Platform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Content/Tiles/Platform.png -------------------------------------------------------------------------------- /Platformer2D/Game.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game.cs -------------------------------------------------------------------------------- /Platformer2D/Game/Accelerometer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/Accelerometer.cs -------------------------------------------------------------------------------- /Platformer2D/Game/Animation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/Animation.cs -------------------------------------------------------------------------------- /Platformer2D/Game/AnimationPlayer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/AnimationPlayer.cs -------------------------------------------------------------------------------- /Platformer2D/Game/Circle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/Circle.cs -------------------------------------------------------------------------------- /Platformer2D/Game/Enemy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/Enemy.cs -------------------------------------------------------------------------------- /Platformer2D/Game/Gem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/Gem.cs -------------------------------------------------------------------------------- /Platformer2D/Game/Level.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/Level.cs -------------------------------------------------------------------------------- /Platformer2D/Game/Player.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/Player.cs -------------------------------------------------------------------------------- /Platformer2D/Game/RectangleExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/RectangleExtensions.cs -------------------------------------------------------------------------------- /Platformer2D/Game/Tile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/Tile.cs -------------------------------------------------------------------------------- /Platformer2D/Game/TouchCollectionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/TouchCollectionExtensions.cs -------------------------------------------------------------------------------- /Platformer2D/Game/VirtualGamePad.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Game/VirtualGamePad.cs -------------------------------------------------------------------------------- /Platformer2D/GameContent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/GameContent.cs -------------------------------------------------------------------------------- /Platformer2D/Platformer2D.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/Platformer2D.csproj -------------------------------------------------------------------------------- /Platformer2D/bridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/bridge.json -------------------------------------------------------------------------------- /Platformer2D/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/Platformer2D/index.html -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MonoGame/MonoGame.WebDemo/HEAD/README.md --------------------------------------------------------------------------------