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

Response to The Flash 'Reg' Lounge 2012-09-24 00:46:44


At 9/23/12 10:18 PM, Splyth wrote: An old school schmup game with a twist. Currently the engine is almost done as well as the level selector. Still have a lot of work on it though

there's always a lot of work to be done on it....somebody famous or something once said an artists work is never really done, just abandoned......


*citation needed

BBS Signature

Response to The Flash 'Reg' Lounge 2012-09-24 08:41:12


At 9/23/12 06:41 PM, PrettyMuchBryce wrote: Hey guys. So what's everybody building at the moment ?

nothing flash-related at the moment. Working on a general-use API (basic DB connection, basic security, etc.) in PHP so I can finally finish my website layout.
After that i'll probably get back to work on my last Flash project, Tactics.

Though I might want to make a completely separate API for handling Flash requests...

*cries*

Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2012-09-24 11:44:19


At 9/23/12 06:41 PM, PrettyMuchBryce wrote: Hey guys. So what's everybody building at the moment ?

A while ago I submitted this art, and I wasn't happy with it so I'm doing it again. Looks better now. It's concept art for a game I won't shut up about.

But I can't get back to that game til I finish my animation job to make a tonne of animated intros for this site. Which is gettin pretty boring actually.

Response to The Flash 'Reg' Lounge 2012-09-24 12:00:52


At 9/23/12 06:41 PM, PrettyMuchBryce wrote: Hey guys. So what's everybody building at the moment ?

Still trying to keep a steady flow of updates rolling out for The Drawing Grounds while also whipping up a concept for another game that can use the NG API as a sketchy multiplayer platform.

Sadly I am just running low on free time due to school and other commitments :/

Response to The Flash 'Reg' Lounge 2012-09-24 13:45:37


At 9/24/12 12:00 PM, Mattster wrote: Still trying to keep a steady flow of updates rolling out for The Drawing Grounds while also whipping up a concept for another game that can use the NG API as a sketchy multiplayer platform.

Sadly I am just running low on free time due to school and other commitments :/

Congrats on being the first guy to make a multiplayer game with NG's api :D

I'm still working hard on Concerned Joe the downloadable version. It's coming along pretty solid, we're trying to make it as awesome as possible, and we're trying to slowly build a following since I'm told marketing is very very very important in the downloadable market.

www.concerned-joe.com

So check around gaiz!

The other thing I'm really really happy with is how we handled the animations.

Since making spritesheets for HD graphics would be very large, and not very dynamic (if you wanted to slow down animations for example) so I ended up writing a sort of script that lets you animate in flash, and then exports every movieclip's properties in every frame as a JSON (or XML) and labels the frames and everything, so they can be easily animated in any engine in any language, even with frame interpolations and stuff.

The game's also time based so it can run at any FPS from 20 to 500, the faster the computer, the smoother the motion and animation.

Response to The Flash 'Reg' Lounge 2012-09-24 14:03:14


At 9/24/12 01:45 PM, 4urentertainment wrote: I'm told marketing is very very very important in the downloadable market.

I'd imagine so. I remember a friend of mine was making a C++ game, and was ripping on Flash for it's limitations. The one thing I pointed out was how much easier a flash game can be to distribute, especially when you're just a student starting to get into industry.

Even if the game is garbage, people will usually let a .swf load and hit play, rather than downloading a potentially dangerous and unknown .exe and running it.

Concerned Joe looks pretty neat! For some reason my FlashPlayer is screwing up any game with an ENTER_FRAME handler (it just decides to drop the framerate to 6-10), maybe I can properly play it in the future haha.

Response to The Flash 'Reg' Lounge 2012-09-26 02:40:31


At 9/24/12 02:03 PM, Mattster wrote: Concerned Joe looks pretty neat! For some reason my FlashPlayer is screwing up any game with an ENTER_FRAME handler (it just decides to drop the framerate to 6-10), maybe I can properly play it in the future haha.

Thanks! The flash version was super buggy and laggy anyway, the downloadable version hopefully won't disappoint.

At 9/24/12 03:41 PM, PSvils wrote: This sounds super interesting...mind sharing how you're rippin' the movieclips apart? Are you using the format library?

It's actually a lot simpler than it sounds. At first when I heard that my artist had worked with a programmer who "wrote a plugin to export animation data from flash" I was like "holy crap".

But then when I thought about it, all I really need to do is loop through the frames, and on each frame, loop through the children of the movieclip, get all their properties, x, y scaleX, scaleY, colorTransform etc... and export that in a JSON along with the frame labels and whatnot.

The only really tricky part was getting it to export in the format I wanted, and having to write an XML to JSON converter in AS3 because apparently I couldn't find one that worked.

Xelu talks about this in this post: http://concerned-joe.com/devblog/?p=396 (except replace "with this guy's nifty invention" to me having to write one from scratch, as it was overcomplicated and had a lot of features that I didn't use, and was a bit hard to customize to exactly the way we wanted")

Response to The Flash 'Reg' Lounge 2012-09-26 18:49:11


At 9/26/12 03:44 AM, PSvils wrote: (At first I thought you were decompiling the swf and getting the raw graphics data from objects, rather than just clip x/y/properties.)

I've played with this before a while ago and I'm gonna revive the idea for my next c++ game because fuck spritesheets, closure editor had like 3 different things I needed to do to add animation playback speeds / metadata into graphics (like where to attach objects to when a character is holding something and whatever). I wanna be able to just use the shitty form of nesting objects together in flash to be able to organize stuff.

It took about 2 weeks to get it working nice with my test, not a large investment of time at all. I get no gradients or line styles or bitmap fills, but its easy enough to work around that (convert line to fill in flash), and gradients/bitmapfill wouldn't really be that bad if you limit the number of control points you add to them. It renders it all in vector. Its not that bad actually, but I might make it so it caches ones to a bitmap if some flags are set on them.

I would recommend trying it if your curious and have a little bit of experience with opengl and c++, it really wasn't that bad.

Response to The Flash 'Reg' Lounge 2012-09-26 19:16:41


I forgot how awesome NAPE is. It's black magic, I swear.

Artist AWOL, writer AFK, need something to do...

Response to The Flash 'Reg' Lounge 2012-09-26 19:18:36


At 9/26/12 07:16 PM, MSGhero wrote: Artist AWOL, writer AFK, need something to do...

Compile a bunch of useful stuff into a library or API :P


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2012-09-27 01:36:58


At 9/26/12 06:49 PM, Glaiel-Gamer wrote:
At 9/26/12 03:44 AM, PSvils wrote: (At first I thought you were decompiling the swf and getting the raw graphics data from objects, rather than just clip x/y/properties.)
I've played with this before a while ago and I'm gonna revive the idea for my next c++ game because fuck spritesheets,

I think that's what Tom was talking about a page back or two. The moment I realized that everything was just data that you can access in some way or another was awesome.

Like how "fla" is just a renamed .zip file and extensions are all just superfluous ways for the programs/system to know what programs open what. Like I could make a .joe file and it would work just because it's a file and it has data in it and it's called file.joe

Also, to Glaiel, where you working on Closure full time or were you in college or something?

Response to The Flash 'Reg' Lounge 2012-09-27 13:26:24


At 9/26/12 06:49 PM, Glaiel-Gamer wrote: I've played with this before a while ago and I'm gonna revive the idea for my next c++ game because fuck spritesheets, closure editor had like 3 different things I needed to do to add animation playback speeds / metadata into graphics (like where to attach objects to when a character is holding something and whatever). I wanna be able to just use the shitty form of nesting objects together in flash to be able to organize stuff.

Just for curiosity, what was the closure editor like? Did you build it yourself form scratch, or are their tools out there that you can plug in for certain tasks? While I don't see myself jumping into C++ anytime soon, having the correct tools at hand will be important when I have time to move onto something like C# or java.


BBS Signature

Response to The Flash 'Reg' Lounge 2012-09-27 15:51:32


At 9/27/12 01:36 AM, 4urentertainment wrote: Also, to Glaiel, where you working on Closure full time or were you in college or something?

Dropped out of college in 2010 to work on it full time when we got funding (from the behemoth actually, woo newgrounds)

At 9/27/12 01:26 PM, 23450 wrote: Just for curiosity, what was the closure editor like? Did you build it yourself form scratch, or are their tools out there that you can plug in for certain tasks? While I don't see myself jumping into C++ anytime soon, having the correct tools at hand will be important when I have time to move onto something like C# or java.

I coded pretty much everything in closure 100% from scratch except for box2D, which I still ended up having to edit the source for it to get it to work right with bitmap physics.

The editor sucks. Its actually accessible in the steam build of the game just go set the flag for it in the config file and copy resources over into the /mods folder (there's a readme for it there).

There's about 3 different "editors" included in closure, and within those there's a few sub editors. Animation editor, sprite editor, level editor

Animation makes you input a PNG, then you define how many frames of animation on there, and how they're arranged (4x5 grid of frames, 18 frames total), and how much time to spend on each frame (with a little bar graph you can edit). There's a sub-editor here where you can place hotspots on each frame of animation (a.k.a. in the hands of all the "holding orb" animations for characters, and a few other ones), hotspots are referenced in the game code to attach objects together or just get points from the animation.

Sprite is a list of animations in a specific order, and dimensions of the sprite. This was wrong dimensions should have been part of the animation, but too bad by the time i realized that that was wrong it was too late to change it.

Level editor had 4 modes to it, collision editor, object editor, decorations editor, and properties editor.

Almost all main actions are done with hotkeys. Object editor has a selection menu though which I added when I ran out of hotkeys for objects. You can make a turret by placing a spotlight then hitting "t" while the spotlight is selected to set its turret flag.

Its a pretty nonintuitive editor, but since I made it myself I was able to add fixes to it all the time to clear up annoyances I had with it, and it ended up being really really efficient to work with for us in the end.

Response to The Flash 'Reg' Lounge 2012-09-27 23:21:55


These recent posts reminded me about using Flash Pro as a level editor. Holy shit! it's so much better than hardcoding those numbers in. After a snafu with bmd.draw and the matrix parameter, I came up with this.

Luckily this computer can easily handle alt tabbing while FPro is open. Efficiency!

I can see this working for menu layouts as well, which would help my (nonexistent?) artist transfer layouts to me. And it'll probably cut down the amount of code by a ton since a huge chunk of it is addChilding menu stuff and setting xy's. Awesome.

Response to The Flash 'Reg' Lounge 2012-09-28 00:01:25


At 9/27/12 11:21 PM, MSGhero wrote: I can see this working for menu layouts as well, which would help my (nonexistent?) artist transfer layouts to me. And it'll probably cut down the amount of code by a ton since a huge chunk of it is addChilding menu stuff and setting xy's. Awesome.

Why was a huge chunk of code addChilding menus, anyway? o.o?


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2012-09-28 00:11:31


At 9/28/12 12:01 AM, egg82 wrote: Why was a huge chunk of code addChilding menus, anyway? o.o?

Listeners, x, y, alpha, defaultTextFormat and all that textfield crap (made a class just to avoid typing out all of that every time), addChild, drawing menus via sprite.graphics (I-don't-have-an-artist programmer graphics), width, height, or the default text of 53 different buttons, menus, or textfields ~= 400 lines. It's not a HUGE chunk considering the class is 4700 lines, but still...removing lines without breaking the game makes me happy ^-^

Response to The Flash 'Reg' Lounge 2012-09-28 00:38:41


I'm working on an actionscript source code obfuscator written in Java; it is already functional and I've been testing it on various open source actionscript projects. Now I just need to fix some minor things, add some more features and options; and maybe create a GUI for people who fear the terminal.

Cool actually you should share this with us when you're done. I have tried other obfuscators. Even paid for them. I can never find a good one. I've always wanted something simple that will just rename my class, variable, and method names. As far as I know, theres nothing that exists that can do that free and easily.

nothing flash-related at the moment. Working on a general-use API (basic DB connection, basic security, etc.) in PHP so I can finally finish my website layout. After that i'll probably get back to work on my last Flash project, Tactics.

PHP is OK. I personally am not a huge fan, though. What is Tactics ?

Losing momentum with my zombie game...though I always switch between making music and programming in phases of a few months.

I agree. I read Tyler's post about his version of A* and it is very cool. I would love to know exactly how it works, though. How do you assign initial values to the nodes? It seems that every time the player makes a move then each node. 1: Decreases it's 'scent' value. 2: Sets the node at the players current position to 100% scent. Am I missing anything else ?

Still trying to keep a steady flow of updates rolling out for The Drawing Grounds while also whipping up a concept for another game that can use the NG API as a sketchy multiplayer platform.

Thats awesome. I agree w/ 4urentertainment. Ulitizing these NG APIs is probably good. I mean thats why they made them right?

I'm still working hard on Concerned Joe the downloadable version. It's coming along pretty solid, we're trying to make it as awesome as possible, and we're trying to slowly build a following since I'm told marketing is very very very important in the downloadable market.

Wow! That looks amazing. I really need to catch up your dev blog. Do you have a twitter that I can follow ? I am really impressed w/ your progress. Hope to be playing a full length concerned joe within the next year. :)

Even if the game is garbage, people will usually let a .swf load and hit play, rather than downloading a potentially dangerous and unknown .exe and running it.

Flash player still has 99% web browser penetration. There is value in that, regardless of what web technology hipsters tell you. :P

Response to The Flash 'Reg' Lounge 2012-09-28 07:31:05


At 9/28/12 12:38 AM, PrettyMuchBryce wrote: Wow! That looks amazing. I really need to catch up your dev blog. Do you have a twitter that I can follow ? I am really impressed w/ your progress. Hope to be playing a full length concerned joe within the next year. :)

Thanks for the kind words! Although I don't really use twitter that much, I just made this: https://twitter.com/ConcernedJoe

Until we start posting there, the devblog is probably where you'll find the latest stuff. We even made a mailing list that you can sign up to on the blog to be notified of new posts and stuff!

Response to The Flash 'Reg' Lounge 2012-09-28 16:46:16


At 9/28/12 12:38 AM, PrettyMuchBryce wrote: I agree. I read Tyler's post about his version of A* and it is very cool. I would love to know exactly how it works, though. How do you assign initial values to the nodes? It seems that every time the player makes a move then each node. 1: Decreases it's 'scent' value. 2: Sets the node at the players current position to 100% scent. Am I missing anything else ?

The way I did that demo was not quite scent based, but it was based on the idea. That one had 4 maps, a "distance from wall" map, a "distance from targets" map, a "number of zombies on each grid space" map, and then the final combined pathfinding map, every frame it would generate the number of zombies per grid space map, then run flood fill out the pathfinding map using the others as weights for how much effort was required to pass through a tile (to keep them away from walls and tiles with lots of zombies). I dunno I did it in 2010.

The way to do real scent-pathfinding (I did this before too but don't have a sample of it)

You have your pathfinding grid, each grid space is just a float of how much "scent" it has
To emit scent into the map, just add scent to the grid space the emitter is on. For targets you want to avoid, you add negative scent to the map.

Now to diffuse the map, its just a blur operation pretty much. Don't do it "in-place", you diffuse onto a NEW map then swap the new one in place of the old one. For grid space (x, y) in the new map, you just sum up the values from (x, y),(x-1, y),(x+1,y),(x,y-1),(x,y+1) from the old map, and divide by 5. If one of those spots is a wall, its value is 0, and the divisor decreases by 1 (not entirely necessary, you can also treat walls as just emitters that set their current value to 0 always, instead of adding or subtracting a flat amount). You're gonna want to multiply the value of each tile by .99 or something every tick too to prevent stuff from spiraling to infinity. Also you're gonna want to use sufficiently large values for emitters, otherwise tiles far away will have extremely small scent values (denormalized floats) which are REALLY slow to compute

Play around with it its fun. I curious about it for a while. Seems really like, suited for zombie games.

Response to The Flash 'Reg' Lounge 2012-09-30 13:04:27


Also something I did a few weeks ago:

Online Lines of Code counter

Because all the LOC counters I found had me downloading a complicated program/script and I couldn't find one that was quick and online. So there you go.

Response to The Flash 'Reg' Lounge 2012-09-30 14:09:44


I'm actually kinda waitin for this game design forum, I hope it's an actual thing now.

Response to The Flash 'Reg' Lounge 2012-09-30 15:56:30


At 9/28/12 12:38 AM, PrettyMuchBryce wrote: PHP is OK. I personally am not a huge fan, though. What is Tactics ?

Oh, I didn't see that :P

well, the API's really made for people like me that run or code more than one server, so
a) we don't have to type everything out over and over
and b) it'll handle all the cross-server stuff automatically

Tactics is... Well, think of WoW in a 2D flash game. Made with sprites so it looks kinda like pokemon.


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2012-10-01 11:38:14


At 9/30/12 02:09 PM, I-smel wrote: I'm actually kinda waitin for this game design forum, I hope it's an actual thing now.

I've still been on the fence. I get nervous that every attempt I make to improve NG ends up destroying some cherished pocket of community that I never fully comprehended, so the site just keeps getting more "technically correct" while becoming vacant of the people and spirit that made it fun to start with.

At the same time, those cherished pockets of community more likely move on when we DON'T make things correct fast enough. It's like the chicken or the egg.


Working on Nightmare Cops!

BBS Signature

Response to The Flash 'Reg' Lounge 2012-10-01 13:09:00


I think a dedicated game development forum would be cool, as long as you left the programming one, and probably a separate one for AS as well.


If ya have something to say, PM me. I have a lot of time to spare.

Also never PM egg82.

BBS Signature

Response to The Flash 'Reg' Lounge 2012-10-01 14:37:30


At 10/1/12 01:09 PM, MintPaw wrote: I think a dedicated game development forum would be cool, as long as you left the programming one, and probably a separate one for AS as well.

we already have a forum for AS.
Though it seems more and more like new people just flat-out ignore that forum and post AS questions elsewhere. Is it the layout, maybe?

Anyway: i'm not entirely sure what use a Game Dev forum would serve, to be honest. I mean, what would go in it?

Side-note: I got back to work on a multiplayer in AS.
Using AIR for sockets and config files because it's much faster than going through PHP via URLLoader. (3-10ms vs. 600+ms)

Too bad I can't submit a finished project to NG like that :(


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2012-10-01 14:45:57


At 10/1/12 02:37 PM, egg82 wrote: Anyway: i'm not entirely sure what use a Game Dev forum would serve, to be honest. I mean, what would go in it?

Stuff like this, or this, or more o this.

If Newgrounds isn't that, though, then I can just carry on going other places.

Response to The Flash 'Reg' Lounge 2012-10-01 15:00:21


At 10/1/12 02:37 PM, egg82 wrote: Anyway: i'm not entirely sure what use a Game Dev forum would serve, to be honest. I mean, what would go in it?

I-smel already replied but I had a little speech going on sooo...

Game design and game programming are two very different things. The flash forum right now is all about the technical aspects of creating a game.

Game design, arguably the most important job in games, involves discussions of what makes games fun, game concepts, and how you could make your game more fun or engaging, or how for example you could get people playing your game for long. Or level design, and what makes a good level. Or perhaps discussions of what your game's purpose is. Are you trying to entertain? Are you trying to convey a message? Are you experimenting with a new mechanic?

I believe we talked about this a few pages back.

Response to The Flash 'Reg' Lounge 2012-10-01 15:50:09


At 10/1/12 02:45 PM, I-smel wrote: Stuff like this, or this, or more o this.

I checked out your newspost. Well, checking out. Still watching all the vids :P

At 10/1/12 03:00 PM, 4urentertainment wrote: I-smel already replied but I had a little speech going on sooo...

haha, that's fine.

Game design and game programming are two very different things. The flash forum right now is all about the technical aspects of creating a game.

true, but the reg lounges serve that purpose pretty well. That's what I was referring to :P

my worry is that the forum will just be used as a dump for "Hey, look at this!" threads.

Game design, arguably the most important job in games, involves discussions of what makes games fun, game concepts, and how you could make your game more fun or engaging, or how for example you could get people playing your game for long. Or level design, and what makes a good level. Or perhaps discussions of what your game's purpose is. Are you trying to entertain? Are you trying to convey a message? Are you experimenting with a new mechanic?

I agree, but see above.

I believe we talked about this a few pages back.

I try to keep up with the lounges, but I fall behind at points.


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2012-10-01 16:46:20


At 10/1/12 11:38 AM, TomFulp wrote:
At 9/30/12 02:09 PM, I-smel wrote: I'm actually kinda waitin for this game design forum, I hope it's an actual thing now.
I've still been on the fence. I get nervous that every attempt I make to improve NG ends up destroying some cherished pocket of community that I never fully comprehended, so the site just keeps getting more "technically correct" while becoming vacant of the people and spirit that made it fun to start with.

At the same time, those cherished pockets of community more likely move on when we DON'T make things correct fast enough. It's like the chicken or the egg.

Game design forum would probably end up having some decent discussions, and like a million "HEY GUYS I DESIGNED THIS GAME ANYONE WANT TO PROGRAM AND ART IT FOR ME?"

But having a nice game design forum would be pretty cool, since I don't have a design forum I visit anymore since I left tigsource. Other than this cool private indie skype chat, which is neat cause we can discuss things we don't want to make public yet.

Anyway might wanna consider limiting posting/creating topics to people who have been credited on a game on NG if you make a design forum, just to tone down some of the noise.

Response to The Flash 'Reg' Lounge 2012-10-01 17:37:35


I don't think there being too much noise is that scary of a problem, I think nobody using it is main fear. I mean y'know, it's mostly going on in this ONE THREAD.
That's always the kind of thing you can add later anyway.

I was gonna say "oh man I wish I had a secret game design circle!" but then again I can still make everything public anyway.