Advertisement



Go Back   Zune Boards > Zune Discussions > Zune Games > Download Completed Games

New Member?



 
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools
Old 05-22-2008, 02:29 PM   #41 (permalink)
Jr. Zuner
 
8007859's Avatar
 
Join Date: Mar 2008
Posts: 33
Reputation: 9
Default


zune 30 controlls please







8007859 is offline   Reply With Quote
Old 05-22-2008, 03:09 PM   #42 (permalink)
Zuner
 
Join Date: May 2008
Posts: 56
Reputation: 27
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
Default

How To: Zune 30 Controls.

(sorry for not doing this myself, I don't have a zune right now so if i wrote it i couldn't test it).

In the file \Systems - Managers\InputWrapper.cs line 19 to 30 where it says:
Code:
public struct ThumbStick
   {
      public float X;
      public float Y;
      public void Update(Vector2 vector)
      {
          X = vector.X;
          Y = vector.Y;
          // ADD your custom logic here
      }
   }
This is not the ideal situation, however it should let people who have a Zune 30 play the game.

The code should be something along the lines of:

Code:
if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.[Direction] == Microsoft.Xna.Framework.Input.ButtonState.Pressed)
{
    X or Y = 1 or -1; depending on which button
}
Hope this helps, sorry I can't impliment it and more importantly test it myself right now. Whoever impliments it (after testing it) feel free to submit a patch to the project.



Pauliver is offline   Reply With Quote
Old 05-22-2008, 03:27 PM   #43 (permalink)
Jr. Member
 
Link9228's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 389
Reputation: 25
Send a message via MSN to Link9228
Default

Well, I just added that, and now i'll test it out. I will let everyone know how it goes.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Link9228 is offline   Reply With Quote
Old 05-22-2008, 03:39 PM   #44 (permalink)
Support Team
Expert Zuner
 
soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 2,928
Reputation: 189
Default

Sweet, zune 30 controls. I'll try and get em in now.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.





soccerfreak24 is offline   Reply With Quote
Old 05-22-2008, 03:58 PM   #45 (permalink)
Jr. Member
 
Link9228's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 389
Reputation: 25
Send a message via MSN to Link9228
Default

well, i added all of that code and it works pretty well
I don't see any need to do it differently, I mean it does everything that the d-pad should do. You don't need to worry about sensitivity like you do for touch or anything.

add this to the area stated by Pauliver
Code:
if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.Down == Microsoft.Xna.Framework.Input.ButtonState.Pressed)
                {
                    Y -=1;
                }
                if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.Up == ButtonState.Pressed)
                {
                    Y += 1;
                }
                if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.Left == ButtonState.Pressed)
                {
                    X -= 1;
                }
                if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.Right == ButtonState.Pressed)
                {
                    X += 1;
                }
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Link9228 is offline   Reply With Quote
Old 05-22-2008, 04:26 PM   #46 (permalink)
It's a trap!
GFX Crew
Graduate Zuner
 
Tobososlow's Avatar
 
Join Date: Nov 2007
Location: In a hypocritical world
Posts: 1,454
Reputation: 231
Default

That would be excellent if I knew exactly where to place it.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Tobososlow is offline   Reply With Quote
Old 05-22-2008, 04:28 PM   #47 (permalink)
Experienced Zuner
 
ChrisV1's Avatar
 
Join Date: May 2007
Posts: 147
Reputation: 33
Send a message via Skype™ to ChrisV1
Default

Is there any chance of adding AI support?





ChrisV1 is offline   Reply With Quote
Old 05-22-2008, 04:36 PM   #48 (permalink)
Jr. Member
 
Link9228's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 389
Reputation: 25
Send a message via MSN to Link9228
Default

Quote:
Originally Posted by Tobososlow View Post
That would be excellent if I knew exactly where to place it.

Go to the Systems - Managers folder. under that is inputwrapper.cs. Open that

Expand the region PINPUT near the top. under that you'll find the public Struct Thumbstick, and under that is the update, add that code to the update method
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Link9228 is offline   Reply With Quote
Old 05-22-2008, 04:39 PM   #49 (permalink)
Experienced Zuner
 
Death's Avatar
 
Join Date: Dec 2007
Posts: 130
Reputation: 19
Default

ima gonna try for 30 gb release
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Death is online now   Reply With Quote
Old 05-22-2008, 04:52 PM   #50 (permalink)
It's a trap!
GFX Crew
Graduate Zuner
 
Tobososlow's Avatar
 
Join Date: Nov 2007
Location: In a hypocritical world
Posts: 1,454
Reputation: 231
Default

Quote:
Originally Posted by Link9228 View Post
Go to the Systems - Managers folder. under that is inputwrapper.cs. Open that

Expand the region PINPUT near the top. under that you'll find the public Struct Thumbstick, and under that is the update, add that code to the update method
Thanks! That's what I was looking for.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Tobososlow is offline   Reply With Quote
Old 05-22-2008, 04:53 PM   #51 (permalink)
Jr. Member
 
Link9228's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 389
Reputation: 25
Send a message via MSN to Link9228
Default

No problem, glad to help, i would just upload it, but there's little point when it's just like 8 lines of code.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Link9228 is offline   Reply With Quote
Old 05-22-2008, 05:08 PM   #52 (permalink)
Squirt
 
Join Date: Jul 2007
Posts: 14
Reputation: 11
Default

Please post the zune 30 package
Having a bit of errors with the code



mojo is offline   Reply With Quote
Old 05-22-2008, 05:17 PM   #53 (permalink)
Jr. Member
 
Link9228's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 389
Reputation: 25
Send a message via MSN to Link9228
Default

Ok, this is a link to the z30 fixed controls... and pauliver, let me know when you get an update, i'll remove this link.

http://files.filefront.com/wormsrar/.../fileinfo.html
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Link9228 is offline   Reply With Quote
Old 05-22-2008, 05:19 PM   #54 (permalink)
Experienced Zuner
 
miceylulu's Avatar
 
Join Date: May 2008
Posts: 154
Reputation: 11
Default

Quote:
Originally Posted by mojo View Post
Please post the zune 30 package
Having a bit of errors with the code
Me too, I feel like a retard and can't get it to work.




miceylulu is offline   Reply With Quote
Old 05-22-2008, 05:22 PM   #55 (permalink)
Jr. Member
 
Link9228's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 389
Reputation: 25
Send a message via MSN to Link9228
Default

Quote:
Originally Posted by miceylulu View Post
Me too, I feel like a retard and can't get it to work.
I posted the link, it's right above your post.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Link9228 is offline   Reply With Quote
Old 05-22-2008, 05:34 PM   #56 (permalink)
Experienced Zuner
 
DareckT's Avatar
 
Join Date: May 2008
Posts: 127
Reputation: 10
Default

Whoa, this is a huuuge advancement over the last version. And kudos to Arthur also, the art is really sweet. Amazing game man can't wait until the wireless multiplayer, and all of that other good stuff gets put in

Last edited by DareckT : 05-22-2008 at 05:41 PM.




DareckT is offline   Reply With Quote
Old 05-22-2008, 05:42 PM   #57 (permalink)
Jr. Member
 
Link9228's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 389
Reputation: 25
Send a message via MSN to Link9228
Default

Me either, this will be a sweet 2 v 2 for when you're bored... i can't wait for the future of zune games... if we could get an rpg with coop that would be so amazingly fun... just 2 people playing an rpg wirelessly....
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Link9228 is offline   Reply With Quote
Old 05-22-2008, 06:17 PM   #58 (permalink)
Squirt
 
Join Date: Sep 2007
Posts: 18
Reputation: 10
Default

Wow nice game

we just need bot support and an auto end button this game could be a time waster for sure
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



Thekirby45 is offline   Reply With Quote
Old 05-22-2008, 06:20 PM   #59 (permalink)
Support Team
Expert Zuner
 
soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 2,928
Reputation: 189
Default

Wow, this game is a lot funner when you can move!! And btw, we need a way to end turns.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.





soccerfreak24 is offline   Reply With Quote
Old 05-22-2008, 06:35 PM   #60 (permalink)
Experienced Zuner
 
miceylulu's Avatar
 
Join Date: May 2008
Posts: 154
Reputation: 11
Default

Quote:
Originally Posted by Link9228 View Post
I posted the link, it's right above your post.
Thank you




miceylulu is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts