Topic: AS3: Gravitation and Reflections! Goodie! (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=32144" title="Pages that link to Topic: AS3: Gravitation and Reflections! Goodie! (Page 1 of 1)" rel="nofollow" >Topic: AS3: Gravitation and Reflections! Goodie! <span class="small">(Page 1 of 1)</span>\

 
zavaboy
Paranoid (IV) Inmate

From: f(x)
Insane since: Jun 2004

posted posted 03-02-2011 15:10

Just a few things I've been working on this past week. I just got back into AS, but AS3 instead of AS2. I'm also using MiniBuilder rather than my Flash 8. It didn't take me long to get comfortable with AS3.

My starter project was gravitational forces, just for fun.

http://zavaboy.com/fla/Gravitation.swf

Apart from the vertical gravity, your mouse has it's own gravitational pull. The mouse's gravitational pull is what makes the particles "explode" when you click. I also added motion blur to the particles to make it look nicer. There are 100 particles.

Next, I wanted to make 2D reflections.

http://zavaboy.com/fla/Lazr.swf

You may place more mirrors by clicking and dragging. You can move the endpoints of the mirrors with the yellow circles. If you made a mess of the place, you can double click to clear all mirrors. The limit of reflections has been set to 10000. I will continue to work on this and perhaps make a game of some sort out of it eventually.

Well, that's that.

On a unrelated side note, I also made a fully functional Rubik's Cube in Garry's Mod using Wiremod's Expression2 chip.
Video: http://www.youtube.com/watch?v=AjcWpWHUO3w

I hope you guys find at least something here enjoyable or interesting.

NoJive
Maniac (V) Inmate

From: The Land of one Headlight on.
Insane since: May 2001

posted posted 03-02-2011 18:11

Well those are certainly fun toys. Wish we had stuff like that back in the 60's. Ahhh... wait a minute we did. Just didn't have the computers. -_Q

___________________________________________________________________________
"It's not the pale moon that excites me.... It's the nearness of you."

Tao
Maniac (V) Inmate

From: The Pool Of Life
Insane since: Nov 2003

posted posted 03-03-2011 00:34

Good stuff zavaboy me likey



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu