05-26-2008, 10:20 AM
#201 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
yes it is still running
Edit
Should we start over?
05-26-2008, 10:24 AM
#202 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Yea, click on the red circle and it should disappear, then exit the game, then click "play" button at the top of XNA, start a level and instead of getting it stuck now press to make the red circle, and try moving around with the touch pad
05-26-2008, 10:28 AM
#203 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
Hey it worked that time here is what the box said
110.0
Does that sound right?
05-26-2008, 10:30 AM
#204 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Ok good, now unclick the red circle but dont exit the game, press the same "play" button and your game should resume, get your paddle stuck now and click to make the red circle and try moving around with the touchpad
05-26-2008, 10:32 AM
#205 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
Ok, I did that.
05-26-2008, 10:34 AM
#206 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Did it not pause again?
05-26-2008, 10:34 AM
#207 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
No it didn't.
05-26-2008, 10:39 AM
#208 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Ok try this, in these 2 lines
Quote:
pPosition.X += MathHelper.Min(GamePad.GetState(PlayerIndex.One).T humbSticks.Left.X * 3.0f, 3.0f);
if (!gameStarted)
bPosition.X += MathHelper.Min(GamePad.GetState(PlayerIndex.One).T humbSticks.Left.X * 3.0f, 3.0f);
Replace the 3.0f with 2.0f where ever you see them and see if it gets stuck, you dont have to set the red circle for this
05-26-2008, 10:40 AM
#209 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
should I start the game over?
Edit
Just in that line or both lines?
Edit again
Never mind
Last edited by ZuneMan4; 05-26-2008 at 10:42 AM .
05-26-2008, 10:41 AM
#210 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Yes, it wont let you edit the code while the game is playing
05-26-2008, 10:45 AM
#211 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
Ya it got stuck again, should i have saved it before playing?
05-26-2008, 10:47 AM
#212 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
No it saves it when you click the play button. Hmm...
05-26-2008, 10:50 AM
#213 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
Hey, I can keep helping you (or lack there of) for a little bit longer, otherwise I have to go in a little bit. I will check back in later, just
PM me if you need help.
If you have anymore ideas right now I can help.
05-26-2008, 10:53 AM
#214 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Try replacing the bolded values to 0f
Code:
pPosition.X += MathHelper.Min(GamePad.GetState(PlayerIndex.One).ThumbSticks.Left.X * 3.0f, 3.0f );
if (!gameStarted)
bPosition.X += MathHelper.Min(GamePad.GetState(PlayerIndex.One).ThumbSticks.Left.X * 3.0f, 3.0f );
05-26-2008, 10:55 AM
#215 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
Should I keep the other ones at 2.0f or change them back to 3.0f?
Edit:
0f and not 0.0f?
05-26-2008, 10:58 AM
#216 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Keep the others at 2.0f, it can jsut be 0f
05-26-2008, 10:59 AM
#217 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
Should I play the game now?
05-26-2008, 11:00 AM
#218 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Yea, try playing
05-26-2008, 11:03 AM
#219 (permalink )
Experienced Zuner
Join Date: May 2008
Posts: 110
It got stuck again
05-26-2008, 11:07 AM
#220 (permalink )
Experienced Member
Join Date: Mar 2007
Posts: 976
Ok one last try before you go, replace those 2 lines with this
Quote:
if (GamePad.GetState(PlayerIndex.One).ThumbSticks.Lef t.X != 0)
{
pPosition.X += MathHelper.Min(GamePad.GetState(PlayerIndex.One).T humbSticks.Left.X * 3.0f, 3.0f);
if (!gameStarted)
bPosition.X += MathHelper.Min(GamePad.GetState(PlayerIndex.One).T humbSticks.Left.X * 3.0f, 3.0f);
}