AxiosEngine-old 

AxiosEngine-old Commit Details


Date:2012-05-15 23:10:00 (12 years 7 months ago)
Author:Natalie Adams
Branch:default
Commit:9eba0a9fdb52
Parents: 615b02202bfe
Message:Updating changelog

Attempting to add center tracking of body
Changes:
Maxios/Axios_settings.cs (1 diff)
Maxios/ScreenSystem/Camera2D.cs (1 diff)

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

Page rendered in 0.46989s using 14 queries.