I got some Sony MDR NC6 Noise Cancelling headphones which were like $35 and work really well. I also often have to reencode the audio tracks on my movies to boost the volume.
C
Yeah I've started a two tier save, I like to use only one save; it stops backtracking time wasting, fun sapping battle optimization but now I have save 1 as the most recent save and save 2 as the start of section save. That way I have less chance to overwrite both saves.
C
If is happens again I will try that, sadly in a feat in incredible malcoodination I managed to save rather than load that particular slot when I first loaded the rom yesterday afternoon. So I'm starting again and I'm not going to touch the sound settings and just overclock if I need to (I was...
I was playing Chrono Trigger and I got the the stage where it goes all mode7 for the robot race so I thought I'd turn the sound off (along with disabling transparency and overclocking to 250). When I finished the race (I won) I tried to turn the sound back on (along with transparency and...
If you already know a programming language then I suggest you throw yourself in at the deep end and try to create something. Use a reference and an online tutorial and get going. Get to know you chosen development environment. I commend your ability to read code (I could do that more) but you...
Agreed, it's a reference not a tutorial. You could get it in addition to a tutorial but I usually use an online reference e.g. with a tutorial book. This one is supposed to be good but I haven't read it so I can't really recommend it as such.
atomicthumbs: what's you general programming level...
leaving out the +90000 and swapping sin with cos gives:
CODE
270°
180° + 0°
90°
Yep you're quite right, it's a direction change (from the sine/cos swap) and a rotation of 90° from north (+ 90000).
There is a standard: the compass: 0° is north and clockwise from there 90° is east...
They add the distance to x and y for the specified angle...
Is this overly complicated?
Any way to optimize these functions?
Using the 90000 constant (which I assume really means 90 degrees) you have swapped the meaning of sin and cos so you can get rid of the 900000s and just swap them back. I...
Agreed, it's ok to use for playing with/prototyping but for serious stuff you need to use pre-computed tables of sin and/or cos values otherwise it just won't be fast enough on the gp2x.
Why?
This is why you should keep a floating/fixed point representation of the coordinates internally and round before plotting the sprite. You could re-calculate the vector every iteration but that would be more expensive (I would think)
charlieb
Ok so what you're talking about is actually polar vs cartesian. A polar coordinate is a speed (scalar) and an angle (direction) and a cartesian is a vector with X and Y magnitudes that points at the target.
To actually plot the sprite on a cartesian grid you will need to use a cartesian vector...