Forum Topic: Flashlight Engine

(315 views • 12 replies)

This topic is 1 page long.

<< < > >>
None

digitalk

Reply To Post Reply & Quote

Posted at: 10/5/09 05:20 PM

digitalk EVIL LEVEL 15

Sign-Up: 12/16/06

Posts: 497

Well, here is something that kept me busy for about 1 hour last night =P

I designed this flashlight system, that lets you make a flashlight area, useing a certain image, although depending how small you make the image, it will lag like all hell!! I reccoment 32x32 images working the best. here are 3 examples of what can be done with it. the first example is downloadable as a fla! Enjoy!

ALL WORK BY ME! Please credit if you use =D

Example one - Example 1 SWF Download FLA
Example two - Example two SWF
Example three - Example three SWF

I think it looks pretty good, in a stylistic way!

For those who think its shit, just go ahead and use a gradient filled circle as a flashlight... don't bother me about it -.-

At 4/20/09 03:58 AM, digitalk wrote:
Ur gunna get ur ass banned by the big ban penis of tom fulp :3

BBS Signature

Angry

digitalk

Reply To Post Reply & Quote

Posted at: 10/5/09 05:22 PM

digitalk EVIL LEVEL 15

Sign-Up: 12/16/06

Posts: 497

Stupid media fire. FIXED LINK IS HERE!!

http://www.mediafire.com/?wnydzyzentx

At 4/20/09 03:58 AM, digitalk wrote:
Ur gunna get ur ass banned by the big ban penis of tom fulp :3

BBS Signature

Resigned

zuperxtreme

Reply To Post Reply & Quote

Posted at: 10/5/09 05:48 PM

zuperxtreme NEUTRAL LEVEL 08

Sign-Up: 01/02/05

Posts: 1,589

Nothing is loading for me. :/

Try here? http://www.spamtheweb.com/ul/


None

Yambanshee

Reply To Post Reply & Quote

Posted at: 10/5/09 11:58 PM

Yambanshee DARK LEVEL 11

Sign-Up: 10/05/08

Posts: 1,582

At 10/5/09 05:48 PM, zuperxtreme wrote: Nothing is loading for me. :/

Same here

AS2||AS3||Motox
Thanks to hdxmike for the sig :]

BBS Signature

None

kizza0

Reply To Post Reply & Quote

Posted at: 10/6/09 02:37 AM

kizza0 NEUTRAL LEVEL 08

Sign-Up: 10/13/07

Posts: 276

Did you use the .mask function, i was thinkin of using for some extra effect to a game.

BOOM HEADSHOT

BBS Signature

None

digitalk

Reply To Post Reply & Quote

Posted at: 10/6/09 02:40 AM

digitalk EVIL LEVEL 15

Sign-Up: 12/16/06

Posts: 497

Fixed links are here, once again sorry.

Example one
Example two - May lag on slower computers
Example three - Almost the same as link two but less laggy.

At 4/20/09 03:58 AM, digitalk wrote:
Ur gunna get ur ass banned by the big ban penis of tom fulp :3

BBS Signature

None

polym

Reply To Post Reply & Quote

Posted at: 10/6/09 05:58 AM

polym LIGHT LEVEL 10

Sign-Up: 10/02/07

Posts: 801

At 10/6/09 02:40 AM, digitalk wrote: Fixed links are here, once again sorry.

Example one
Example two - May lag on slower computers
Example three - Almost the same as link two but less laggy.

It's not a flashlight system. It's just a mask with a graphic... the only reason why it's laggy is because you made the graphic all fancy and it can't even be considered realistic.


None

zuperxtreme

Reply To Post Reply & Quote

Posted at: 10/6/09 04:41 PM

zuperxtreme NEUTRAL LEVEL 08

Sign-Up: 01/02/05

Posts: 1,589

I thought you meant something like this :P

http://spamtheweb.com/ul/upload/061009/6 3657_rayCast.php

"F" for Flashlight.

Anywho, it's not bad. I like the first one.


None

digitalk

Reply To Post Reply & Quote

Posted at: 10/6/09 05:59 PM

digitalk EVIL LEVEL 15

Sign-Up: 12/16/06

Posts: 497

At 10/6/09 05:58 AM, polym wrote: It's not a flashlight system. It's just a mask with a graphic... the only reason why it's laggy is because you made the graphic all fancy and it can't even be considered realistic.

Its not a mask, its a load of images that change as your mouse gets closer, look at the 3rd example, slowly move the mouse, you will see that they animate, not just move. ok?

At 4/20/09 03:58 AM, digitalk wrote:
Ur gunna get ur ass banned by the big ban penis of tom fulp :3

BBS Signature

None

IWantSomeCookies

Reply To Post Reply & Quote

Posted at: 10/6/09 06:24 PM

IWantSomeCookies LIGHT LEVEL 13

Sign-Up: 08/20/04

Posts: 3,295

so you work out the distance from a movieclip to the mouse and increase its size depending?

are the circles on the outer ring MASSIVE? lol

"Actually, the server timed out trying to remove all your posts..."
-TomFulp


None

Apple-Juice

Reply To Post Reply & Quote

Posted at: 10/6/09 06:35 PM

Apple-Juice LIGHT LEVEL 02

Sign-Up: 04/12/09

Posts: 214

At 10/6/09 05:59 PM, digitalk wrote:
At 10/6/09 05:58 AM, polym wrote: It's not a flashlight system. It's just a mask with a graphic... the only reason why it's laggy is because you made the graphic all fancy and it can't even be considered realistic.
Its not a mask, its a load of images that change as your mouse gets closer, look at the 3rd example, slowly move the mouse, you will see that they animate, not just move. ok?

a simpler effect with a better look and less lag would be a radial gradient, alpha 0 in the middle and 100% on the edge, on a long black box that covers the stage and a excess area and moves with the mouse. You would have to use the gradient transform tool to shrink the effect zone, but it will give it a much smoother look.

some people get them, some people don't;

BBS Signature

None

zrb

Reply To Post Reply & Quote

Posted at: 10/6/09 07:39 PM

zrb LIGHT LEVEL 11

Sign-Up: 08/08/06

Posts: 4,548

Way too laggy, did you just make a million circles and reduce their size and/or alpha according to mouse distance ? Cause that's what it looks like and that's pretty much utter crap to be honest.

Raycasting tutorial from top view and incredibly more efficient than your method.

School Sux ! || As :Main || As3: Main || Animation: Main || Flash Tutorials ||

BBS Signature

None

El-Presidente

Reply To Post Reply & Quote

Posted at: 10/6/09 08:46 PM

El-Presidente LIGHT LEVEL 27

Sign-Up: 06/02/05

Posts: 5,194

At 10/6/09 07:39 PM, zrb wrote: Way too laggy, did you just make a million circles and reduce their size and/or alpha according to mouse distance ? Cause that's what it looks like and that's pretty much utter crap to be honest.

Sort of agree, although I don't think it looks too much like crap, it could be much smoother, nicer, and probably better done. The effect overall is kind of cool, but work on it.


Raycasting tutorial from top view and incredibly more efficient than your method.

I personally hate that tutorial, I think it's not too efficient. I remember DeltaLuca telling me a long time ago to just find all the polygon coordinates and use that kind of. If you draw it out, it makes much more sense, and looks 100% smooth, because it perfectly goes to points. That can be a pain in the ass, though.

MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 03:37 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!