Nifty star field

I made this in Flash for a job app, thought I would share it.

http://www.otcsw.com/blog.php

nice stuff.

Evil tech though :slight_smile:

you could have done something like this with java http://www.interactivepulp.com/pulpcore/starfield/

still nice work.

Pretty cool stuff! You should make it go into reverse when you press the DOWN button long enough… ;D

Yeah nice job, pretty cool effect.

It’s funny how most reviews for a java thing go like: “it crashed with this log. winXP, java6, intel graphics”, but for flash there’s no trouble!

Did you design it with the adobe flash IDE? Any comments on how easy it was to use?

Don’t know if it’s flash or my pc, but I get “hick-ups”, that is that the animation just freezes for a second and then continues.

Actually it crashed my whole Firefox :o I think that was because of some QT problem rather than Flash problem. Got some pop-up indicating that. I might not have QT installed, but still… Worked on Chrome.

Nice effect (except for “hick-ups”) when it worked!

Crashed my Opera too… normally it only crashes on LWJGL applets, but heck, this brings adventure to my life!

That’s funny that it crashed for everyone. I think that might be because I put it at 60 fps… I didn’t even know that would be allowed. Normally Flash apps are capped at 30.

Yeah I have Adobe Flash CS3, which is what I used. It was pretty easy, although the IDE isn’t the best. Eclipse is definitely much better. Also, ActionScript 3 seems to highly limit the chief advantage of Flash - easy hookups through the Stage. It was a giant pain in the ass to get so much as a dynamic text field to be referenced from within my classes and appearing in the right place. In fact, I couldn’t even get it to work and just dropped it after trying for about an hour(that was extra credit). No doubt there is some way to do it, but it was still a pain. I found that the best way to do things (coming from Java) was to create a Shape object (think Canvas) and pass it to all my draw functions. Then you can draw more or less like you would with Java except with better rendering techniques at your disposal. The syntax itself is pretty straightforward - very reminiscent of Javascript. The docs are also pretty good, but still not as good as Java’s.

The Pulpcore one is interesting because it uses Sprite’s instead of lines like mine, and also it just applies a MotionBlur in the desired direction, rather than literally stretching anything. In the end though the idea they had for their algorithm is almost exactly the same as mine, which is pretty cool. And actually this is the first time I’ve seen PulpCore code up close - I really should give it a try.