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

Response to The Flash 'Reg' Lounge 2009-09-13 23:22:58


At 9/13/09 02:17 PM, jmtb02 wrote: I got married yesterday, what are you guys up to this weekend?

Congratulations John! Looks like you had a beautiful wedding! All the best, my man.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 00:30:15


i am currently working on the greatest picture i have ever done.

The Flash 'Reg' Lounge


Sig made by me

Once again i'm falling down a mountain like a metaphor

Here ends another post by the grand master of all things: fluffkomix

BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 11:05:50


Congrats on marriage Cooney!

Response to The Flash 'Reg' Lounge 2009-09-14 11:26:27


At 9/14/09 12:30 AM, fluffkomix wrote: i am currently working on the greatest picture i have ever done.

Too small, who is it?

Animating Explosions
I hate it, how does this look?


BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 11:29:49


At 9/14/09 11:26 AM, Xeptic wrote: Animating Explosions
I hate it, how does this look?

It looks great, a bit different to a lot of explosions ive seen, but thats a good thing :)

Maybe add a few bright sparks that bounce off the floor/wall?


BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 11:39:55


The Lego Turing Machine is quite cool.
Lego


"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-09-14 11:46:53


At 9/14/09 11:26 AM, Xeptic wrote: Animating Explosions
I hate it, how does this look?

They are a real pain in the ass. But its looking really good. I always like to add a flash of light at the start of an explosion, and maybe it needs to start off faster. The start of an explosion should be really fast, and everything starts to slow down during the whole thing. Gives it all a little more of a punch.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 12:47:15


At 9/13/09 05:50 PM, trig1 wrote: I've recently become obsessed with cellular automata. I've made a wireworld sim, a cyclic automata, an averaging cells one (don't know the real name for that one), and rules 31, 90, and 184. The only big ones I haven't made is Conways Game of Life and Langton's ant.

For an AS3 contest a while back, I made a 3D cellular automaton. The contest was to write something cool in 25 lines on the first frame of a CS4 timeline, so just paste this there and run. Mouse rotates, click to reset

Tom-

/** * 25-Line ActionScript Contest Entry * * Project: 3D Cellular Automaton (Click to reset, move to rotate) * Author: Tom Vian (thomas.vian07@gmail.com) * Date: 29 / 11 / 08 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ // 3 free lines! Alter the parameters of the following lines or remove them. // Do not substitute other code for the three lines in this section [SWF(width=300, height=300, backgroundColor=0xFFFFFF, frameRate=12)] stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.EXACT_FIT; // 25 lines begins here! main(Vector.<Vector.<uint>>([Vector.<uint>([0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]), Vector.<uint>([0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0])]), new Vector.<Bitmap>(), new Vector.<Vector.<Vector.<uint>>>(), Sprite(this.addChild(new Sprite()))); function main(rule:Vector.<Vector.<uint>> = null, planes:Vector.<Bitmap> = null, model2:Vector.<Vector.<Vector.<uint>>> = null, container:Sprite = null, model1:Vector.<Vector.<Vector.<uint>>> = null, tempModel:Vector.<Vector.<Vector.<uint>>> = null, i:int = 0, j:int = 0, k:int = 0, size:uint = 16, gap:uint = 8):void { for(model1 = Vector.<Vector.<Vector.<uint>>>([new Vector.<Vector.<uint>>()]); model1.length <= size; model1.push(new Vector.<Vector.<uint>>())) { (planes[planes.length] = Bitmap(container.addChild(new Bitmap(new BitmapData(size*gap, size*gap, true, 0))))).transform.matrix3D = new Matrix3D(Vector.<Number>([1,0,0,0,0,1,0,0,0,0,1,0,-size*gap*0.5, -size*gap*0.5, size * 0.5 * gap - gap * (planes.length-1), 1])); model2.push(new Vector.<Vector.<uint>>()); for(model1[model1.length - 1].push(new Vector.<uint>()); model1[model1.length - 1].length <= size; model1[model1.length - 1].push(new Vector.<uint>())) { model2[model1.length - 1].push(new Vector.<uint>()); for(model1[model1.length - 1][model1[model1.length - 1].length-1].push(uint(Math.random()*2)); model1[model1.length - 1][model1[model1.length - 1].length-1].length <= size; model1[model1.length - 1][model1[model1.length - 1].length-1].push(uint(Math.random()*2))) model2[model1.length - 1][model1[model1.length - 1].length-1].push(model1[model1.length - 1][model1[model1.length - 1].length-1][model1[model1.length - 1][model1[model1.length - 1].length-1].length-1]); } } // 8 stage.addEventListener(Event.ENTER_FRAME, act); function act(e:Event = null):void { for(i = 0; i < size; i++) { for(j = 0; j < size; j++) { for(k = 0; k < size; k++) planes[i].bitmapData.fillRect(new Rectangle(j*gap, k*gap, gap, gap), 0x0F000000 + (0xF0000000) * (model2[i][j][k] = rule[model1[i][j][k]][v(i-1,j-1,k-1) + v(i,j-1,k-1) + v(i+1,j-1,k-1) + v(i-1,j,k-1) + v(i,j,k-1) + v(i+1,j,k-1) + v(i-1,j+1,k-1) + v(i,j+1,k-1) + v(i+1,j+1,k-1) + v(i-1,j-1,k) + v(i,j-1,k) + v(i+1,j-1,k) + v(i-1,j,k) + v(i+1,j,k) + v(i-1,j+1,k) + v(i,j+1,k) + v(i+1,j+1,k) + v(i-1,j-1,k+1) + v(i,j-1,k+1) + v(i+1,j-1,k+1) + v(i-1,j,k+1) + v(i,j,k+1) + v(i+1,j,k+1) + v(i-1,j+1,k+1) + v(i,j+1,k+1) + v(i+1,j+1,k+1)]) + ((0xFF * i / size) << 16)); } } tempModel = model2; model2 = model1; model1 = tempModel; } // 16 function v(i:int, j:int, k:int):uint {return model1[(i+size)&(size-1)][(j+size)&(size-1)][(k+size)&(size-1)];} stage.addEventListener(MouseEvent.MOUSE_MOVE, changeView); function changeView(e:MouseEvent = null):void {container.transform.matrix3D = Matrix3D.interpolate(new Matrix3D(Vector.<Number>([0.707,0,0.707,0,0,1,0,0,-0.707,0,0.707,0,stage.stageWidth / 2,stage.stageHeight / 2,-50,1])), new Matrix3D(Vector.<Number>([0.707,0,-0.707,0,0,1,0,0,0.707,0,0.707,0,stage.stageWidth / 2,stage.stageHeight / 2,-50,1])), 0.5 - (stage.mouseX - (stage.stageWidth / 2)) / stage.stageWidth); } changeView(); // 20 stage.addEventListener(MouseEvent.CLICK, reset); function reset(e:MouseEvent = null):void { for(i = 0; i < size; i++) { for(j = 0; j < size; j++) { for(k = 0; k < size; k++) model1[i][j][k] = uint(Math.random()*2); } } } // 25 } // 25 lines ends here!

Response to The Flash 'Reg' Lounge 2009-09-14 13:33:42


At 9/14/09 12:47 PM, The-Super-Flash-Bros wrote: For an AS3 contest a while back, I made a 3D cellular automaton. The contest was to write something cool in 25 lines on the first frame of a CS4 timeline, so just paste this there and run. Mouse rotates, click to reset

hooray for 3d automata. thats pretty cool, but 35 lines by my count

Response to The Flash 'Reg' Lounge 2009-09-14 13:48:14


At 9/14/09 01:33 PM, ImpotentBoy2 wrote: hooray for 3d automata. thats pretty cool, but 35 lines by my count

Note the counting guide comments.

Why not write nested fors like:

for(i = 0; i < size; i++) for(j = 0; j < size; j++) for(k = 0; k < size; k++)

It's silly that serious contests are governed by metrics like line or character counts. Code size should be measured by counting the nodes in the AST.
I'm sure Toast wants to implement it, right now.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 14:04:49


At 9/14/09 01:48 PM, GustTheASGuy wrote: It's silly that serious contests are governed by metrics like line or character counts. Code size should be measured by counting the nodes in the AST.

I dunno, it was fun for the few months it ran. Here's one of my favourite finalists

Plus AST node counts aren't available to most developers, and especially not in Flash CS4, the release of which the contest was promoting

Tom-

Response to The Flash 'Reg' Lounge 2009-09-14 14:14:57


At 9/14/09 02:04 PM, The-Super-Flash-Bros wrote: I dunno, it was fun for the few months it ran.

That 3D cellular automata is cool but it's difficult to see what's actually happening.. if I didn't know better I'd say it was almost completely random noise :X

Here's one of my favourite finalists

I've seen some really cool things in that tournament, that's one of the best.. bookmarked :X Would make a fantastic screensaver!


Sup, bitches :)

BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 14:38:30


At 9/12/09 07:07 PM, Glaiel-Gamer wrote: It'd be cool if you could make a flash 10 playback API for it so people could playback the sounds simply based on a short list of parameters, or even "mutate" it on the fly.

I've added a playMutated function to the synth. It plays a slightly mutated version of the sound, but keeps the same settings, so it mutates around the same base sound. Should be cool for giving a little variation to those often repeated sounds

Also added a bunch of useful parameter setting functions, just to make setting up a sound easy. The way I'm using it in my own code to use the app to find a sound, copy the string and paste it into my code as the parameter to setSettingsString.

App here
Source here

Tom-

Response to The Flash 'Reg' Lounge 2009-09-14 14:44:52


At 9/14/09 01:48 PM, GustTheASGuy wrote:
At 9/14/09 01:33 PM, ImpotentBoy2 wrote: hooray for 3d automata. thats pretty cool, but 35 lines by my count
Note the counting guide comments.

ya i saw them, i took out all comments, single line for brackets, yada, and got to 35, im sure theres something i'm missing, but what

It's silly that serious contests are governed by metrics like line or character counts. Code size should be measured by counting the nodes in the AST.

huh? wikipleazia

At 9/14/09 02:04 PM, The-Super-Flash-Bros wrote: I dunno, it was fun for the few months it ran. Here's one of my favourite finalists

if that didn't win then the only possible winner i can conceive would be the original star wars procedurally generated in 25 lines of code

Response to The Flash 'Reg' Lounge 2009-09-14 14:52:00


At 9/14/09 02:44 PM, ImpotentBoy2 wrote: ya i saw them, i took out all comments, single line for brackets, yada, and got to 35, im sure theres something i'm missing, but what

Brackets weren't counted :)

Tom-

Response to The Flash 'Reg' Lounge 2009-09-14 15:32:00


At 9/14/09 12:47 PM, The-Super-Flash-Bros wrote: For an AS3 contest a while back

This one is awesome.


BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 16:19:41


At 9/14/09 12:47 PM, The-Super-Flash-Bros wrote: For an AS3 contest a while back, I made a 3D cellular automaton.

Only CS3 for little old me. Compiled version anywhere? I'm kinda excited :D

Response to The Flash 'Reg' Lounge 2009-09-14 16:46:36


At 9/14/09 04:19 PM, trig1 wrote:
At 9/14/09 12:47 PM, The-Super-Flash-Bros wrote: For an AS3 contest a while back, I made a 3D cellular automaton.
Only CS3 for little old me. Compiled version anywhere? I'm kinda excited :D

http://spamtheweb.com/ul/upload/140909/8 1939_3D_thingy_by_SFB-Tom.php

Response to The Flash 'Reg' Lounge 2009-09-14 16:55:16


At 9/14/09 11:39 AM, Deadclever23 wrote: The Lego Turing Machine is quite cool.
Lego

That could be the coolest thing I've ever seen.

<3

Response to The Flash 'Reg' Lounge 2009-09-14 17:20:31


At 9/14/09 04:46 PM, knugen wrote: link

Wow, that's pretty cool, especially for 25 lines.

Response to The Flash 'Reg' Lounge 2009-09-14 20:29:18



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-09-14 20:37:43


At 9/14/09 08:29 PM, Kirk-Cocaine wrote: Patrick Swayze is dead!

http://news.bbc.co.uk/1/hi/world/america s/8256033.stm

just saw that like 15 minutes ago on the news!


Sig made by me

Once again i'm falling down a mountain like a metaphor

Here ends another post by the grand master of all things: fluffkomix

BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 20:39:42


At 9/14/09 08:29 PM, Kirk-Cocaine wrote: Patrick Swayze is dead!

http://news.bbc.co.uk/1/hi/world/america s/8256033.stm

wait just realized i've only ever heard of the movie The Outsiders with him and that was because of a class project.

Don't worry Ponyboy, everything'll be all right

Sig made by me

Once again i'm falling down a mountain like a metaphor

Here ends another post by the grand master of all things: fluffkomix

BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 20:49:05


At 9/14/09 08:39 PM, fluffkomix wrote: wait just realized i've only ever heard of the movie The Outsiders with him and that was because of a class project.

Don't worry Ponyboy, everything'll be all right

The book was great,
but the move was terrible

Stay gold, ponyboy

BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 20:51:11


At 9/14/09 08:29 PM, Kirk-Cocaine wrote: Patrick Swayze is dead!

D'aw, quite a young guy.. only film of his I've seen is Ghost though. I think.


Sup, bitches :)

BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-14 21:14:17


At 9/14/09 08:49 PM, Magical-Zorse wrote: The book was great,
but the move was terrible

Seconded.

God dammit Dallas.

BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-15 10:08:54


I'm glad he doesn't have to suffer anymore. If the disease is a lady, then the treatment is a bitch. RIP


BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-15 13:03:21


lets all watch roadhouse tonight.... in memory

Response to The Flash 'Reg' Lounge 2009-09-15 13:40:10


At 9/15/09 01:19 PM, ImpendingRiot wrote: Ghost is one of my biggest guilty pleasures EVER. I watch it whenever it is on TV.

Agree. Also congrats on Daily Feature today :3


None

BBS Signature

Response to The Flash 'Reg' Lounge 2009-09-15 13:47:17


Yaaaay, I just got my ticket confimation for this years Flash On The Beach. Any of the other UK regs going?

Tom-