diff -r e0b99058d10d1f07e5b6ef46647e075a9feb32cf -r 6fe30e201b0cf7c9a67525ee05c51f9618104117 axios_tennis/axios_tennis/Objects/Ball.cs --- a/axios_tennis/axios_tennis/Objects/Ball.cs Thu May 31 22:57:40 2012 -0500 +++ b/axios_tennis/axios_tennis/Objects/Ball.cs Wed Nov 21 00:30:10 2012 -0600 @@ -19,13 +19,13 @@ public Ball(Vector2 position) { this.Position = position; - + AllowAutomaticMouseJoint = true; } public override void LoadContent(AxiosGameScreen gameScreen) { base.LoadContent(gameScreen); - this.ConstantVelocity = new Vector2(7f, 7f); + this.ConstantVelocity = new Vector2(7f, 0f); this.Texture = gameScreen.ScreenManager.Game.Content.Load("ball"); this.Origin = new Vector2(this.Texture.Width / 2, this.Texture.Height / 2); this.BodyPart = BodyFactory.CreateCircle(gameScreen.World, ConvertUnits.ToSimUnits(this.Texture.Width / 2), 1f); @@ -74,7 +74,7 @@ public void ResetBall() { this.ApplyConstantVelocity = false; - ConstantVelocity = new Vector2(7f, 7f); + ConstantVelocity = new Vector2(7f, 0f); this.BodyPart.Position = Vector2.Zero; this.BodyPart.LinearVelocity = Vector2.Zero; BodyPart.AngularVelocity = 0f; diff -r e0b99058d10d1f07e5b6ef46647e075a9feb32cf -r 6fe30e201b0cf7c9a67525ee05c51f9618104117 axios_tennis/axios_tennis/TennisScreen.cs --- a/axios_tennis/axios_tennis/TennisScreen.cs Thu May 31 22:57:40 2012 -0500 +++ b/axios_tennis/axios_tennis/TennisScreen.cs Wed Nov 21 00:30:10 2012 -0600 @@ -3,15 +3,14 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Axios.Engine.Extensions; -using Axios.Engine.UI; -using Axios; using System; using GameStateManagement; using Microsoft.Xna.Framework.Input; -using Microsoft.Xna.Framework.Input.Touch; +using Axios.Engine.UI; namespace axios_tennis { +#if WINDOWS class GameConsole : AxiosCommandConsole { public GameConsole(AxiosGameScreen gameScreen) @@ -43,6 +42,7 @@ base.LoadContent(); } } +#endif class TennisScreen : AxiosGameScreen { private Ball _ball; @@ -116,7 +116,9 @@ AddGameObject(_ppaddle); AddGameObject(_border); AddGameObject(_ball); +#if WINDOWS AddGameObject(new GameConsole(this)); +#endif } void b_MouseDown(object sender, AxiosGameScreen gameScreen, InputState input)