added class structure diagram.

This commit is contained in:
jme9
2025-03-05 11:43:01 -08:00
parent fff0c1fa65
commit 3251a3dfa6
4 changed files with 7 additions and 105 deletions
-2
View File
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram />
+2 -2
View File
@@ -81,7 +81,7 @@ namespace LunaLightXMG
base.Initialize(); base.Initialize();
CalculateRenderDestination(); CalculateRenderDestination();
// Play music // Play music
PlayBackgroundMusic(sinkBeats); // PlayBackgroundMusic(sinkBeats);
// Generate random platforms - test this idea out... // Generate random platforms - test this idea out...
platforms = PlatformGenerator.CreatePlatforms(numOfPlatforms); platforms = PlatformGenerator.CreatePlatforms(numOfPlatforms);
@@ -142,7 +142,7 @@ namespace LunaLightXMG
spriteBatch.Begin(samplerState: SamplerState.PointClamp); spriteBatch.Begin(samplerState: SamplerState.PointClamp);
// Debug Grid // Debug Grid
// spriteBatch.Draw(debugGrid, new Vector2(0, 0), Color.Blue); // spriteBatch.Draw(debugGrid, new Vector2(0, 0), Color.Blue);
spriteBatch.Draw(sinkArea, new Vector2(0, 0), Color.White); // spriteBatch.Draw(sinkArea, new Vector2(0, 0), Color.White);
// Test draw tiles // Test draw tiles
foreach (var platform in platforms) foreach (var platform in platforms)
-100
View File
@@ -1,100 +0,0 @@
<mxfile host="app.diagrams.net" modified="2024-05-27T18:27:23.034Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" etag="ZvDU9xKd1QvsDfzm1haJ" version="24.4.8" type="github">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1018" dy="604" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="zkfFHV4jXpPFQw0GAbJ--0" value="Game1.cs" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="37" y="160" width="160" height="216" as="geometry">
<mxRectangle x="37" y="160" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--1" value="spriteBatch;&#xa;graphics;&#xa;renderTarget;&#xa;&#xa;playerInput;&#xa;player;" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
<mxGeometry y="26" width="160" height="94" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--4" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
<mxGeometry y="120" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--5" value="playerInput.update();&#xa;player.update(playerInput);&#xa;" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
<mxGeometry y="128" width="160" height="88" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--6" value="Player.cs" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="37" y="440" width="160" height="138" as="geometry">
<mxRectangle x="130" y="380" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--7" value=".." style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--6" vertex="1">
<mxGeometry y="26" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--8" value=".." style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--6" vertex="1">
<mxGeometry y="52" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--9" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--6" vertex="1">
<mxGeometry y="78" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--10" value=".." style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontStyle=4" parent="zkfFHV4jXpPFQw0GAbJ--6" vertex="1">
<mxGeometry y="86" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--11" value=".." style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--6" vertex="1">
<mxGeometry y="112" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--13" value="Program.cs" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="37" y="40" width="160" height="88" as="geometry">
<mxRectangle x="340" y="380" width="170" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--14" value="Entry Point " style="text;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--13" vertex="1">
<mxGeometry y="26" width="160" height="24" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--15" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--13" vertex="1">
<mxGeometry y="50" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-1" value="&amp;nbsp;LunaLightXMG.Game1();" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="zkfFHV4jXpPFQw0GAbJ--13">
<mxGeometry y="58" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-3" value="PlayerInput.cs" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="254" y="440" width="160" height="138" as="geometry">
<mxRectangle x="130" y="380" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-4" value=".." style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="HZjLrHXf27cKtX03sT7r-3">
<mxGeometry y="26" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-5" value=".." style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" vertex="1" parent="HZjLrHXf27cKtX03sT7r-3">
<mxGeometry y="52" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-6" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="HZjLrHXf27cKtX03sT7r-3">
<mxGeometry y="78" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-7" value=".." style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontStyle=4" vertex="1" parent="HZjLrHXf27cKtX03sT7r-3">
<mxGeometry y="86" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-8" value=".." style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="HZjLrHXf27cKtX03sT7r-3">
<mxGeometry y="112" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-21" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--0" target="zkfFHV4jXpPFQw0GAbJ--13">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="260" y="260" as="sourcePoint" />
<mxPoint x="310" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-23" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="80" y="440" as="sourcePoint" />
<mxPoint x="80" y="376" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="HZjLrHXf27cKtX03sT7r-24" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.167;exitY=-0.003;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="HZjLrHXf27cKtX03sT7r-3">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="280" y="410" as="sourcePoint" />
<mxPoint x="160" y="376" as="targetPoint" />
<Array as="points">
<mxPoint x="280" y="410" />
<mxPoint x="160" y="410" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
+4
View File
@@ -3,3 +3,7 @@
A Sci-fi fantasy retro style platformer. Play as Ro and Ama, questing through the magical and treacherous realms of Uluna. An evil sorcerer has been harvesting the spirits of the forest for their own mechanisms of tyrrany! You must save the spirits of the forest and stop the evil sorcerer!!! Your adventures take you through dark woods and long forgotten temples to the highest castle towers atop the the tallest peaks of Uluna. A Sci-fi fantasy retro style platformer. Play as Ro and Ama, questing through the magical and treacherous realms of Uluna. An evil sorcerer has been harvesting the spirits of the forest for their own mechanisms of tyrrany! You must save the spirits of the forest and stop the evil sorcerer!!! Your adventures take you through dark woods and long forgotten temples to the highest castle towers atop the the tallest peaks of Uluna.
[![LunaLight - First Look](https://img.youtube.com/vi/J_KjVaEGNk4/0.jpg)](https://www.youtube.com/watch?v=J_KjVaEGNk4) [![LunaLight - First Look](https://img.youtube.com/vi/J_KjVaEGNk4/0.jpg)](https://www.youtube.com/watch?v=J_KjVaEGNk4)
## Current Testing Class Structure
<iframe width="768" height="432" src="https://miro.com/app/live-embed/uXjVIVEmSew=/?moveToViewport=-778,-412,1683,1239&embedId=807195012330" frameborder="0" scrolling="no" allow="fullscreen; clipboard-read; clipboard-write" allowfullscreen></iframe>