|
  
|
|
|
#221 (permalink) |
|
Experienced Zuner
Join Date: May 2008
Posts: 110
Reputation: 9
|
How do I get those lines to go in the right spot?
Edit I get a whole bunch of errors when I copy and paste. edit2 maybe you could upload a zip file with the new code. that way we will know that it was done correctly. Last edited by ZuneMan4 : 05-26-2008 at 11:16 AM. |
|
|
|
|
|
#222 (permalink) | |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 975
Reputation: 119
|
I think i found it(hopefully)
ctrl+F to find this Quote:
Just redownload my originial v. 0.0.9ts and replace this so that nothing else will be changed ![]() |
|
|
|
|
|
|
#224 (permalink) | |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 975
Reputation: 119
|
Try replacing the bolded values with -3.0f
Quote:
![]() |
|
|
|
|
|
|
#230 (permalink) |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 975
Reputation: 119
|
Redownload
http://blcs.x10hosting.com/zBreak009TS.rar http://blcs.x10hosting.com/zBreak009TS.zip and try, i edited this ![]() |
|
|
|
|
|
#232 (permalink) |
|
Zuner
Join Date: Apr 2008
Location: Free Country, USA
Posts: 65
Reputation: 15
|
I replaced the touch code in the new version of zbreak with my tried and tested code.
![]() It works pretty well for me. Also included is a custom game thumbnail. Newer version available
__________________
MehStrongBadMeh - zB Junior Executive Of Not Having To Go On Pointless Business Trips Note: The viewpoint posted above does not necessarily reflect the opinion of MehStrongBadMeh (or does it?) Last edited by MehStrongBadMeh : 05-27-2008 at 02:02 PM. ![]() |
|
|
|
|
|
#234 (permalink) |
|
Zuner
Join Date: Apr 2008
Location: Free Country, USA
Posts: 65
Reputation: 15
|
Your welcome,
and Yes, actually I do know what was wrong. In your code you specify Code:
if (GamePad.GetState(PlayerIndex.One).ThumbSticks.Left.X > 0) But then an "else" is placed which refers to anything but touching the right side of the touchpad. This includes not touching the touch pad at all. To properly use this code you have to use Code:
else if (GamePad.GetState(PlayerIndex.One).ThumbSticks.Left.X < 0) But this coding is unnecessary as my code is bidirectional. ![]()
__________________
MehStrongBadMeh - zB Junior Executive Of Not Having To Go On Pointless Business Trips Note: The viewpoint posted above does not necessarily reflect the opinion of MehStrongBadMeh (or does it?) ![]() |
|
|
|
|
|
#236 (permalink) |
|
Zuner
Join Date: Apr 2008
Location: Free Country, USA
Posts: 65
Reputation: 15
|
That if statement is the only thing wrong. The rest of the code matches my zbreak008 mod's code with the addition of the pad size variable.
It is odd that it would only move left as it would be more likely to only move right if the code was wrong. ![]() You could try using my suggestion for your code in my previous post.
__________________
MehStrongBadMeh - zB Junior Executive Of Not Having To Go On Pointless Business Trips Note: The viewpoint posted above does not necessarily reflect the opinion of MehStrongBadMeh (or does it?) Last edited by MehStrongBadMeh : 05-26-2008 at 09:22 PM. ![]() |
|
|
|
|
|
#237 (permalink) |
|
Zune Guardian
|
Hey MehStrongBadMeh,
That ummmm Custom game thumbnail... Well I don't think you ever put it in. It's still the default XNA game symbol.
__________________
Invisible Text. =P To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#239 (permalink) |
|
Zuner
Join Date: Apr 2008
Location: Free Country, USA
Posts: 65
Reputation: 15
|
__________________
MehStrongBadMeh - zB Junior Executive Of Not Having To Go On Pointless Business Trips Note: The viewpoint posted above does not necessarily reflect the opinion of MehStrongBadMeh (or does it?) Last edited by MehStrongBadMeh : 05-26-2008 at 09:23 PM. ![]() |
|
|
|