axiosengine 

axiosengine Commit Details


Date:2012-05-15 23:10:39 (12 years 5 months ago)
Author:Natalie Adams
Branch:master
Commit:2786930250187805e91a794171eaa64d724c5f9e
Parents: b698503c7561363dc3007f84c8fc6da8ad3f373f
Message:Updating changelog Attempting to add center tracking of body

Changes:

File differences

axios/Axios_settings.cs
7878
7979
8080
81
8182
8283
8384
* - Modfying draw method in AxiosGameScreen to draw Gleed2D textures
* - Fixing path placement in Farseer
* - Moving base.draw to last in AxiosGameScreen to make sure Farseer debug information is visible
* - Removing old debugging code
*
*/
axios/ScreenSystem/Camera2D.cs
3030
3131
3232
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
3351
3452
3553
private Body _trackingBody;
private Vector2 _translateCenter;
private Matrix _view;
/*private Vector2 _viewCenter;
public Vector2 ViewCenter
{
get { return ConvertUnits.ToSimUnits(_viewCenter); }
set
{
_translateCenter = ConvertUnits.ToDisplayUnits(value);
Resize();
}
}
private void Resize()
{
_batchView = Matrix.CreateTranslation(new Vector3(-ViewCenter.X, -ViewCenter.Y, 0)) * Matrix.CreateScale(Zoom);
}*/
/// <summary>
/// The constructor for the Camera2D class.

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.07774s using 14 queries.