A Flash Developer Resource Site

Search:

Type: Posts; User: rachil0

Page 1 of 19 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    57
    Views
    32,108

    Poll: Don't forget me please :) I am unable to access...

    Don't forget me please :)
    I am unable to access any of your website :(
  2. Replies
    21
    Views
    2,463

    I'll participate! Sorry for the late response but...

    I'll participate! Sorry for the late response but I was unable to log into FK for some reason.
  3. Replies
    66
    Views
    17,298

    Thanks for stepping up to the plate, IP :) I...

    Thanks for stepping up to the plate, IP :)

    I have no commercial plans for any of the crap I write, much less a 48 hour job. But maybe to appeal to flash professionals, maybe you could make it...
  4. Replies
    66
    Views
    17,298

    We really ought to do this again - I enjoyed it...

    We really ought to do this again - I enjoyed it thoroughly the last time around.

    Been a while since I flashed anything (ew) but there's always a way to scrape together 1 weekend. Anyone willing to...
  5. One solution could be to (i) use the sutherland...

    One solution could be to (i) use the sutherland hodgman algorithm to clip one rectangle within the other, and then (ii) use greens theorem/the surveyors formula to compute the area. The second step...
  6. Replies
    12
    Views
    12,583

    That might work, although it will have the same...

    That might work, although it will have the same branch cut issue as the parametric solution. Recalling vaguely from geometry, SAS (side-angle-side) SSS and ASA all uniquely specify a triangle, but...
  7. Replies
    12
    Views
    12,583

    Heh, a pack of math nerds on the prowl ;) Took...

    Heh, a pack of math nerds on the prowl ;) Took 'er down like a limpy gazelle.
  8. Replies
    12
    Views
    12,583

    Doesn't seem like the last reply really addressed...

    Doesn't seem like the last reply really addressed the issue - don't think the OP really knows the position where the car intersects the circle. (IE doesn't know the values of car._x, car._y).
    ...
  9. Replies
    3
    Views
    1,472

    The cross product can tell you which way is the...

    The cross product can tell you which way is the shorter way to rotate:



    Number decide_direction( Number start, Number finish )
    {
    return ( cos(start)*sin(finish) - cos(finish)*sin(start) >...
  10. I gave it some more thought, and I think you can...

    I gave it some more thought, and I think you can avoid the winding/overflow issues by minimizing the dot product over the pairs which have positive cross product. New pseudocode:



    Number...
  11. Edit, actually thats not right. When the best...

    Edit, actually thats not right. When the best pair subtends and angle greater than 90 degrees I think it will break down. I will give it more thought.
  12. Thread: 3Din again

    by rachil0
    Replies
    6
    Views
    5,026

    Sorry for the late response, but I got your PM...

    Sorry for the late response, but I got your PM about shadow calculation. I'm pooped right now, but I will try to get you a response soon. Just didn't want you to feel ignored! :cap:
  13. I think you can use the 2D cross product. Define...

    I think you can use the 2D cross product. Define it for 2 vectors A and B:



    cross2D(A,B) := A.x*B.y - B.x*A.y


    I'm assuming your coordinates are right handed, you might need to twiddle the...
  14. Replies
    27
    Views
    10,630

    Sorry for the delay, work took over there for a...

    Sorry for the delay, work took over there for a while.

    I can post the octave scripts when I get home tonight. As to why you're having trouble reproducing the effect in your own codes, I am not...
  15. Replies
    27
    Views
    10,630

    A few things I forgot - the palette of the...

    A few things I forgot - the palette of the original game has redundant entries in it, and some of the pixels of the 32 bit source artwork were colors that did not exist in the palette. Both of these...
  16. Replies
    27
    Views
    10,630

    All right, got the blue image whipped up, and...

    All right, got the blue image whipped up, and made an example of palette swapping in flash. It's all zipped up below as an attachment.

    http://img407.imageshack.us/img407/4236/artblue.png
    ...
  17. Replies
    27
    Views
    10,630

    Looks good, I will take a swipe at it tonight....

    Looks good, I will take a swipe at it tonight. It's pretty artwork :)
  18. Replies
    27
    Views
    10,630

    If it's small enough you can just add it as an...

    If it's small enough you can just add it as an attachment to a post/pm. If not, a 3rd party filehoster is fine w/ me.
  19. Replies
    27
    Views
    10,630

    Post or PM it whenever its ready and I'll give it...

    Post or PM it whenever its ready and I'll give it a shot - it's really not that much trouble. I have a lot of similar codes already laying around. My matlab license is expired but octave is freeware...
  20. Replies
    27
    Views
    10,630

    There's probably other ways to do it, that's just...

    There's probably other ways to do it, that's just the one that pops first into my mind. Palettemap is a real technicians tool, have to get your hands a little dirty to make any real use of it. It's...
  21. Replies
    27
    Views
    10,630

    Sounds like some wires got crossed. To use...

    Sounds like some wires got crossed. To use palettemap the way I described, your image will need to have its palette indices packed onto just one channel (like blue). I'd use matlab to do that kind of...
  22. Replies
    27
    Views
    10,630

    If the two palette files (the palette from your...

    If the two palette files (the palette from your pngs, and the palette from the original game), are basically permutations of each other, you could write a short program to correct the palette indices...
  23. Replies
    27
    Views
    10,630

    For the clouds, one thing you could just try is a...

    For the clouds, one thing you could just try is a full screen alpha blend between a cloudbuffer and the screenbuffer. My limited experience with alpha blending suggests it's a bit expensive on a...
  24. Replies
    27
    Views
    10,630

    Cool game, looks fun :) Reminds me of Raptor Call...

    Cool game, looks fun :) Reminds me of Raptor Call of the Shadows.

    I think Items 2 and 3 can be done using BitmapData.paletteMap. Like the font coloring for instance, use the same indexed color...
  25. Replies
    27
    Views
    10,630

    Welcome to FK, ted! The thread you linked to...

    Welcome to FK, ted!

    The thread you linked to is a little dated, and my opinions on what's fast and what's slow in AS3 have drifted a bit. My recommendation is to use native BitmapData's as...
Results 1 to 25 of 466
Page 1 of 19 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center