mirror of
https://github.com/TheRavenwoodArts/LunaLightXMG.git
synced 2026-07-30 22:55:03 -07:00
Ultra minor updates. Added an notes folder.
This commit is contained in:
@@ -361,3 +361,6 @@ MigrationBackup/
|
|||||||
|
|
||||||
# Fody - auto-generated XML schema
|
# Fody - auto-generated XML schema
|
||||||
FodyWeavers.xsd
|
FodyWeavers.xsd
|
||||||
|
|
||||||
|
# vscode history
|
||||||
|
.history/
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
|||||||
|
|
||||||
namespace LunaLightXMG
|
namespace LunaLightXMG
|
||||||
{
|
{
|
||||||
public class Game1 : Game
|
public class LunaLightGame : Game
|
||||||
{
|
{
|
||||||
// Class Objects
|
// Class Objects
|
||||||
private Player player;
|
private Player player;
|
||||||
@@ -21,6 +21,8 @@ namespace LunaLightXMG
|
|||||||
// Native retro scale
|
// Native retro scale
|
||||||
private int retroWidth = 320;
|
private int retroWidth = 320;
|
||||||
private int retroHeight = 180;
|
private int retroHeight = 180;
|
||||||
|
// private int retroWidth = 480;
|
||||||
|
// private int retroHeight = 270;
|
||||||
|
|
||||||
// Test Render Target
|
// Test Render Target
|
||||||
private RenderTarget2D renderTarget;
|
private RenderTarget2D renderTarget;
|
||||||
@@ -46,7 +48,7 @@ namespace LunaLightXMG
|
|||||||
// Utility
|
// Utility
|
||||||
private static Random random;
|
private static Random random;
|
||||||
|
|
||||||
public Game1()
|
public LunaLightGame()
|
||||||
{
|
{
|
||||||
graphics = new GraphicsDeviceManager(this);
|
graphics = new GraphicsDeviceManager(this);
|
||||||
Content.RootDirectory = "Content";
|
Content.RootDirectory = "Content";
|
||||||
@@ -173,7 +175,7 @@ namespace LunaLightXMG
|
|||||||
base.Draw(gameTime);
|
base.Draw(gameTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Method Implementation -------------------------------------------------------------------------------
|
#region Methods
|
||||||
private List<Enemy> SpawnEnemies(int numberOfEnemies) {
|
private List<Enemy> SpawnEnemies(int numberOfEnemies) {
|
||||||
List<Enemy> enemies = new List<Enemy>();
|
List<Enemy> enemies = new List<Enemy>();
|
||||||
for (int i = 0; i < numberOfEnemies; i++)
|
for (int i = 0; i < numberOfEnemies; i++)
|
||||||
@@ -260,5 +262,7 @@ namespace LunaLightXMG
|
|||||||
// Regenerate platforms
|
// Regenerate platforms
|
||||||
platforms = PlatformGenerator.CreatePlatforms(numOfPlatforms);
|
platforms = PlatformGenerator.CreatePlatforms(numOfPlatforms);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
using var game = new LunaLightXMG.Game1();
|
using var game = new LunaLightXMG.LunaLightGame();
|
||||||
game.Run();
|
game.Run();
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
## March 15th, 2025 - JME
|
||||||
|
|
||||||
|
Currentlly the camera is static, or non-existtent really.. we need to create a camera class that handles creating and managing a viewport that follows the player wihin the level.
|
||||||
|
|
||||||
|
- If the level is the same size as te viewport then the camera is static.
|
||||||
|
|
||||||
|
- We also want to have a zoom capability that zooms between 320x180 and 480x270. The current view is 320x180.
|
||||||
|
|
||||||
|
- We should be able to use a lot of the code from LunaLightGML however we will need to create the class objects and restructure to work with MonoGame.
|
||||||
|
|
||||||
Reference in New Issue
Block a user