A Flash Developer Resource Site

1. Can't understand.....

2. Most probably your teachers sucked.

(edit: "Banned" oh well, I guess he will not be back to reply then)

3. Originally Posted by realMakc
Is the curve a catenary,

4. as it says in the quote, it's "single bezier segment", parabola or cubic curve.

oh, and to be on topic, here goes rounding any angle to right angle

5. Originally Posted by realMakc
Btw, this was later turned into musical instrument by someone.

6. Since I am here, why not bump the thread ) Here goes parabola through three points.

7. code to push the needle around from another thread, eventually turned out to be not what op was looking for, so I've figured why not put it here instead (the thread is now yearly math dose)

8. Give an example game feature that uses parabola realmakc

9. Idk, dotted aim line in angry birds?

10. most of the links above are now dead, just like flash

11. Thats a good example. I will try to make a 3d version in flash sometime later on and share it here.

I have my open source 3d engine here to implement parabola: rpguy.weebly.com

12. Lambda Expressions

lambda expressions is one of the steps to be able to get the flash runtime libraries running on your next future of operating systems that wont support flash. Leave a comment on what you know about lambda and techniques you can do with it.

port this to as3 if you understood lambda expressions from c++:

c++
PHP Code:
``` #include <algorithm>    #include <cmath>        void abssort(float* x, unsigned n) {        std::sort(x, x + n,            // Lambda expression begins            [](float a, float b) {                return (std::abs(a) < std::abs(b));            } // end of lambda expression        );    }  ```

13. jesus fuken christ, alloy. it's
PHP Code:
``` function abssort(x:Array):Array { return x.sort (function (a:Number, b:Number):Number { return Math.abs(a) < Math.abs(b) ? -1 : 1; });}  ```
you would need more lines to support "n" parameter, but otherwise "lambda expressions" are not big deal at all.

14. I am sure you can run flash runtime linked list library in as3 using flashes setpixel functions to handle the drawings and it would be very slow it would be like running its self for example, there is more too it than just lambda, I will find the next step to get it running, its very complicated root procedures.

...but nice port.

15. pepflashplayer.dll , libflashplayer.so , libpepflashplayer.so are closed source libraries but the software to get it running is very complicated and open you just use memory systems, math functions, setpixel functions to get it animating the swf.

I want to boot it as an os in assembly language when I put it together in as3 first.

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

 » Home » Movies » Tutorials » Submissions » Board » Links » Reviews » Feedback » Gallery » Fonts » The Lounge » Sound Loops » Sound FX » About FK » Sitemap