00:00
00:00
Newgrounds Background Image Theme

apollonx just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

The Flash 'Reg' Lounge

3,046,902 Views | 60,186 Replies
New Topic Respond to this Topic

Response to The Flash 'Reg' Lounge 2008-09-01 14:02:21


So, I'm working on a game called Essence Of Divinity (see my 2nd news post for a long list of what to do and whats done)

And I ended up finishing the perfect 'health bar' in just about 30 min.
This health bar at full health is always at 150 pixels, but depletes not per pixel, but an equation that goes based on how much health the character can have total (the numerical number you put into the input text box) and how much health is left.

Press Enter to confirm the amount of total health in the input text box.
Press Space to deplete you current health by 1 per frame.

Note: The value you enter CANNOT have spaces, it glitches =P

Here's
The .fla

And for those w/ flash not open,

the .swf =)

Now I know this wasn't worth making a new topic, so here's something I just wanted to show ppl. Do w/e you want w/ the code, I used the mathematic equation to convert values to come up w/ the pixel value of the current health, if you need help w/ understanding it, just pm me.

Response to The Flash 'Reg' Lounge 2008-09-01 14:14:38


At 9/1/08 02:02 PM, DawnOfDusk wrote: Note: The value you enter CANNOT have spaces, it glitches =P

Then it's not perfect, is it? ;)


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 14:25:07


At 9/1/08 02:14 PM, Toast wrote:
At 9/1/08 02:02 PM, DawnOfDusk wrote: Note: The value you enter CANNOT have spaces, it glitches =P
Then it's not perfect, is it? ;)

Lol, wow. You have a point, but just to make myself not look stupid, in game, the user won't be able to place in a number for there health. So it's all good ;D

Response to The Flash 'Reg' Lounge 2008-09-01 14:29:33


D.O.D thats cool.

One way to improve it would be to make the health start green then at 66/67% or something turn yellow then at 33/34% turn red.

Get to work!


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 14:37:41


Lol, what?

Haven't looked at fla but that isn't exaclty hard. Something like:

healthbar._xscale = current/max * 150;

Response to The Flash 'Reg' Lounge 2008-09-01 14:38:42


At 8/31/08 10:11 PM, SpamBurger wrote: Everyone, quick, follow my sig trend!

Nah, you don't make people join sig trends. They just kinda develop on their own.


:U

Response to The Flash 'Reg' Lounge 2008-09-01 14:40:48


At 9/1/08 02:37 PM, UnknownFury wrote: Lol, what?

Haven't looked at fla but that isn't exaclty hard. Something like:

healthbar._xscale = current/max * 150;

Sorry. Either change _xscale to _width OR change 150 to 100.

Response to The Flash 'Reg' Lounge 2008-09-01 14:47:23


At 9/1/08 02:40 PM, UnknownFury wrote:
At 9/1/08 02:37 PM, UnknownFury wrote: Lol, what?
Sorry. Either change _xscale to _width OR change 150 to 100.

Yeah, thats basically it, just

healthbar._width = (150*current)/max;

Nothing difficult... Wow, I said 30 min. It was like 5... lmao.
I never said it was anything amazing, but I shouldn't have said it was 'perfect' I still gots to add the color thing.

My bad lol.

Response to The Flash 'Reg' Lounge 2008-09-01 15:06:16


At 9/1/08 12:00 PM, KaynSlamdyke wrote: Scuzz, next time you get banned give me a shout. I'm giving you immunity for those images. :p

Oh how cute, he thinks he can lift other mods' bans XP


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 15:13:35


I thought this TV commercial was really well made and thought it'd be worth sharing. You can check out the making-of right here too.


always behind schedule.

BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 16:22:11


At 9/1/08 03:13 PM, ConAir wrote: I thought this TV commercial was really well made and thought it'd be worth sharing. You can check out the making-of right here too.

That's crazy, making it looks terribly hard, though.


Check out my newest News Post!

Anyone need an artist or coder for a game? Drop me a PM!

BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 16:37:11


At 9/1/08 04:22 PM, KyleDaFox wrote:
At 9/1/08 03:13 PM, ConAir wrote: I thought this TV commercial was really well made and thought it'd be worth sharing. You can check out the making-of right here too.
That's crazy, making it looks terribly hard, though.

I like the making of more than the video, but both were fucking sweet as hell.

Response to The Flash 'Reg' Lounge 2008-09-01 16:40:08


At 9/1/08 03:06 PM, NegativeONE wrote: Oh how cute, he thinks he can lift other mods' bans XP

Aww don't be mean. :p


...

BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 16:42:27


At 9/1/08 03:13 PM, ConAir wrote: You can check out the making-of right here too.

Hehe, I love the inappropriate quoting of Hamlet :P


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 17:48:47


At 9/1/08 03:13 PM, ConAir wrote: I thought this TV commercial was really well made and thought it'd be worth sharing. You can check out the making-of right here too.

It's too bad they didn't try to make the making of actually convincing, then it would be more funny, it was still a pretty cool commercial though.


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 21:43:54


At 9/1/08 09:25 PM, zrb wrote: I've noticed that this forum is pretty much dead which is why you guys need to find a new all-day spammer like me ! :P

So now you're proud of that fact?

I'm more glad when its quiet rather than crowded. When its crowded theres too many spam and crap posts to sort through, whereas when its calmer it is more likely that more meaningful posts will show up.


:U

Response to The Flash 'Reg' Lounge 2008-09-01 23:38:17


I have my first uni class tomorrow...
Scarey! :C

Women are also mindfucking me once more.

www.DuderEntertainment.com/ | Makin' Laughs and Kickin' Ass! >:3

BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-01 23:52:48


At 9/1/08 11:38 PM, TheCriminalDuder wrote: I have my first uni class tomorrow...
Scarey! :C

Good luck! :D

Women are also mindfucking me once more.

...stop picking the wrong kind of women :P

zrb... how can we miss you if you won't go away! ;P

Response to The Flash 'Reg' Lounge 2008-09-02 00:33:15


At 9/1/08 09:25 PM, zrb wrote: I've noticed that this forum is pretty much dead which is why you guys need to find a new all-day spammer like me ! :P

I come and check the forum regurlarly, but i rarely have anything to say ...

At 9/1/08 11:38 PM, TheCriminalDuder wrote:
Women are also mindfucking me once more.

No, they aren't. It's all in your head. It's all in your head. It's all in your head. It's all in your head. It's all in your head. It's all in your head. It's all in your head. It's all in your head. It's all in your head.

Response to The Flash 'Reg' Lounge 2008-09-02 00:42:03


drawing with flash with a wacom..

does anyone have any ideas/tips on how have some control on the outcome of the lines, bit at the same to making the lines smooth? recently iv been drawing with zero smoothness because it gives me control on what the lines turn out to look like. But I want the lines smoother :<, but have the same amount of control :P

Response to The Flash 'Reg' Lounge 2008-09-02 01:01:33


At 9/2/08 12:42 AM, x-factor11 wrote: drawing with flash with a wacom..

does anyone have any ideas/tips on how have some control on the outcome of the lines, bit at the same to making the lines smooth? recently iv been drawing with zero smoothness because it gives me control on what the lines turn out to look like. But I want the lines smoother :<, but have the same amount of control :P

I use 40 smoothing. Turning pressure sensitivity on might help, if you haven't already done so.

Response to The Flash 'Reg' Lounge 2008-09-02 03:29:04


At 9/2/08 01:01 AM, Beast-0 wrote: I use 40 smoothing. Turning pressure sensitivity on might help, if you haven't already done so.

I usually use tilt and pressure sensitivity with about 60-70 smoothing. My hand is rather shaky, so I have to use a higher smoothing setting than most people...


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-02 04:23:41


WOOOOOH

not banned anymore!!!

Response to The Flash 'Reg' Lounge 2008-09-02 04:33:46


At 9/2/08 04:31 AM, mexifry895 wrote: Awesome! so what smoothing do YOU use?

As a a general rule i don't draw things; so whatever the standard smoothening value is ^^ i've never payed attention

Response to The Flash 'Reg' Lounge 2008-09-02 05:28:40


FUCK
what a fucking crap first day at school. each year at this retarded school like every school in france, they "re-arrange" the classes, and since there's like 12 classes in whatever grade im in, there's not many chances ur gonna be with ur friends from the previous year. last year they put me in a class of germans and italians so i was allowed to request a transfer to an english section class, because that's my section (although most people there are french) and there was some pretty cool ppl there. this year there's only like 3 girls I know from previous years and I barely ever talked to them, and the rest of the class is some people i don't know, but mostly people i don't wanna know.

im not the kind of guy who's gonna say hi to everyone on the first day and be everyone's friend. I was pretty popular in school in israel until i moved to france, now i kinda prefer to just stay in the corner with maybe a couple of close friends and try to not grab too much attention so i can sleep in class. sometimes i feel it's more of an effort to get new friends and hang out with them rather than something i enjoy and feel comfortable with. there's very few people that i actually wanna spend time with


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-02 06:10:14


At 9/2/08 05:28 AM, Toast wrote: there's very few people that i actually wanna spend time with

Then find things to do to occupy yourself. When I was about 10, in primary school, everyone I used to think of as a friend hated my guts and the people I hated were even worse. So I spent time by myself. Brandishing a skipping rope as a whip. I sometimes used it.

My 7-day ban is over!

Click my sig for a hilarious thread.

BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-02 06:24:59


At 9/2/08 06:10 AM, Wolfears2 wrote: Then find things to do to occupy yourself. When I was about 10, in primary school, everyone I used to think of as a friend hated my guts and the people I hated were even worse. So I spent time by myself. Brandishing a skipping rope as a whip. I sometimes used it.

I had no more than 2 friends until just 2 years ago.


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-02 06:30:46


I have (In real life) 2 sets of friends really, my main set of friends which is composed almost entirely of boys since i go to an all boys school (yep) and my other set of friends which is composed almost entirely of girls of whom most go to the corresponding all girls school (yep) lol. There actually isn't much of a cross over either, most of my friends know eachover, but aren't necesarigly friends.

Response to The Flash 'Reg' Lounge 2008-09-02 06:36:41


to tell you the truth right now i don't feel like i would mind being alone the entire year. i can just sit by myself and sleep or occupy myself with my thoughts (or actually listen to the lesson...... maybe), but there's that whole "society" thing where it's not cool to be alone. it's not cool to sit in the corner by yourself when the class is waiting for the teacher to come and everyone's talking with friends, but sometimes i prefer to just go invisible (if i could) and do that instead of talking to some retards. by now i guess i lost all my modesty like I'm better than everyone else and they're just some random retards, but with all objectivity, this is the worst class i could be in.

i had some a bunch of close friends last year, 2 of them moved to another school and the rest were scattered in different classes and since lunch isn't at the same time i guess im not gonna see them as much.

anyway ill stop being so egocentric now, i just got really frustrated :/


BBS Signature

Response to The Flash 'Reg' Lounge 2008-09-02 06:38:26


i try to make friends with most people, sometimes i walk into town and someone greets me. they are people that would say hi and you could hang around with but not become best friends with, thats all going to change for most people including me from joining new schools and work places, so we may have time to start a new if we didnt make it go how we wanted last time so good luck everyone in the future, try to say hi to most people and seem friendly, not to hit anybody with skipping ropes, :)