Be a Supporter!

The Flash 'Reg' Lounge

  • 1,733,572 Views
  • 63,768 Replies
New Topic Respond to this Topic
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-11-30 17:33:35 Reply

At 11/30/13 05:15 PM, Rustygames wrote: The keyboard randomly stopped working in the middle of the game so I crashed :(

D: I heard about this once or twice but was never able to reproduce it or figure out what was causing it. To be fair, the programming for it is shite compared to what I should have done but I didn't think it was going to be as complex as it turned out to be in the end (after everyone's suggestions)


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

BBS Signature
Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-11-30 18:31:01 Reply

At 11/30/13 05:33 PM, egg82 wrote:
At 11/30/13 05:15 PM, Rustygames wrote: The keyboard randomly stopped working in the middle of the game so I crashed :(
D: I heard about this once or twice but was never able to reproduce it or figure out what was causing it. To be fair, the programming for it is shite compared to what I should have done but I didn't think it was going to be as complex as it turned out to be in the end (after everyone's suggestions)

Just press the opposite direction you're going and things fuck up. That's probably how to reproduce


- Matt, Rustyarcade.com

Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-11-30 18:32:41 Reply

Actually it's holding down keys which freezes it


- Matt, Rustyarcade.com

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

At 11/30/13 06:32 PM, Rustygames wrote: Actually it's holding down keys which freezes it

ooooooohhhhhhhh fuuuuuuck. I used key down events instead of key up. I'll just get it to check the last value in the vector and see if it's the same key.


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

BBS Signature
kkots
kkots
  • Member since: Apr. 16, 2013
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to The Flash 'Reg' Lounge 2013-11-30 19:17:11 Reply

At 11/30/13 06:58 PM, egg82 wrote:
At 11/30/13 06:32 PM, Rustygames wrote: Actually it's holding down keys which freezes it
ooooooohhhhhhhh fuuuuuuck. I used key down events instead of key up. I'll just get it to check the last value in the vector and see if it's the same key.

Use MSGhero's keyboard class. Why reinvent the wheel.


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-30 19:40:16 Reply

At 11/30/13 07:17 PM, kkots wrote:
At 11/30/13 06:58 PM, egg82 wrote:
At 11/30/13 06:32 PM, Rustygames wrote: Actually it's holding down keys which freezes it
ooooooohhhhhhhh fuuuuuuck. I used key down events instead of key up. I'll just get it to check the last value in the vector and see if it's the same key.
Use MSGhero's keyboard class. Why reinvent the wheel.

My goal from 2 years ago was for someone to say that about something I made. Boom.

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

At 11/30/13 07:17 PM, kkots wrote: Use MSGhero's keyboard class. Why reinvent the wheel.

I actually have an acceptable answer to that this time: Because I felt like it :P
I already had a ton of pre-made classes for things I did in that game, but I just felt like making new ones. And I was too lazy to go hunting or the other classes. Yeah, my logic's a bit warped :3

At 11/30/13 07:40 PM, MSGhero wrote: My goal from 2 years ago was for someone to say that about something I made. Boom.

grats :D


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-12-01 01:10:20 Reply

The Launcher! EET LIIIIIIIIVES!

also i'm still fixing Snake. By which I mean I looked for the project for half a second in the file browser and gave up because a YouTube video showed up in my sub box. I'll get 'round to it in a few, after this video and most likely some sleep.


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

BBS Signature
kkots
kkots
  • Member since: Apr. 16, 2013
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to The Flash 'Reg' Lounge 2013-12-01 06:12:11 Reply

At 12/1/13 01:10 AM, egg82 wrote: I'll get 'round to it in a few, after this video and most likely some sleep.

Sleep is the biggest waste of time humanity can ever commit. How much time you could have spent working on amazing, ambitious projects, but instead wasted on worthless sleep? How can you even think about sleeping, when you have so many things unfinished, and yet so many plans?

I personally, have not deserved sleep. I try to resist it until I collapse.
Then I get bad marks at university...
But at least the projects are going somewhere, and at a much faster pace than normal.


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

At 12/1/13 06:12 AM, kkots wrote: Sleep is the biggest waste of time humanity can ever commit. How much time you could have spent working on amazing, ambitious projects, but instead wasted on worthless sleep?
I wrote out like 400 words but I figured I should just simplify to one question

Do you genuinely think you'll make adequate use of all the time you actually will have awake in your life?


nobody

Diki
Diki
  • Member since: Jan. 31, 2004
  • Offline.
Forum Stats
Moderator
Level 13
Programmer
Response to The Flash 'Reg' Lounge 2013-12-01 14:41:49 Reply

At 12/1/13 06:12 AM, kkots wrote: How much time you could have spent working on amazing, ambitious projects, but instead wasted on worthless sleep?

You will die if you don't sleep, so it's not exactly worthless. You will also work significantly less efficiently if you're deprived of sleep, so it's counter-productive to deliberately avoid it.

At 12/1/13 06:12 AM, kkots wrote: I personally, have not deserved sleep. I try to resist it until I collapse.

I don't recommend doing that, but, hell, it's your health.

kkots
kkots
  • Member since: Apr. 16, 2013
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to The Flash 'Reg' Lounge 2013-12-01 22:00:22 Reply

At 12/1/13 02:30 PM, Innermike wrote: Do you genuinely think you'll make adequate use of all the time you actually will have awake in your life?

At least something will be done. Much better than nothing. Because when I'm being normal, nothing gets done, so I suppose this is the way to go.

At 12/1/13 02:41 PM, Diki wrote: You will die if you don't sleep, so it's not exactly worthless. You will also work significantly less efficiently if you're deprived of sleep, so it's counter-productive to deliberately avoid it.

That's what makes me think that sleeping is OK.
I guess you're right. But then I'd have to fix my daily schedule. Because it's got messed up from 3 years of additional courses (that were going at evening, on top of school, which is at morning + Flash coding at night)


At 12/1/13 06:12 AM, kkots wrote: I personally, have not deserved sleep. I try to resist it until I collapse.
I don't recommend doing that, but, hell, it's your health.

Well, usually at these very moments I achieve the most results. Maybe I simply do not know how bad it actually is for health.

But I agree, this is a problem that should be fixed.


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

At 12/1/13 10:00 PM, kkots wrote:
At 12/1/13 02:30 PM, Innermike wrote: Do you genuinely think you'll make adequate use of all the time you actually will have awake in your life?
At least something will be done. Much better than nothing. Because when I'm being normal, nothing gets done, so I suppose this is the way to go.

Have you ever been awake for more than 48 hours?


nobody

kkots
kkots
  • Member since: Apr. 16, 2013
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to The Flash 'Reg' Lounge 2013-12-02 09:03:58 Reply

At 12/2/13 01:13 AM, Innermike wrote: Have you ever been awake for more than 48 hours?

No, because even if I don't get "official" sleep on bed, then I at least faint right on the workplace, for indefinite time, and it's like having good sleep. So it's cheating, and the answer is no. But yeah, there were periods of 2 days when I wasn't touching the bed. Like, one day I was trying to make myself work, the next day I was trying to stay awake in order to switch my sleeping schedule to normal (trying to "survive" until night). That was pretty difficult. So I decided to just work at night and sleep for short periods of time whenever I have the chance. I'm not all-out against sleep, I'm for minimizing it, and making use of the night time, for example.

And now what Diki said maid me confident that I should fix this. So I now I'm trying to do everything at day and sleep at night. Just trying to find the right time for when to go to bed, to get enough and non-excessive sleep.
Thank you guys.


BBS Signature
swishcheese
swishcheese
  • Member since: May. 12, 2007
  • Offline.
Forum Stats
Member
Level 14
Programmer
Response to The Flash 'Reg' Lounge 2013-12-02 18:38:32 Reply

P and othersss. Is this a good intro? lagging at all for anyone?? I had it originally at 30fps but just up it to 60 fps cause was a little slow when i tested it locally. Once i uploaded it, and played it in the browser. It was fast and did not lag at all.

PS: Actually used stuff I learned in a data structures class last year to hold the particles in a linked list :D


BBS Signature
MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-12-02 18:55:00 Reply

At 12/2/13 06:38 PM, swishcheese wrote: P and othersss. Is this a good intro? lagging at all for anyone?? I had it originally at 30fps but just up it to 60 fps cause was a little slow when i tested it locally. Once i uploaded it, and played it in the browser. It was fast and did not lag at all.

PS: Actually used stuff I learned in a data structures class last year to hold the particles in a linked list :D

That's pretty sweet. Can you make it repeat on click? Flash lags at the beginning, so I can't really tell if it's lagging at all. Probably not, though.

you could use scout to see how badly it'll mangle p's computer
swishcheese
swishcheese
  • Member since: May. 12, 2007
  • Offline.
Forum Stats
Member
Level 14
Programmer
Response to The Flash 'Reg' Lounge 2013-12-02 19:06:38 Reply

At 12/2/13 06:55 PM, MSGhero wrote:
At 12/2/13 06:38 PM, swishcheese wrote: P and othersss. Is this a good intro? lagging at all for anyone?? I had it originally at 30fps but just up it to 60 fps cause was a little slow when i tested it locally. Once i uploaded it, and played it in the browser. It was fast and did not lag at all.

PS: Actually used stuff I learned in a data structures class last year to hold the particles in a linked list :D
That's pretty sweet. Can you make it repeat on click? Flash lags at the beginning, so I can't really tell if it's lagging at all. Probably not, though.
you could use scout to see how badly it'll mangle p's computer

Sure thing

Looks to me it takes some time in the beginning to initialize everything, and then runs smooth.

hmmm. whats scout??


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

At 12/2/13 07:06 PM, swishcheese wrote: Looks to me it takes some time in the beginning to initialize everything, and then runs smooth.

yeah, looked about 40 FPS at the start of your particles. Why not use FLiNT?


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

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

At 12/2/13 07:06 PM, swishcheese wrote: Sure thing

Looks to me it takes some time in the beginning to initialize everything, and then runs smooth.

hmmm. whats scout??

Well, I meant for the content to restart and the fps meter to persist, but w/e.

Scout is third on the list of amazing free things you will want to make flash (flex sdk and flashdevelop being the first two). This might make for a good buzzfeed "article."

PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2013-12-03 13:22:49 Reply

The intros run fine swisshtick.

Hopefully in a short while I'll be the guy to go to to see if something runs too fast though.
In other news, while me and my friend are programming the C# game on and off, I'm working on a Flash (OpenFL) engine, but where I have a very focused vision on what it will and won't do. So far the design is super clean and functional, so off to a good start. I keep writing engines, but no games... :/

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

At 12/3/13 01:22 PM, PSvils wrote: I keep writing engines, but no games... :/

I know, right? I think it's just that we bury ourselves in the fun aspects of things and avoid the boring stuff like importing images and splitting sprite sheets up for animations.


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

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

At 12/3/13 01:42 PM, egg82 wrote: I know, right? I think it's just that we bury ourselves in the fun aspects of things and avoid the boring stuff like importing images and splitting sprite sheets up for animations.

Menus are bad. Embedding images is bad. I usually get artists to split up spritesheets for me to throw into texturepacker, but defining animations is something I hate so much. I have stuff like "addCommonAnimations," "addPrefixedAnimation" and stuff to remove as much typing as possible, but it's still irritating.

The Flash 'Reg' Lounge

Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-12-03 14:19:30 Reply

At 12/3/13 01:53 PM, MSGhero wrote: Menus are bad. Embedding images is bad. I usually get artists to split up spritesheets for me to throw into texturepacker, but defining animations is something I hate so much. I have stuff like "addCommonAnimations," "addPrefixedAnimation" and stuff to remove as much typing as possible, but it's still irritating.

I use ZOE. Creates all that for me from a flash timeline. Don't know what I'd do without it :P


- Matt, Rustyarcade.com

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

At 12/3/13 02:19 PM, Rustygames wrote: I use ZOE. Creates all that for me from a flash timeline. Don't know what I'd do without it :P

Well he uses paint.net. I tried zoe, but it didn't give me registration point info or something dumb, so I went with grapefrukt which is alright. Still waiting on bryce to finish his.

Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-12-03 14:36:03 Reply

At 12/3/13 02:23 PM, MSGhero wrote:
At 12/3/13 02:19 PM, Rustygames wrote: I use ZOE. Creates all that for me from a flash timeline. Don't know what I'd do without it :P
Well he uses paint.net. I tried zoe, but it didn't give me registration point info or something dumb, so I went with grapefrukt which is alright. Still waiting on bryce to finish his.

It's not very well documented, but if you make a clip on stage called "registrationPoint" then it will use that as the ref point :)


- Matt, Rustyarcade.com

swishcheese
swishcheese
  • Member since: May. 12, 2007
  • Offline.
Forum Stats
Member
Level 14
Programmer
Response to The Flash 'Reg' Lounge 2013-12-03 15:38:07 Reply

At 12/2/13 07:34 PM, egg82 wrote: Why not use FLiNT?

Because I'm a boss.

Actually, I did not realize there was particles engine thing. I mean, I knew there would be, but when i was thinking of the idea my first thought was how I would go about setting up data structure for pixels, rendering the pixel, etc.

And that is good to hear P. Thanks for the test.


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

You know your programming's good when you code something your artist drew in and instead of finding bugs you're just surprised at what they made.


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-12-05 00:09:16 Reply

Finally got around to starting to update my old drivers from '06 and slightly overclock this system.
Could do much more, but i'm lazy. I'll get around to it at some point.

P, you said you were getting a new computer?


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

BBS Signature
Sam
Sam
  • Member since: Oct. 1, 2005
  • Offline.
Forum Stats
Moderator
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-12-05 11:12:02 Reply

At 12/5/13 12:09 AM, egg82 wrote: Finally got around to starting to update my old drivers from '06 and slightly overclock this system.
Could do much more, but i'm lazy. I'll get around to it at some point.

It's a slippery slope. I remember when I first got this system and I just went mad overclocking it. I ended up frying my motherboard somehow. Before that I thought it was my processor so I had to try processors from my dad's and sister's machines and ended up bending the pins on them. Fortunately a pair of tweezers and an hour later I managed to fix the pins.

Component-Entity Systems r gr8!
In the small amount of spare time I have from uni, I finally managed to implement a component-entity system. Before now I always saw everything as hierarchical and would plan my projects that way, but this seems so much nicer. Maybe because it's new to me. Does this get really messy as a game's scope becomes larger? My components are really small and boring, and I can imagine having a lot more than I currently do.

Late to the party much?
PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2013-12-05 12:07:33 Reply

At 12/5/13 11:12 AM, Sam wrote: Component-Entity Systems r gr8!
In the small amount of spare time I have from uni, I finally managed to implement a component-entity system. Before now I always saw everything as hierarchical and would plan my projects that way, but this seems so much nicer. Maybe because it's new to me. Does this get really messy as a game's scope becomes larger? My components are really small and boring, and I can imagine having a lot more than I currently do.

Late to the party much?

And the angels of heaven sing!

ES design can get messy if you don't strictly stick to ES the whole way through. IDK, it all comes down to how you design the actual components and systems. I've rewritten my engine a few times, this time I think I'm hitting everything right so far, plus I'm making an editor together with it.

And yeah, components should be boring. I usually have a component with only 2 properties or so. Sometimes none at all, just to use as a flag!

P.