Eek’s World

Tag: rowl

Flash Programming / Running away MovieClips

by Eek on Mar.07, 2009, under Programming

:)
Some of you asked me how i’v realized that effect in Flash. Well.. It’s maybe one of the simplest to do if you know a little actionscript 2…

The animation you’ve seen with Eek (The Eek Logo) it’s made quite simple. You open a new project in Flash and there you draw a form (in my case, those 3D cubes…), after that you select your form, press F8 and convert it to Movie clip… Here you go to the timeline and insert another 2 keyframes.

In the first keyframe you add this code:
x00 = _x;
y00 = _y;
DIAM = 1000;

The important thing you need to know here is that DIAM is the diametre in which the “shapes” can run away from you :)

In the second keyframe there’s a little more actionscripting:

x0 = _x;
y0 = _y;
x = _root._xmouse;
y = _root._ymouse;
a = x - x0;
b = y - y0;
r = Math.sqrt(a * a + b * b);
a_x = this._x - a / r * DIAM/ r;
a_y = this._y - b / r * DIAM/ r;
b_voltar_x = (x00 - x0) / 2;
b_voltar_y = (y00 - y0) / 2;
this._x = a_x + b_x;
this._y = a_y + b_y;

And that’s almost everything… In the last (third) keyframe you add the code gotoAndPlay(2); so that the script will aways run. :)

Then you go back into the Main Scene and draw everything you want by inserting the shapes into the stage and copy-paste them and making the form you desire out of them :)

That’s all regarding to that flash…

I think i’ll gonna do something related to that on the first page (http://eek.ro)… But a lot more visual atractive, i experimented a little more with my logo by replacing those 3D cubes with tiny circles… Then added around 300 in my scene to draw a better looking Eek :) But after i exported i realised there were too many and the animation was working like SH*T :( Eh… I think i’ll gonna remain at some photoshop :)

Hope you like the new design of my blog… Added to it what i done yestarday in photoshop, and besides that i added a favicon… Not a very good looking one that’s a little nice :D

Heh! :)

I’ll gonna start working on Eek.ro and rowl.eek.ro

Leave a Comment :, , , , , , , , , more...

Eek.ro / Projects

by Eek on Mar.06, 2009, under projects

Hi again… :)

Was a little gone :P Had some school today… Only 8 hours from which 6 of them of Geometry… I know… That sucks :(

Well… Wanted to discuss a little about what will be on Eek.ro… First of all when i bought this domain i didn’t even tought of what i’ll gonna make on it… Just wanted to have it because it’s my nickname :D Okey, now that i tought a little of what i’ll gonna do i’ll gonna share some stuff…

1. It will be my personal blog (on http://blog.eek.ro), in which i’ll write everyday (hope so…) about what i mentioned in my first post. Hope you like how the blog looks, but this is temporary… I don’t really like the fact that i don’t have space to put a logo (and i really want a logo… A made in flash one…). I think something based on this principle ideea (this ideea was developed during some math booring class) –

:) Hope you like this ideea… Like 3D squares running away from you :-” ;;) :D . The other thing i made was a logo with Eek.ro, which i have uploaded on DeviantArt for that you can all see it at very high rezolutions :) Here is the -> link :)

2. I’ll have the homepage of my DotA (Defence of the Ancients) clan… (ROWL – ROmanian War Lords)

3. I’ll have and Yahoo Messenger Status (A check for invisible users on yahoo messenger made by BlAkY :) – check http://imstatus.co.nr

4… I’ll think of it… I’ll be very happy if you all will give me some advices on what else to do :D

__________________________

That’s that… Going to the game World… Carmen Ivanov will be again on Radio waves :) More exactly saturday at 106.2FM on IT Republic, holding the best romanian broadcast about the World of Gaming! :) -> FanaticGamer is BACK!! :)

_________________________

Okey… and now some things related Romania… My sister’s at Medicine the last year (6-th) and together with the Student Society is holding a project called “Împreuna pentru viața rurală!” – “Together for rural health!” – Bucharest, which i think i’t one of the best there is in the competition… So… If you’d like to vote for her and the project… Here is the link :)
_________________________
Hmm… I got some many other things to write… But… Too much is not good :) Soo… I guess i’ll have to let it on tomorrow :)

That’s all Folks!

;;)

Leave a Comment :, , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Archives

All entries, chronologically...