+ AxisHelper
~ Transformation can now set to be ignored. (Sending a Identity, when requested) ~ Changed how Meshes store Attributes
This commit is contained in:
parent
0895c600cf
commit
2e7051d800
14 changed files with 146 additions and 30 deletions
|
|
@ -8,6 +8,7 @@ using OpenTK.Graphics;
|
|||
using OpenTK.Input;
|
||||
using SM.Base;
|
||||
using SM.Base.Scene;
|
||||
using SM.Base.Textures;
|
||||
using SM.Base.Time;
|
||||
using SM.Utility;
|
||||
using SM2D;
|
||||
|
|
@ -46,16 +47,17 @@ namespace SM_TEST
|
|||
{
|
||||
if (Keyboard.GetState()[Key.R])
|
||||
particles.Trigger();
|
||||
particles.Paused = Keyboard.GetState()[Key.P];
|
||||
//particles.Paused = Keyboard.GetState()[Key.P];
|
||||
}
|
||||
|
||||
private static void WindowOnLoad(object sender, EventArgs e)
|
||||
{
|
||||
particles = new DrawParticles(TimeSpan.FromSeconds(5))
|
||||
{
|
||||
MaxSpeed = 10
|
||||
};
|
||||
window.CurrentScene.Objects.Add(particles);
|
||||
scene.ShowAxisHelper = true;
|
||||
|
||||
DrawObject2D kasten = new DrawObject2D();
|
||||
kasten.Transform.Size.Set(50,50);
|
||||
kasten.Texture = new Texture(new Bitmap("herosword.png"));
|
||||
scene.Objects.Add(kasten);
|
||||
|
||||
//particles.Trigger();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue