Gp2X question

Previous topic - Next topic

Billamu

I'm making a game for the gp2x, but it's 240x320, so it's played sideways.

The compiler doesn't rotate the game sideways, does it? If so, will I have to rotate my sprites etc sideways?
Also will this mean compatibility problems when put on other systems?

I also thought of rendering each frame and rotating it 90 degrees, but that would probably tax a gp2x.
I'm an Aries. I have lots of Ram.

Moru

You have to do the rotation yourself but on a normal PC you don't need to rotate so you need to check if it's a GP2X or not

PLATFORMINFO$ is the command to look for I think :-)

Billamu

Thanks. I've painstakingly turned everything sideways. I think what I'll do is develop this for gp2x and then do a full screen rotation for the PC and/or Mac adaptation.

The other thing I've noticed is that mouse response has got a lot of noise in it. Is there any way around this? I'm going to try and interpolate groups of mouse data and filter out anything extraneous.
I'm an Aries. I have lots of Ram.

Moru

I haven't noticed any mouse noice but I haven't been using the mouse that much, can you give us an example?

Billamu

The noise happens on the gp2x. I don't have that problem when running it from the PC.
Touchscreen will position the pointer but with a deviation of about +-5 pixels per screen update, this makes the positioning jitter.

The way I'm treating this is to make the bat update its position once every 10-15 frames based on the average amount of responses from the mouse. Any extremely random positions outside of that are ignored.
I'm an Aries. I have lots of Ram.

Moru

Ah yes, I remember Gernot compaining about that, he is working on a fix for it.

Billamu

That would be greatly appreciated. I'll report back on my progress with the mouse handler.
I'm an Aries. I have lots of Ram.

Billamu

Ok I'm not the sharpest tool in the shed; took me ages to discover the Web Update manager - duhh... so I'm in the process of downloading the latest version containing improvements for the GP2X's touchscreen.

But it's taking horrifically long to load (bittersweet memories of dial-up), and then after about 400-500Kb it closes. I've tried this on two different PCs and the internet connection on both of them is working properly  :S
I'm an Aries. I have lots of Ram.

Moru

no problems downloading here, what version of GL-Basic do you have?

Kuron

Willamu:  If it is any condolence, I am usually several versions behind due to the web update.

Billamu

Heh, patience is a virtue... I don't have. But I waited a wee bit, and then tried again. It's loading now.

I was on version 5.235.
I'm an Aries. I have lots of Ram.

Kitty Hello

Might get tight when lots of users try to update simultaneously.

Billamu

The touchscreen handler is way more stable with the latest update. Thankyou Gernot!
I'm an Aries. I have lots of Ram.

Kitty Hello

The 240x320 mode on GP2X is not qorking right now. I'm implementing that one day.
PocketPC works already.

Kuron

Quote from: Kuron on 2008-Aug-19
Willamu:  If it is any condolence, I am usually several versions behind due to the web update.
I should note my issues are not connection speed/drops, its just the lack of a net connection on my dev machine.