Recent content by charlieb

  1. C

    Divx Low Volume Problem? Pls Help

    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
  2. C

    What Country Are You From?

    As the Sting song goes, I'm an Englishman in New York. And yes I am a legal alien.
  3. C

    Pocketsnes Sound Problem

    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
  4. C

    Pocketsnes Sound Problem

    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...
  5. C

    Pocketsnes Sound Problem

    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...
  6. C

    Could Somebody Reccomend Me A Book?

    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...
  7. C

    Could Somebody Reccomend Me A Book?

    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...
  8. C

    Sprite Movement Angle Or Move To Specific Pixel

    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...
  9. C

    Sprite Movement Angle Or Move To Specific Pixel

    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...
  10. C

    Sprite Movement Angle Or Move To Specific Pixel

    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?
  11. C

    Sprite Movement Angle Or Move To Specific Pixel

    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
  12. C

    Sprite Movement Angle Or Move To Specific Pixel

    Oh ok well that is really just basic trig: CODE x = speed * cos(angle); y = speed * sin(angle); Right guys?
  13. C

    Sprite Movement Angle Or Move To Specific Pixel

    So you mean somehting like this? CODE velocity = calc_velocity(); sprite.x += velocity.x; sprite.y += velocity.y; draw(sprite);
  14. C

    Sprite Movement Angle Or Move To Specific Pixel

    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...
Back
Top