00:00
00:00
Newgrounds Background Image Theme

VolsungWarrior 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,047,316 Views | 60,186 Replies
New Topic Respond to this Topic

Response to The Flash 'Reg' Lounge 2009-06-20 18:02:13


At 6/20/09 05:37 PM, liaaaam wrote: var hitting:Boolean = false;
for(a:int=0; a<10; a++){
if(this.hitTest(_root["banana"+a])){
hitting = false;
}
}
if(!hitting){
trace("You ain't hitting nothing, bro");
}

You ain't hitting nothing with that code, bro.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-20 18:12:03


What he meant is first definning a variable as false, then looping through all your objects and verifying hittest, while only defining your variable as true if a hittest returns true, without defining as false when hittest is false. Then, at the end of the loop, the value of your variable doesn't change if there are no hittests, and changes if there is 1 or more hittests. Seriously you could've done that on your own, it's not very complicated :p


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-20 18:17:02


At 6/20/09 06:12 PM, Toast wrote: What he meant is first definning a variable as false, then looping through all your objects and verifying hittest, while only defining your variable as true if a hittest returns true, without defining as false when hittest is false. Then, at the end of the loop, the value of your variable doesn't change if there are no hittests, and changes if there is 1 or more hittests. Seriously you could've done that on your own, it's not very complicated :p

Alchohol dos funny things to the brain, 11 1/2 stellaas would have the same effect on most people. DAnke though, i'll do that now, i've actually done this a million times, htae it when i cant think properly.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-20 19:08:40


At 6/20/09 05:37 PM, liaaaam wrote:
Have a boolean flag..

var hitting:Boolean = false;
for(a:int=0; a<10; a++){
if(this.hitTest(_root["banana"+a])){
hitting = false;
}
}
if(!hitting){
trace("You ain't hitting nothing, bro");
}

So what he really REALLY meant was...

var hit:Boolean =false; for(var i = 0; i <arr.length; i++){ if(obj.hitTest(arr[i])){ hit=true; break; } } if(!hit){ // none of them are touching. }

Response to The Flash 'Reg' Lounge 2009-06-20 19:13:40


At 6/20/09 07:08 PM, Coolio-Niato wrote: var hit:Boolean =false;
for(var i = 0; i <arr.length; i++){
if(obj.hitTest(arr[i])){
hit=true;
break;
}
}
if(!hit){
// none of them are touching.
}

What does the break do? I never really figured that out.


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 2009-06-20 19:21:23


At 6/20/09 06:12 PM, Toast wrote: Stuff

Darn it, I didn't notice I put hitting=false in the hittest, how silly. He got it though =D

At 6/20/09 07:13 PM, KyleDaFox wrote: What does the break do? I never really figured that out.

It stops the current for loop. It's more efficient than running through the rest of the loop if you already had the info you needed :P


Sup, bitches :)

BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-20 19:28:21


At 6/20/09 07:21 PM, liaaaam wrote: It stops the current for loop. It's more efficient than running through the rest of the loop if you already had the info you needed :P

Ahh, that may be helpful, XD


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 2009-06-20 20:19:05


At 6/20/09 07:28 PM, KyleDaFox wrote:
At 6/20/09 07:21 PM, liaaaam wrote: It stops the current for loop. It's more efficient than running through the rest of the loop if you already had the info you needed :P
Ahh, that may be helpful, XD

on the same note, continue is useful too. It skips over the rest of the loop body, but then goes back to the conditional portion.

while(a++ > b){
if(b == 0) continue;

//lots of code
}

is similar to

while(a++ > b){
if(b != 0){
//lots of code
}
}

Response to The Flash 'Reg' Lounge 2009-06-20 22:06:42


Hey, I made a wireworld simulation :D use the dropdown box thing to choose the type of cell you want, and draw on the left to do stuff. the rest is obvious :) I also made a rule 30 and rule 110 sim (which can be easily switched into any other basic 1D rules) but they aren't as impressive. try making AND / OR / XOR gates with it :)

Heres's the source if anyone wants it.

Response to The Flash 'Reg' Lounge 2009-06-21 01:34:10


MGS3

After 14 hours and 6 minutes of hard ass work, i beat MGS3:Subsistence. Ill have to say that itss better rthen the fourth on. sorry im also like half drunk thts why u cant understnad me if u cant/. but now time to stay up and beat the first mgs

Response to The Flash 'Reg' Lounge 2009-06-21 01:46:12


At 6/21/09 01:34 AM, Blackfang wrote: MGS3

After 14 hours and 6 minutes of hard ass work, i beat MGS3:Subsistence. Ill have to say that itss better rthen the fourth on. sorry im also like half drunk thts why u cant understnad me if u cant/. but now time to stay up and beat the first mgs

14 fucking hours?! I beat it 7 WITH Tsuchinoko and at least Bear ranking.

Probably because I only own a PS2 as my gaming console so it's the only game I play.

Response to The Flash 'Reg' Lounge 2009-06-21 02:23:04


At 6/21/09 01:46 AM, Zyphonee wrote: 14 fucking hours?! I beat it 7 WITH Tsuchinoko and at least Bear ranking.

Probably because I only own a PS2 as my gaming console so it's the only game I play.

lol i was playin on a ps3 and i was on the medium difficutly and i olny played mgs4 before

Response to The Flash 'Reg' Lounge 2009-06-21 03:55:34


At 6/21/09 02:23 AM, Blackfang wrote:
At 6/21/09 01:46 AM, Zyphonee wrote: 14 fucking hours?! I beat it 7 WITH Tsuchinoko and at least Bear ranking.

Probably because I only own a PS2 as my gaming console so it's the only game I play.
lol i was playin on a ps3 and i was on the medium difficutly and i olny played mgs4 before

Try completing the game in less than 5 hours, no kills, no alerts, no continues, no health items used, on the highest difficulty... And no kills as you probably know includes no killing bosses as well. I think that was the Fox rank.

A guy once did all that without any camouflage at all....That's some crazy stuff there. Let me see if i can find him.

Response to The Flash 'Reg' Lounge 2009-06-21 04:00:04


You know what's a game that takes really long to play through? Front Mission 3. Fifty hours, with emulator quicksaves (so not counting the time you waste losing levels etc); it's a single CD.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 06:03:45


At 6/20/09 03:05 PM, Paranoia wrote: Also Delta can't handle his weed.

eh?

Response to The Flash 'Reg' Lounge 2009-06-21 07:33:06


At 6/20/09 06:17 PM, Depredation wrote: Alchohol dos funny things to the brain
At 6/20/09 02:51 PM, Paranoia wrote: Oblgatory drunken post

Speaking of alcohol, I never understood why people drink. It's damaging for the brain, it makes you stupid for a few hours and screws around with your memory. So why drink? does it taste good, feel good to be drunk? I drank beer on several occasions and it always tastes really bad. Now I know that's just personal opinion, but still. I might be wrong but I think that many people only drink because everyone does it. I hope I never start liking alcohol because I already do bad enough things to my brain as it is.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 08:04:10


At 6/21/09 07:33 AM, Toast wrote:
At 6/20/09 06:17 PM, Depredation wrote: Alchohol dos funny things to the brain
At 6/20/09 02:51 PM, Paranoia wrote: Oblgatory drunken post
Speaking of alcohol, I never understood why people drink. It's damaging for the brain, it makes you stupid for a few hours and screws around with your memory. So why drink? does it taste good, feel good to be drunk? I drank beer on several occasions and it always tastes really bad. Now I know that's just personal opinion, but still. I might be wrong but I think that many people only drink because everyone does it. I hope I never start liking alcohol because I already do bad enough things to my brain as it is.

alcohol doesn't damege the brain..only the liver and you throat if you puke..beer's tast will grow on you..and yes it is really fun to drink unless you get really drunk and puke..
tuna
Tuna is awesome i don't like fosh excepy tuna and in sushi


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 08:08:04


At 6/21/09 08:04 AM, patu1 wrote: alcohol doesn't damege the brain..only the liver and you throat if you puke..beer's tast will grow on you..and yes it is really fun to drink unless you get really drunk and puke..

Long-term alcohol abuse will damage your brain tissue. Think Korsakov syndrome.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 08:30:42


Am I socially accepted now that I'm level 25?


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 2009-06-21 08:39:04


At 6/21/09 08:30 AM, KyleDaFox wrote: Am I socially accepted now that I'm level 25?

The higher your level, the less socially accepted you will become.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 08:44:09


At 6/21/09 08:39 AM, Hoeloe wrote:
At 6/21/09 08:30 AM, KyleDaFox wrote: Am I socially accepted now that I'm level 25?
The higher your level, the less socially accepted you will become.

Then Luis is the god of our society.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 09:41:31


At 6/21/09 08:44 AM, Toast wrote: Then Luis is the god of our society.

Always has been, always will be.


.

BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 09:47:51


At 6/21/09 07:33 AM, Toast wrote: Speaking of alcohol, I never understood why people drink. It's damaging for the brain, it makes you stupid for a few hours and screws around with your memory. So why drink? does it taste good, feel good to be drunk? I drank beer on several occasions and it always tastes really bad. Now I know that's just personal opinion, but still. I might be wrong but I think that many people only drink because everyone does it. I hope I never start liking alcohol because I already do bad enough things to my brain as it is.

There are different types of alcohol.. lager is the most common, which is not to my tastes.. there's bitter, cider, and a huge array of different spirits (vodka, whiskey, etc). Some of them taste nice to different people, of course.. I drink cider, the apple-y one (not that it tastes apple-y). As to why they drink it, I don't know anyone that drinks alcohol that doesn't like the taste, and getting drunk makes you more talkative and makes you have more fun.

People that take drugs insist taking drugs is just like being drunk but safer, but all I see is them getting high and then being all paranoid about why night clubs are dark.


Sup, bitches :)

BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 10:10:51


Yay, fractals.

Slightly pointless post.

"To live is the rarest thing in the world. Most people exist, that is all."

- Oscar Wilde

BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 10:34:53


At 6/21/09 07:33 AM, Toast wrote: Speaking of alcohol, I never understood why people drink. It's damaging for the brain, it makes you stupid for a few hours and screws around with your memory. So why drink?

It's the only thing that numbs the pain any more...


The water in Majorca don't taste like what it oughta.

| AS3: Main | AS2: Main | Flash Tutorials |

BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 10:40:38


At 6/21/09 10:34 AM, Kirk-Cocaine wrote:
At 6/21/09 07:33 AM, Toast wrote: Speaking of alcohol, I never understood why people drink. It's damaging for the brain, it makes you stupid for a few hours and screws around with your memory. So why drink?
It's the only thing that numbs the pain any more...

I didn't hurt you did I?

Response to The Flash 'Reg' Lounge 2009-06-21 11:16:41


bit of a wino myself.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 11:39:13


Hey guys, we like Megaman Legends Fanart preview picture EXTRRRRRAVEGANZAAA. . . right?

Hows mah shading so far? as you can tell, headless megaman is shooting his non-buster cannon at something... I'm making it a wallpaper so this is of course only 1/8th or so of the whole picture, but the rest is just lil placement doodles.

Yay for art portal! :D

The Flash 'Reg' Lounge

Response to The Flash 'Reg' Lounge 2009-06-21 13:03:00


At 6/21/09 11:39 AM, Duchednier wrote: Hey guys, we like Megaman Legends Fanart preview picture EXTRRRRRAVEGANZAAA. . . right?
Yay for art portal! :D

Its pretty awesome :3 I would defiantly like to see the composition of the whole thing :D


.

BBS Signature

Response to The Flash 'Reg' Lounge 2009-06-21 13:19:55


At 6/20/09 06:12 PM, Toast wrote: What he meant is first definning a variable as false, then looping through all your objects and verifying hittest, while only defining your variable as true if a hittest returns true, without defining as false when hittest is false. Then, at the end of the loop, the value of your variable doesn't change if there are no hittests, and changes if there is 1 or more hittests. Seriously you could've done that on your own, it's not very complicated :p

Why the hell did i even ask that, i've done it a million times before. Oh well.

At 6/21/09 10:34 AM, Kirk-Cocaine wrote: It's the only thing that numbs the pain any more...

Your sig goes with this post :(.

At 6/21/09 07:33 AM, Toast wrote: Speaking of alcohol, I never understood why people drink. It's damaging for the brain, it makes you stupid for a few hours and screws around with your memory. So why drink? does it taste good, feel good to be drunk? I drank beer on several occasions and it always tastes really bad. Now I know that's just personal opinion, but still. I might be wrong but I think that many people only drink because everyone does it. I hope I never start liking alcohol because I already do bad enough things to my brain as it is.

Unless your an alcoholic it won't damage your brain permanently, the only reason it distorts vision is because it has a higher density than blood, meaning it tends to go to the lower parts of the brain like the optical lobe and hippocampal regions (which controls local movement, hence stumbling like an idiot). It's not chemically addictive like smoking and i only ever get pissed on special occasions, so no damage is done. The livers pretty tough, unless your on a metaphorical IV drip of ethanol, it'll be fine too.

Technical post to prove i'm not that stupid all the time :P.

BBS Signature