• 9
• 9
• 9
• 10
• 10
• entries
686
1952
• views
386910

# Quick update

69 views

Just a quick update. I'm planning to get all the power-ups done during the weekend, so that I can focus next week on designing the first level.

Back at my GP2X post, something interesting was brought up. I'm going to try and make sure from now on that my games are compatible with the "360 for windows" controller. I have a 360 controller myself, but I don't have the wireless adapter to use it on my PC yet. Once I do, I'll make sure to add that feature in my games. I'll also go back and add that feature to Stompy's Revenge.

Quote:
 Original post by Stompy9999 Just a quick update. I'm planning to get all the power-ups done during the weekend, so that I can focus next week on designing the first level. Back at my GP2X post, something interesting was brought up. I'm going to try and make sure from now on that my games are compatible with the "360 for windows" controller. I have a 360 controller myself, but I don't have the wireless adapter to use it on my PC yet. Once I do, I'll make sure to add that feature in my games. I'll also go back and add that feature to Stompy's Revenge.

I'd love you for that.

Sadly I've only found one application that works with the 360 controller (the original ps emulator.) Battlefield 2 sort-of worked with it (if I remember correctly you couldn't set the camera up to use the controller.)

##### Link to comment
Well, I'm going to give it a try. Tomorrow I'll look up how to program that feature. The idea of having my games actually being played with a real game controller is too much to pass up.

##### Link to comment
I did a simple pong clone yesterday using XNA: PongXNA. Implementing gamepad support was very easy. It was something like:

GamePadState gamepad GamePad.GetState(PlayerIndex.One);
{
// etc
}

Those XNA guys are doing a pretty awesome job.....

##### Link to comment
I've programmed support for the XBOX pad in SDL and I guess you're using SDL too right ;)

If you're interested in my code then give me a shout and I'll send it over to you. It's not much but it'll save you 30 minutes figuring it out.

1. Registering Pads at Startup
2. Setting deadzones on the pad sticks
3. Events

et voila.

##### Link to comment
@Rob:

That XNA approach doesn't sound all that good as you have to poll your devices to check the states rather than receive a message telling you what happend? Do you have to check all 20 odd buttons if you use them all? I suspect it'll support messaging too though.

##### Link to comment
Quote:
 Original post by Metorical I've programmed support for the XBOX pad in SDL and I guess you're using SDL too right ;) If you're interested in my code then give me a shout and I'll send it over to you. It's not much but it'll save you 30 minutes figuring it out. 1. Registering Pads at Startup 2. Setting deadzones on the pad sticks 3. Events et voila.

As long as it is C++, I'd be very interested to see it.

##### Link to comment
Quote:
 Original post by Metorical I've programmed support for the XBOX pad in SDL and I guess you're using SDL too right ;) If you're interested in my code then give me a shout and I'll send it over to you. It's not much but it'll save you 30 minutes figuring it out. 1. Registering Pads at Startup 2. Setting deadzones on the pad sticks 3. Events et voila.

As long as it is C++, I'd be very interested to see it.

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account