Be a Supporter!

The Flash 'Reg' Lounge

  • 1,720,076 Views
  • 63,694 Replies
New Topic Respond to this Topic
swishcheese
swishcheese
  • Member since: May. 12, 2007
  • Offline.
Forum Stats
Member
Level 14
Programmer
Response to The Flash 'Reg' Lounge 2013-11-11 06:13:06 Reply

Whats up. Not liking school right now.

Just starting messing with particles in my free time. Go here

15,000 particles just bouncing around. Does not seem to be lagging on my end. Who is the guy to go to with a crappy computer?

Is it PSvils?


BBS Signature
swishcheese
swishcheese
  • Member since: May. 12, 2007
  • Offline.
Forum Stats
Member
Level 14
Programmer
Response to The Flash 'Reg' Lounge 2013-11-11 06:53:07 Reply

Sorry. But this is just really cool. (Well, I think so)

Perfect Circle Explosion

Realistic Explosion


BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-11 09:26:36 Reply

At 11/11/13 12:04 AM, MSGhero wrote: Well I hope it's not...it's an rpg so I mean it might be boring for your viewers.

i'm sure it's fine :P
though yeah, I might have to edit an RPG down.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-11 10:20:35 Reply

'course, come to think of it I probably won't be doing any of the same series in four months. After looking over the analytics for a while, I figured out that I need to keep changing series/formats/games to stay current.

So, yeah. Spastic content ahoy?


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-11 13:53:30 Reply

At 11/11/13 06:53 AM, swishcheese wrote: Sorry. But this is just really cool. (Well, I think so)

Perfect Circle Explosion

Realistic Explosion

Welcome to particles! :P And both of those links were the same.

Yes I have a shit computer, your first demo ran fine, though you have no FPS meter, so I can't really say. The other ones seemed smooth, though again, I'm probably cutting to 40fps from 60 or something, with a bit of jitteriness, you need to put an fps meter somewhere.

swishcheese
swishcheese
  • Member since: May. 12, 2007
  • Offline.
Forum Stats
Member
Level 14
Programmer
Response to The Flash 'Reg' Lounge 2013-11-11 18:57:08 Reply

At 11/11/13 01:53 PM, PSvils wrote:
At 11/11/13 06:53 AM, swishcheese wrote: Sorry. But this is just really cool. (Well, I think so)

Perfect Circle Explosion

Realistic Explosion
Welcome to particles! :P And both of those links were the same.

Yes I have a shit computer, your first demo ran fine, though you have no FPS meter, so I can't really say. The other ones seemed smooth, though again, I'm probably cutting to 40fps from 60 or something, with a bit of jitteriness, you need to put an fps meter somewhere.

Opss. That was early in morning. I up it to 60 fps and added a meter. I will have the links right this time too.

20000 particles bouncing around

Perfectly Aligned Explosion

Realistic Explosion


BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-11 22:56:14 Reply

At 11/11/13 06:57 PM, swishcheese wrote: 20000 particles bouncing around

Perfectly Aligned Explosion

Realistic Explosion

all 60-61 FPS, never dipping below. But I own a decent PC, so I guess it doesn't really count :P


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to The Flash 'Reg' Lounge 2013-11-11 23:12:07 Reply

At 11/11/13 06:57 PM, swishcheese wrote: Perfectly Aligned Explosion
Realistic Explosion

But they're functionally identical though aren't they? The 2nd one is just has the starting coords jiggled around a little. If there are no external forces acting on an expansion from a point causing distortion (which seems to be the case here) then the first one would be more realistic.

Just nitpicking nonsense, anyway @egg82 since you have such a beefy machine how does this run for you? http://www.simppa.fi/experimental/as3/2011/molehillparticle/1_4_million/


nobody

Sam
Sam
  • Member since: Oct. 1, 2005
  • Offline.
Forum Stats
Moderator
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-11-11 23:49:08 Reply

At 11/11/13 11:12 PM, Innermike wrote: Just nitpicking nonsense, anyway @egg82 since you have such a beefy machine how does this run for you? http://www.simppa.fi/experimental/as3/2011/molehillparticle/1_4_million/

10/10 song choice right there. Does it supply an FPS counter or do I have to do it myself? It looks nice, though.

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-11 23:57:54 Reply

At 11/11/13 11:12 PM, Innermike wrote: Just nitpicking nonsense, anyway @egg82 since you have such a beefy machine how does this run for you? http://www.simppa.fi/experimental/as3/2011/molehillparticle/1_4_million/

Not fullscreened, I can do 15-20ish fps.

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-12 10:40:06 Reply

At 11/11/13 11:12 PM, Innermike wrote: Just nitpicking nonsense, anyway @egg82 since you have such a beefy machine how does this run for you? http://www.simppa.fi/experimental/as3/2011/molehillparticle/1_4_million/

With recording, 59-60 (I had to use FRAPS, so the framerate is really HDD-dependent)
Without, of course, never below 60. Fullscreen all the way.
I have a gaming rig that's meant to play and record things like BF4. You aren't going to kill it with Flash :P

Anyway, yeah. If you want to keep throwing challenges my way i'm completely okay with that, I kinda want to see what I can handle and what I can't. If you wan "optimization/how's this" advice, I think PS is your guy to talk to.

Three cheers for YT atrifacting and copyright system, eh?

Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-12 16:52:07 Reply

So after watching the entire 1.4 million particle thing, I really wanted to record it for you guys so you could watch it (it really is beautiful) - so far the best FPS i'm getting is from FRAPS in FireFox, which records at 60 but dropped as low as 30 during one bit of the recording. I'm experimenting with some different stuff, but yeah. It's really nice and you should see it in its full 60 FPS glory :3

Here's a quick benchmark while not recording, if anyone's interested. Probably not, but I did it anyway :P
2013-11-12 14:40:50 - FlashPlayerDebugger
Frames: 22485 - Time: 374746ms - Avg: 60.001 - Min: 59 - Max: 61


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to The Flash 'Reg' Lounge 2013-11-12 19:03:35 Reply

At 11/12/13 04:52 PM, egg82 wrote: I really wanted to record it for you guys so you could watch it

Well I couldn't tell a difference in framerate between your recording and running it (fullscreen) on my low end macbook air so I think PS may be the only guy to really benefit, but yeah upload the full thing to your YT anyway, it's pretty cute.

Sidenote, since when does youtube officially support 60fps? I had friends that used to upload gameplay and they said youtube forcibly cuts it down to 30

nobody

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-12 19:11:23 Reply

At 11/12/13 07:03 PM, Innermike wrote: Well I couldn't tell a difference in framerate between your recording and running it (fullscreen) on my low end macbook air so I think PS may be the only guy to really benefit, but yeah upload the full thing to your YT anyway, it's pretty cute.

hmm, I suppose I can see why. Anyway, yeah. I think I figured out how to record it at true settings with true quality, I just gotta make sure the final mp4 (after render) isn't artifacted, even though YT will artifact it anyway. Don't want to compound the problem.

Sidenote, since when does youtube officially support 60fps? I had friends that used to upload gameplay and they said youtube forcibly cuts it down to 30

29.97, actually. And probably never, though usually you can still tell the different between a 60 FPS recording and a 30 FPS recording, even when the final video is cut down.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-13 13:35:27 Reply

Recorded, edited, encoded, and uploaded.
Framrate for the most part was anywhere between 57-60, though a few times during intense sections it dropped to about 45. Once it dropped to as low as 35 :(
Encoded it with blu-ray quality settings and compressed it down into an mp4.
Uploaded to both YouTube and MediaFire because YouTube re-encodes videos with really poor-quality settings.
Original file is on MediaFire, I seriously recommend watching it there. The YT video looks awful in comparison.

Enjoy?

YouTube: https://www.youtube.com/watch?v=1GPdvy-NlC4
MediaFire: http://www.mediafire.com/watch/114dffkprmw7jt8/Particles.mp4


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
PrettyMuchBryce
PrettyMuchBryce
  • Member since: Mar. 17, 2001
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to The Flash 'Reg' Lounge 2013-11-13 22:10:38 Reply

Just checking in. Been very busy with full time job. I really miss having time to devote to passion projects. I do have a side project going on, and it's pretty neat; but nothing really more to say about it right now. I am also pumping some effort into my Javascript Pathfinding library EasyStarJS: https://github.com/prettymuchbryce/easystarjs. I am redoing the website for it with node.js/express/foundation/pixi.js. I am also experimenting with implementing another algorithm called Jump Point Search into the library. Otherwise last night I downloaded Unity 4.3, and played around with the new 2D stuff a little bit. It's very clever and fun to use. The thing that is great about Unity is just how fast you can get going and making content. It reminds me of building games in flash with the IDE. Super fun.

I've been playing RimWorld, a super fun strategy-type game. You should check it out. I also played rogue legacy, but I felt it was a little too grindy for my tastes. Yeah.


BBS Signature
MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-13 22:50:57 Reply

At 11/13/13 10:10 PM, PrettyMuchBryce wrote: I am also pumping some effort into my Javascript Pathfinding library EasyStarJS: https://github.com/prettymuchbryce/easystarjs.

Looks pretty neat. I might add it to my thing if I ever end up using a* for something other than rpg movement. On average, nothing is going on besides rendering, so I can get away with unoptimized grid searches.

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-14 14:12:56 Reply

The full story of MSGHero for throwback Thursday.

Sam
Sam
  • Member since: Oct. 1, 2005
  • Offline.
Forum Stats
Moderator
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-11-14 14:13:23 Reply

Java GUI development is the shittest thing I've ever had to do.

Java development is the shittest thing I've ever had to do.
Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-11-14 15:53:45 Reply

I come with a challenge.

You have to convert one word to another, changing only one letter at a time. Every step between must be a real word.

For example cat -> dog:

cat
cot
dot
dog

You must return the shortest possible path, or detect if there is no path. You must do this in the quickest time (shortest number of branches) possible.

Test word for you: short -> bread

No googling for solutions

No one will try this, but if anyone is bored then you have no excuse to be :)


- Matt, Rustyarcade.com

Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-14 15:57:48 Reply

At 11/14/13 03:53 PM, Rustygames wrote: I come with a challenge.

You have to convert one word to another, changing only one letter at a time. Every step between must be a real word.

For example cat -> dog:

cat
cot
dot
dog

You must return the shortest possible path, or detect if there is no path. You must do this in the quickest time (shortest number of branches) possible.

Test word for you: short -> bread

No googling for solutions

No one will try this, but if anyone is bored then you have no excuse to be :)

Generate a graph from a dictionary (link all words which differ by 1 letter to each other).
Run Dijkstra's algorithm on it.

i dont feel like coding it but that works

Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-11-14 16:34:06 Reply

At 11/14/13 03:57 PM, Glaiel-Gamer wrote: Generate a graph from a dictionary (link all words which differ by 1 letter to each other).
Run Dijkstra's algorithm on it.

i dont feel like coding it but that works

I like it. Why not A* though?


- Matt, Rustyarcade.com

TheEnkian
TheEnkian
  • Member since: Dec. 18, 2012
  • Offline.
Forum Stats
Member
Level 19
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-14 17:28:21 Reply

At 11/14/13 02:12 PM, MSGhero wrote: The full story of MSGHero for throwback Thursday.

Bards of the future will sing this story, provided that the future brings back bards.


Currently working on Enki Adventures, an action-adventure roguelike!
Enkian Games Twitter - For game updates and info!
The Enkian Twitter - For personal stuff!

Archawn
Archawn
  • Member since: Sep. 9, 2007
  • Offline.
Forum Stats
Member
Level 27
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-14 17:40:02 Reply

At 11/14/13 03:53 PM, Rustygames wrote: I come with a challenge.

The lazy way to do it is to calculate the Levenshtein distance, keeping track of the changes made. I'm too lazy to program even the laziest of solutions though.

Archawn
Archawn
  • Member since: Sep. 9, 2007
  • Offline.
Forum Stats
Member
Level 27
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-14 17:43:12 Reply

At 11/14/13 05:40 PM, Archawn wrote:
At 11/14/13 03:53 PM, Rustygames wrote: I come with a challenge.
The lazy way to do it is to calculate the Levenshtein distance, keeping track of the changes made. I'm too lazy to program even the laziest of solutions though.

Oh, silly me, they need to be words in between. Glaiel had it right then. Go Glaiel

PrettyMuchBryce
PrettyMuchBryce
  • Member since: Mar. 17, 2001
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to The Flash 'Reg' Lounge 2013-11-14 19:03:43 Reply

At 11/14/13 04:34 PM, Rustygames wrote: I like it. Why not A* though?

Cool problem. A* would be faster. Use the current difference in letters from the target as your heuristic.

Here is one. Given two lists of unsorted unique integers, find the nth lowest of both in the lowest time complexity. No google.

Hint: Solution can be achieved in linear time

Example
[0, 10, 2, 5]
[4, 8, 1, 7]

3rd lowest is 2


BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-14 19:26:01 Reply

At 11/14/13 03:53 PM, Rustygames wrote: I come with a challenge.

I remember this challenge from a book of logic puzzles I had (I had quite a few as a kid)

Test word for you: short -> bread

short
sort
sot
bot
boat
bat
brat
brad
bread


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-14 19:34:02 Reply

At 11/14/13 04:34 PM, Rustygames wrote:
At 11/14/13 03:57 PM, Glaiel-Gamer wrote: Generate a graph from a dictionary (link all words which differ by 1 letter to each other).
Run Dijkstra's algorithm on it.

i dont feel like coding it but that works
I like it. Why not A* though?

dijkstra's easier to implement and you can do it with a queue instead of a priority queue. optimize later if its actually slow (probably wont be slow)

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-14 20:33:16 Reply

At 11/14/13 07:03 PM, PrettyMuchBryce wrote:
At 11/14/13 04:34 PM, Rustygames wrote: I like it. Why not A* though?
Cool problem. A* would be faster. Use the current difference in letters from the target as your heuristic.

Here is one. Given two lists of unsorted unique integers, find the nth lowest of both in the lowest time complexity. No google.

Hint: Solution can be achieved in linear time

Example
[0, 10, 2, 5]
[4, 8, 1, 7]

3rd lowest is 2

There was some weird sort we talked about in java where you place numbers into "buckets" based on the last digit, then based on the 2nd to last, etc. 10 buckets for 10 digits it can end with, 10 buckets in each of those for 10 digits that can be in the tens spot, etc. It was linearish I think, maybe some coefficient based on the max length of a number. Then iterate through that thing to find the nth.

maybe
Sam
Sam
  • Member since: Oct. 1, 2005
  • Offline.
Forum Stats
Moderator
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-11-14 23:05:42 Reply

At 11/14/13 08:33 PM, MSGhero wrote: There was some weird sort we talked about in java where you place numbers into "buckets" based on the last digit, then based on the 2nd to last, etc. 10 buckets for 10 digits it can end with, 10 buckets in each of those for 10 digits that can be in the tens spot, etc. It was linearish I think, maybe some coefficient based on the max length of a number. Then iterate through that thing to find the nth.
maybe

That sounds like a hash table with a very basic hash. Also sounds like there'd be a lot of memory overhead with potentially a lot of partially filled buckets.

or maybe I'm just going mad with this small amount of sleep I've had