28.10.2020
SM.Core: + Particle System + scriptable system for scripts ~ Moved Texts- and Particles-namespace to SM.Base.Drawing ~ Changed how you tell the stopwatch to pause. (From method to property) ~ Fixed Randomize.GetFloat(min, max) ~ Now automaticly adds the DrawingBase.Transformation to DrawContext.ModelMatrix. No need to change DrawContext.Instances[0], anymore. SM.OGL: + "one-file-shader"-support SM2D: + DrawParticles (Control for Texture and Color not there yet) ~ Changed coordnate system to upper-right as (1,1) ~ Changed default shader to "one-file-shader"
This commit is contained in:
parent
03b3942732
commit
beb9c19081
45 changed files with 580 additions and 190 deletions
|
|
@ -13,6 +13,8 @@ namespace SM.Base.Scene
|
|||
/// </summary>
|
||||
public abstract class GenericScene
|
||||
{
|
||||
|
||||
|
||||
private IBackgroundItem _background;
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -27,6 +29,9 @@ namespace SM.Base.Scene
|
|||
_background = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// If true, the scene was already initialized.
|
||||
/// </summary>
|
||||
public bool IsInitialized { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -137,7 +142,6 @@ namespace SM.Base.Scene
|
|||
/// <inheritdoc />
|
||||
public override void Update(UpdateContext context)
|
||||
{
|
||||
_Background?.Update(context);
|
||||
_objectCollection.Update(context);
|
||||
_hud.Update(context);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue