00:00
00:00
Newgrounds Background Image Theme

Unicronicorn 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,045,850 Views | 60,185 Replies
New Topic Respond to this Topic

Response to The Flash 'Reg' Lounge 2014-01-30 20:10:50


Shop menu. The "Sell All" button sets the number to the right to however many you have in your inventory. But "Sell All" might get confused with "Sell everything in my inventory." Any ideas on what I can change that to to make it less confusing?

The Flash 'Reg' Lounge

Response to The Flash 'Reg' Lounge 2014-01-30 20:17:34


At 1/30/14 08:10 PM, MSGhero wrote: Any ideas on what I can change that to to make it less confusing?

Sell All Potions, maybe?

At 1/30/14 06:53 PM, egg82 wrote: Go back like four or five pages :P

Couldn't find anything :(


Nav.. I'm the Nav!

Response to The Flash 'Reg' Lounge 2014-01-30 20:36:47


At 1/30/14 08:10 PM, MSGhero wrote: Any ideas on what I can change that to to make it less confusing?

Select All?

Response to The Flash 'Reg' Lounge 2014-01-30 20:49:57


At 1/30/14 08:36 PM, Diki wrote:
At 1/30/14 08:10 PM, MSGhero wrote: Any ideas on what I can change that to to make it less confusing?
Select All?

Aha...

I would do Sell all Pots but there isn't enough space for the names.

Response to The Flash 'Reg' Lounge 2014-01-30 21:19:57


At 1/30/14 08:49 PM, MSGhero wrote: I would do Sell all Pots but there isn't enough space for the names.

Sell stack
Sell selected stack

eh.


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 2014-01-31 09:06:52


At 1/30/14 03:33 AM, PSvils wrote: BTW, http://justgetflux.com/ I've used it for quite some time now, and I'm used to the way the glow changes. It's muuuch easier on the eyes.

Really like this. Eases my eyes a lot when it's dark.

Response to The Flash 'Reg' Lounge 2014-01-31 09:22:04


At 1/31/14 09:06 AM, Sam wrote:
At 1/30/14 03:33 AM, PSvils wrote: BTW, http://justgetflux.com/ I've used it for quite some time now, and I'm used to the way the glow changes. It's muuuch easier on the eyes.
Really like this. Eases my eyes a lot when it's dark.

I found out about them because flux showed up as a new jailbreak tweak in cydia one day. I still don't see it in the App Store so it was pretty lucky that I found it.

wow phone way to capitalize App Store

Response to The Flash 'Reg' Lounge 2014-02-01 01:31:35


"Eat this one weird thing and never diet again"
*a picture of some random weird-looking thing in someone's hand*

In other news MSGHero reminded me that Valve is tracking my every move when it comes to doing anything on Steam.
I've been playing around with Source Filmmaker because it looked like a fun little waste of time. I know enough about it now where I might actually make something useful at some point when I'm not bored of it any more.


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 2014-02-01 12:32:06


At 1/28/14 05:54 PM, kkots wrote:
At 1/28/14 05:47 PM, Rustygames wrote:
At 1/28/14 05:25 PM, kkots wrote: I started programming JSFL commands for Flash
So for example we had one for translations; the designer just clicked a text field and clicked "Make multilingual" and it would automatically wrap it in a clip with the right class linkage, create a second frame with an alternate text component (a third party requirement)
So you were using a server (maybe third party) to translate text at run-time?

And did you create Flash extensions (packs of commands, xml and other files that are redistributable via Extension Manager), or you were just writing .jsfl commands and using and distributing them directly via Command-->Run?

I believe we just ran them from the command menu manually. Although I do recall a couple of bits being distributed via an extension, but I can't remember exactly what or why


- Matt, Rustyarcade.com

Response to The Flash 'Reg' Lounge 2014-02-01 14:04:32


At 2/1/14 12:32 PM, Rustygames wrote: I believe we just ran them from the command menu manually. Although I do recall a couple of bits being distributed via an extension, but I can't remember exactly what or why

Aw, that's disappointing. I've written too many commands and now I started caring about sharing them. But that's not a problem, because I can just search it. Search it cold-heartedly, without passion, away from this community, alone *dramatically turns around and walks away*

Response to The Flash 'Reg' Lounge 2014-02-02 03:01:17


In case you were dying to know how I'm handling game flow in the Juggernaut RPG, I just saved your life.

it's 3am right now I'm sorry

Response to The Flash 'Reg' Lounge 2014-02-02 03:35:47


At 2/2/14 03:01 AM, MSGhero wrote: In case you were dying to know how I'm handling game flow in the Juggernaut RPG, I just saved your life.
it's 3am right now I'm sorry

1:00 AM my time. I'm getting pretty tired, edited videos and did work on the C# CJ deployer today.
That that any of you will actually use the deployer, it's just for Xelu to use when uploading new builds. He likes having big buttons he can just push and sit back while the computer does the work, and I don't blame him :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 2014-02-02 03:38:47


in other news, I'm a FREAKING IDIOT and permanently deleted a class from the project that I actually needed, now I get to re-write the damned thing.

Don't code at 1 AM :(


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 2014-02-02 09:29:10


At 2/2/14 03:38 AM, egg82 wrote: in other news, I'm a FREAKING IDIOT and permanently deleted a class from the project that I actually needed, now I get to re-write the damned thing.

Don't code at 1 AM :(

Source control for the win..

Response to The Flash 'Reg' Lounge 2014-02-02 10:29:07


At 2/2/14 03:38 AM, egg82 wrote: in other news, I'm a FREAKING IDIOT and permanently deleted a class from the project that I actually needed, now I get to re-write the damned thing.

Don't code at 1 AM :(

I get creative after 12am. Dropbox + synctoy = amazing.

Response to The Flash 'Reg' Lounge 2014-02-02 10:37:28


At 2/2/14 09:29 AM, Sandremss128 wrote:
At 2/2/14 03:38 AM, egg82 wrote: in other news, I'm a FREAKING IDIOT and permanently deleted a class from the project that I actually needed, now I get to re-write the damned thing.

Don't code at 1 AM :(
Source control for the win..

Pretty much. That's one of the reasons for why version control exists.

At 2/2/14 10:03 AM, PSvils wrote:
At 2/2/14 09:56 AM, Innermike wrote: I have an automator script run once a day that copies my project to the drop box folder and google drive and adds the date as a suffix.
Isn't it really easier to just use git?

Yes. Much, much easier. It's also more reliable.

Use git, you guys (and don't reinvent the wheel). Problem(s) solved.

Response to The Flash 'Reg' Lounge 2014-02-02 12:47:46


At 2/2/14 12:36 PM, Innermike wrote: elitism

The second time in my life I see the word "elitism" used in a dialog and the second time I fail to understand how is it relevant and what it is.

Response to The Flash 'Reg' Lounge 2014-02-02 13:34:34


At 2/2/14 12:36 PM, Innermike wrote: Except it's not and don't like anything about it so pls cool it with the elitism bruh.

If you want to do something the wrong way then go for it, but you're never going to get anywhere by actively avoiding version control because "you don't like it". You can call it "elitism" all you want, but the fact remains that to get anywhere as a developer you need to learn how things are done in the industry and why they're done that way.

Even if you don't want to get anywhere as a developer, and only develop things as a hobby, you're still setting yourself up for a headache when you end up needing to to merge old and current code, or having a person other than yourself working on your code, which is two of the things version control exists to simplify.

If you know for an absolute, beyond a shadow of a doubt fact that you will never need to merge old code or bring in more people to work on your project(s) then your ad hoc script will probably be fine, but you still have nothing to gain by not using version control.

Long story short: there's a reason that companies like Google, Valve, Mozilla, Crytek, Microsoft, Apple, and Ubisoft all use version control, as well as indie developers such as the people who made the games Limbo, Braid and Fez.

At 2/2/14 12:47 PM, kkots wrote: The second time in my life I see the word "elitism" used in a dialog and the second time I fail to understand how is it relevant and what it is.

He's saying that I'm being arrogant by telling him to use git because it's a simpler and more reliable system than him reinventing the wheel.

Response to The Flash 'Reg' Lounge 2014-02-02 14:26:34


At 2/2/14 02:15 PM, Innermike wrote: Man you nerds get mad easily.

Sh-shots fired?

pls u guise kiss and make up

Response to The Flash 'Reg' Lounge 2014-02-02 14:33:58


I'm not mad, but I most definitely am a nerd.

or maybe I am mad... it's my little secret

Response to The Flash 'Reg' Lounge 2014-02-02 14:40:53


At 2/2/14 12:36 PM, Innermike wrote:
At 2/2/14 10:37 AM, Diki wrote: Yes. Much, much easier.
Except it's not and don't like anything about it so pls cool it with the elitism bruh.

What's so hard about creating an one-line batch file?

Response to The Flash 'Reg' Lounge 2014-02-02 14:47:51


At 2/2/14 02:15 PM, Innermike wrote: Man you nerds get mad easily.

You're the only one, who's acting "mad" here.


Although not a follower of [hseroK divaD], she's a devoted Branch Davidian.

Response to The Flash 'Reg' Lounge 2014-02-02 15:41:23


At 2/2/14 03:14 PM, Innermike wrote: I know, he's totally right (obviously, he is Diki after all)

lol whattup

I do get what you're saying, though. It's analogous to how I drink too much beer, and I know I shouldn't because it's bad for me and gives me hangovers, but I do it anyway because I don't want to stop (though I have been cutting back ever since I found out my blood pressure is on the high end of normal).

I'm also curious: what about git do you not like?

Response to The Flash 'Reg' Lounge 2014-02-02 15:43:21


Some people are passionate about their childhood photo albums, and then some people are passionate about their git repositories. Before we all start describing each others mad emotions I have a question regarding the desk setup pictures from before:

Do you all have your monitor at the correct height?

Ideally you want to be looking at the centre of the screen when sitting and looking straight forward (which I don't even achieve completely even with a shitload of books below the monitor). I've experienced the early warning symptoms of RSI and since I'll be working with computers for the rest of my live I wanted to make damn sure my desk is ergonomic.

The Flash 'Reg' Lounge

Response to The Flash 'Reg' Lounge 2014-02-02 16:07:23


At 2/2/14 03:43 PM, Sandremss128 wrote: Do you all have your monitor at the correct height?

Mine sure as shit aren't. When I sit up straight my eye-level is a few centimetres above the top of my primary monitor, so I just adjust the angle of it to compensate. I'm not worried about RSI since I get up to stretch and move around multiple times per hour (I don't ever sit down for longer than an hour at a time). I used to have back pain caused by sitting in front of a computer so often, but moving around more, and exercising, got rid of that completely.

I could prop up one of my monitors to the proper height, but I would only have textbooks to do it like you did, and I don't have enough of them for both of my monitors. Having two at significantly different heights would bug the hell out of me.

Speaking of ergonomics, I plan on my next desk being a standing desk so I don't need to worry about sitting down for too long regardless of how often I use my computer (which is very often since I work on one). I haven't looked at how expensive they are, but something tells me I'll just end up building one instead of buying one.

Response to The Flash 'Reg' Lounge 2014-02-02 16:19:50


At 2/2/14 03:43 PM, Sandremss128 wrote: Ideally you want to be looking at the centre of the screen when sitting and looking straight forward

Oh...no.

Well, there's a use for these textbooks that no one wants after all!

Response to The Flash 'Reg' Lounge 2014-02-02 16:32:54


At 2/2/14 04:19 PM, MSGhero wrote:
At 2/2/14 03:43 PM, Sandremss128 wrote: Ideally you want to be looking at the centre of the screen when sitting and looking straight forward
Oh...no.

Well, there's a use for these textbooks that no one wants after all!

Also, those wrist gel pad things. I tried one with my mouse hand, but it only made my hand really cold from the pressure slowing my circulation (and it's already pretty bad). Do you have that issue? My keyboard pose is the base of my palms resting on the edge of my desk which can't be good for me. I don't have too much space on my desk to move it around :( #collegelife

Response to The Flash 'Reg' Lounge 2014-02-02 18:40:33


At 2/2/14 04:32 PM, MSGhero wrote: Also, those wrist gel pad things. I tried one with my mouse hand, but it only made my hand really cold from the pressure slowing my circulation (and it's already pretty bad). Do you have that issue?

Not at all, I just gently place my wrist on it and the gel thingy gives in a little bit. You must be really putting some force behind your wrist to cut off blood circulation to you hand lol. But then again I don't get cold easily so maybe I have good circulation anyway.

I never got RSI from the mouse (but from typing a lot) so I don't think you're missing out on anything, it just happened to be connected to my mousepad.

Response to The Flash 'Reg' Lounge 2014-02-02 19:21:39


I'm actually going to post in here about something that is related to Flash (crazy, I know).

If anyone here reads the Programming Regs Lounge thread you'll know that lately I've been doing a lot of tinkering with socket servers and clients, which has mostly been in C++, Python and JavaScript. I recently reinstalled Java, which the Flex SDK requires to compile to SWF, so that I could play around with sockets in AS3. Anyone who has used WebSockets before will know that the WebSocket protocol is very tedious to implement, which is one of the main reasons I opted to play around in AS3 for.

I really have to say that it's a breath of fresh air to see how easy it is to work with sockets in Flash. The protocol is as simple as responding to the policy request with a little bit of XML. I wrote these very basic functions for sending data to my server:

private function makeFrame(str:String, size:uint):ByteArray { var result:ByteArray = new ByteArray; var diff:int = size - str.length; result.writeUTFBytes(str); while (diff--) result.writeByte(0); return result; } private function send(str:String):void { var frameData:String = "NNP/1.0 LENGTH=" + str.length; var frame:ByteArray = makeFrame(frameData, 22); socket.writeBytes(frame); socket.writeUTFBytes(str); socket.flush(); }

Note: If you want to know why I'm padding the frame with zeroes you can read this post I made about how my server works. Short answer: because I have to.

I was originally planning on using the XMLSocket class, but it has no way of sending a null-terminated string (technically it's not sending a string at all, but it still has no way of sending a literal zero, only the character "0").

Using that I'm going to implement a multiplayer version of Pong to stress-test the server. It would be much smarter to use UDP for a game like that, but Flash Player doesn't support UDP, and ultimately I intend to use the server for something that TCP is very appropriate for. If all goes well I'll definitely be submitting the game to the Newgrounds Portal, which will be the first thing I've submitted in seven years.

Most of the server functionality is finished, so I just need to write the code for the client, and implement a communication protocol for managing actions that will take place during a game of Pong.

Response to The Flash 'Reg' Lounge 2014-02-02 19:58:52


At 2/2/14 07:21 PM, Diki wrote: Using that I'm going to implement a multiplayer version of Pong to stress-test the server. It would be much smarter to use UDP for a game like that, but Flash Player doesn't support UDP, and ultimately I intend to use the server for something that TCP is very appropriate for. If all goes well I'll definitely be submitting the game to the Newgrounds Portal, which will be the first thing I've submitted in seven years.

UDP IS supported. It's the DatagramSocket class. TCP servers and UDP sockets are only supported in AIR, however. TCP clients work just fine in the regular web Flash player.

I've made so many posts about networking in all types of different languages because it's a lot of fun :P
Flash is actually more tedious than most languages in the fact that you need to do some odd security stuff for our client/server communication to actually work beyond localhost. (Namely sending and responding to security requests and adding the host to the list of exceptions in the client, both of which use the security class)

Aside form that it's pretty much the same as anywhere else, UDP being faster with chances of packet loss or doubling, etc etc etc.


Programming stuffs (tutorials and extras)

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

thank Skaren for the sig :P

BBS Signature