00:00
00:00
Newgrounds Background Image Theme
Upgrade Your Account!

HO HO HOPE you become a Newgrounds Supporter this year!

We're working hard to give you the best site possible, but we have bills to pay and community support is vital to keep things going and growing. Thank you for considering!

Become a Supporter so NG can see another Christmas!

The Flash 'Reg' Lounge

3,085,288 Views | 60,186 Replies
New Topic Respond to this Topic

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


At 11/13/06 11:35 AM, Afro-Ninja wrote: I comment my stuff a lot. probably not as much as Johnny but still to the point that I should be able to go back to my code and easily find the spot I need

Same, i comment on practically every line, so if i, or someone else sees it, they know what stuff does and what it's supposed to do.

It may sound over the top, but i find it helps me allot.


BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 11:41:22


At 11/13/06 11:35 AM, Afro-Ninja wrote:
11k

Oh, and happy 11k Post AF ;).


BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 12:12:59


At 11/12/06 09:58 PM, DarkMana wrote: Anyways, what's everyone working at the moment?

Returning from the tangents to this topic to post an image. Still working on that GTA-style engine I posted a while back. Adding textures to the buildings is going to be nigh-on impossible for me at this stage, as I can't understand what kiroukou did to make perspective distorted bitmaps work, and I can hardly even decode the normal Drawing API instructions, let alone the stuff at that level.

Still going to texture the floor though. Up to 44 textures, which renders out to about 78kb as an SWF. I like tiles, and plan to use them a lot more for this kind of thing...

Screenie of a test to make sure tiles line up...

Also got Armor Game Xmas Contest entries with Wonchop and Blaze on the go. But this one has an earlier deadline than those two

The Flash 'Reg' Lounge


...

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 12:52:55


using flash for school topic

I had an assignment last year where I asked if I could use flash and one teacher said yes, then I asked later and was told I had to use powerpoint! arg. What I did in the end was export my flash file as a movie and place it in a powerpoint document. haha cunning trickery.
In general terms I can use flash a lot more than most for projects because I'm on an actual animation course so it's kinda the obvious choice.


BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 13:22:20


Hey kids. Did I miss anything this weekend?


BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 13:24:02


At 11/13/06 01:22 PM, NegativeONE wrote: Hey kids. Did I miss anything this weekend?

you missed my post about junk posts like that.

welcome back.


None

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 13:25:11


At 11/13/06 01:22 PM, NegativeONE wrote: Hey kids. Did I miss anything this weekend?

Ninja-Chicken found the importance of true love, Glaiel realised that fame and fortune isn't everything and Cybex discovered that his courage had been with him all along.

Other than that, no.


BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 13:34:54


At 11/13/06 01:24 PM, Luis wrote: you missed my post about junk posts like that.

Well sorry to have sullied your immaculate thread where no one ever talks of anything irrelevant.


BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 13:35:32


At 11/13/06 01:25 PM, Paranoia wrote:
At 11/13/06 01:22 PM, NegativeONE wrote: Hey kids. Did I miss anything this weekend?
Ninja-Chicken found the importance of true love, Glaiel realised that fame and fortune isn't everything and Cybex discovered that his courage had been with him all along.

Other than that, no.

zoy also found out he was actually a woman.


BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 14:07:31


At 11/13/06 01:35 PM, zoy wrote: zoy also found out he was actually a woman.

That would explain allot :P.

lol. Btw, thanks for that title, it looks awesome :).

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 14:33:09


At 11/13/06 01:25 PM, Paranoia wrote:
At 11/13/06 01:22 PM, NegativeONE wrote: Hey kids. Did I miss anything this weekend?
Ninja-Chicken found the importance of true love, Glaiel realised that fame and fortune isn't everything and Cybex discovered that his courage had been with him all along.

Other than that, no.

you forgot that Luis learned how to program and he popped his own egobubble

Response to The Flash 'Reg' Lounge 2006-11-13 14:52:56


At 11/13/06 11:07 AM, KaynSlamdyke wrote:
But Flash's standard is to compress it all to one line:
myarray = [0,0,0,1], [1,1,1,0],

supposedly as3 allows you to give each array within another array its own line

At 11/13/06 11:17 AM, jmtb02 wrote: I think a lot of us can say that our coding styles have changed over the past few years

ya i cant read my old stuff

Response to The Flash 'Reg' Lounge 2006-11-13 15:05:42


At 11/13/06 12:12 PM, KaynSlamdyke wrote: Also got Armor Game Xmas Contest entries with Wonchop and Blaze on the go. But this one has an earlier deadline than those two

blaze is gonna clean house this xmas. he and i are doing a lil somethin as well.
thats cool though, all is fair, as long as he can finish both (which im sure he can)


BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 15:10:43


I just found the coolest animation ever!
http://www.deviantart.com/deviation/33452119/
I love it, so stylish.

Response to The Flash 'Reg' Lounge 2006-11-13 15:12:25


At 11/13/06 02:52 PM, ImpotentBoy2 wrote: supposedly as3 allows you to give each array within another array its own line

lol as2 allows you to do that too.. just don't press autoformat.


Sup, bitches :)

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 15:15:24


When you lot animate a run cycle, do you have the arm flowing with the leg, or on opposites (so right leg going with left arm).

The 'correct' way is opposites (right leg, left arm / left leg, right arm) Because this is the way we walk and run. I find it weird animating this way, I think it's because it's harder to show twists in a very rough draft of the run, so they always end up being the same.

Edit(ish): I just went to draw a little diagram showing what I mean by opposite, but that looked quite strange..

Example of running the 'incorrect' way:
(Link)

The Flash 'Reg' Lounge


WEBSITE

BLOG ~ Dont fuck around with my dog. All that I can see I steal. ~

NG FFR ~ Automatic for the people.

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 15:16:34


At 11/13/06 12:12 PM, KaynSlamdyke wrote: Tile Stuff

When you come to making the city, why dont you make yourself a level builder, so you can design the level visually and it outputs the array needed.

Oh, and when I want multiline arrays, I do this:

a = [];
a[0] = [1, 2, 3, 4];
a[1] = [5, 6, 7, 8];

And so on.

As for comments, I use them sometimes, sometimes not.

But classes, I couldnt live without classes. Not really sure how I programmed before them... Imagine you have an enemy AI code, that needs to go on 20 different enemys. You could import an .as file onto all of them, but its so much easier and neater to use a class. Not to mention the usefulness of inheritance...

Here's an example of the class structure I used for BRCC:
Position - Person
- Building - SquareBuilding
Photo
DigiCam
HUD
Environment
Control
Island
Story

I read a great description of the use of classes in a book once (cant remember which one). It said the classes are like a microwave. You dont need to know exactly how a microwave works internally in order to use it, you only need to know how to use the simple interface and know what it can do. And when the time comes to cook a different meal, you dont need to build a microwave from scratch, just use your old one, because it'll still do exactly what it was built to do.

Tom~

Response to The Flash 'Reg' Lounge 2006-11-13 15:23:03


At 11/13/06 03:16 PM, The-Super-Flash-Bros wrote: I read a great description of the use of classes in a book once (cant remember which one). It said the classes are like a microwave. You dont need to know exactly how a microwave works internally in order to use it, you only need to know how to use the simple interface and know what it can do. And when the time comes to cook a different meal, you dont need to build a microwave from scratch, just use your old one, because it'll still do exactly what it was built to do.

Wierdest class description i've ever heard, but it's better than the Car example that EVERY SINGLE TUTORIAL EVER MADE gives..


Sup, bitches :)

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 15:57:09


At 11/13/06 03:16 PM, The-Super-Flash-Bros wrote: But classes, I couldnt live without classes. Not really sure how I programmed before them

Suprisingly, I've yet to make a game in flash using mainly OOP (nightstrike 2 will be mainly OOP though)

Flash makes a lot of things easy. For blockslide 2, instead of creating a class for the blocks (as i started this before using classes in flash), i simply put function definitions in the onClipEvent(load) of the character and block clips.

It's a pretty bad habit to get into, but there's still only like 500 lines of code in that entire project (aside from the level code decomposition and composition algorithms... those are pretty heavy)

Dont get me wrong though, but those 500 lines of code are some of the most advanced stuff I've done. All the functions are being used multiple times each.

One of my nasty habits in flash is that i still duplicate my movie clips. Every time i mention that people go "What? Just use attaching lolsz". Does anyone else here still duplicate their movie clips?

On the other hand though, when I started learning c++ i realized how important classes actually are. I made a simple engine using no classes, then i realized that i would get nowhere that way, so I spent a little time learning. Now almost everything I do in c++ is in classes. I have a giant libary of classes I can reuse over and over again, for heightmaps, textures, MD2 file format loading and displaying and interpolated animation classes, 3D vector class, colors (RGB->Hex, visa versa), cubes, spheres, cones, cylinders, cameras, etc. I really dont know how I'd survive c++ without OOP.

But the truth is, flash is built upon OOP. They built in the most important classes, and therefore I just find it more difficult to code in OOP with flash. It just seems unnecessary when the same effects can be achieved with functions and such.
I'm probably just a creature of habit though.

I do however use a 2D Vector class and a Container (smart array) class in all my projects, and sometimes a camera class if necessary.

Response to The Flash 'Reg' Lounge 2006-11-13 16:03:51


At 11/13/06 03:16 PM, The-Super-Flash-Bros wrote: When you come to making the city, why dont you make yourself a level builder, so you can design the level visually and it outputs the array needed.

Was the option I was going to choose. Still up to the stage where I'm sketching it all down on paper first.

Anyhow... this is a pretty good OOP tutorial for those still lost by the mad ramblings of the programmers. Thought I'd like to share that with you all and offer a change of subject: I'm interested in what your guys daily voting habits are.

Where do you get your Daily Five Flashes Voted on from? Do you load up the first five things under judgement and watch them (like me), or do you watch the first five eye catching things you spot on the Front Page or in the Top 5 of yesterday? Is there something you regularily vote on for the EXP? How often do you do overtime on the Portal, and why?

Of course, Luis doesn't need to answer this question. But would be nice to see what he thinks is the best method

...

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 16:07:42


At 11/13/06 04:03 PM, KaynSlamdyke wrote: Where do you get your Daily Five Flashes Voted on from?

i just vote 5 on my own stuff lolz

Response to The Flash 'Reg' Lounge 2006-11-13 16:20:22


At 11/13/06 03:57 PM, Glaiel-Gamer wrote: I do however use a 2D Vector class and a Container (smart array) class in all my projects, and sometimes a camera class if necessary.

im currently working on a vector class, only problem is i have like 3 didfferent ideas on how to do each thing and i cant decide which is better. although ill probly redo it anyways in as3.

At 11/13/06 03:12 PM, liaaaam wrote: lol as2 allows you to do that too.. just don't press autoformat.

thats what i meant, it formats like that

Response to The Flash 'Reg' Lounge 2006-11-13 16:24:34


I vote on my current favs, just five em every day and five my triforce game, sometimes I'll go in and vote on under judgement submissions, but its hard since you don't know if its gonna be crap or not... and I'm in a dilema with either making a christmas game or a short toon...


Whoa its me!

Response to The Flash 'Reg' Lounge 2006-11-13 16:33:03


At 11/13/06 04:07 PM, Glaiel-Gamer wrote: i just vote 5 on my own stuff lolz

90% of people do, and the other %10 lie about it.


No more animated sigs. :(

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 16:36:18


At 11/13/06 04:07 PM, Glaiel-Gamer wrote: i just vote 5 on my own stuff lolz

I should say something about the fact that is cheating, but everyone does it and it's not as if you need it >:D

At 11/13/06 04:20 PM, ImpotentBoy2 wrote: thats what i meant, it formats like that

hehe ok ^^ thought you might've


Sup, bitches :)

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 16:39:33


At 11/13/06 04:33 PM, orb wrote:
At 11/13/06 04:07 PM, Glaiel-Gamer wrote: i just vote 5 on my own stuff lolz
90% of people do, and the other %10 lie about it.

Eeh, no. I vote on frontpage stuff mainly. For example, Red Baron - 5, Tri-Achnid - 5, 'Fuck off - 4, other obscure stuff - 2-4ish. I tend to do it quickly without watching.

I have this thing called the NG toolbar which a few of you may have, that helps too.. although haven't really used it alot. I don't like voting on stuff, i'm quite hypocritical and tend to put something down before i've even watched it especially in the portal.

My cool dog Lola sporting some antenna's. Fanku Luis, she's happy now.

The Flash 'Reg' Lounge


WEBSITE

BLOG ~ Dont fuck around with my dog. All that I can see I steal. ~

NG FFR ~ Automatic for the people.

BBS Signature

Response to The Flash 'Reg' Lounge 2006-11-13 16:40:11


I certainly didn't get a 3.96 BA from letting other people vote on my flashes!

Response to The Flash 'Reg' Lounge 2006-11-13 16:53:17


i dont vote anymore, i dont care enough to do it. i know id have a much higher BA if i did though.

Response to The Flash 'Reg' Lounge 2006-11-13 17:04:23


At 11/13/06 04:40 PM, Cybex wrote: I certainly didn't get a 3.96 BA from letting other people vote on my flashes!

I personally found it's best not to submit something and then proceed to go about talking shit to the conservatives in the Politics forum. I had something go from a 4.15 to (I think it's currently) 3.8x for that reason, and it'd already had its limelight, been out of it for some time with a few thousand votes.
I think it's kind of funny. Someone had to get their retribution! =p

Response to The Flash 'Reg' Lounge 2006-11-13 17:12:13


At 11/13/06 04:40 PM, Cybex wrote: I certainly didn't get a 3.96 BA from letting other people vote on my flashes!

amen to that! (:

my voting habits are kind of random. for sure, i'll vote on my top 3 submissions, but the other two are just kind of whatever i find in the portal.


snyggys