Be a Supporter!

The Flash 'Reg' Lounge

  • 1,879,966 Views
  • 64,310 Replies
New Topic Respond to this Topic
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-23 13:35:33 Reply

At 10/23/13 01:22 PM, 4urentertainment wrote: My question is, is it possible to somehow put everything inside one handy executable?

I've made a file downloader/launcher in AIR if you're looking for a really quick'n'dirty thing. You can get around the Adobe Installer for AIR stuff and make it a single executable if you want to, I made a post on that in the reg lounge a few pages back.

Otherwise just go with Visual Studio and your language of choice. Or IDe of choice. Eh, it's all the same - find a language, make a file, compile into executable, distribute fancy launcher thing. I could make one in C# if you want, i'm bored enough.


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-10-23 13:58:38 Reply

At 10/23/13 01:22 PM, 4urentertainment wrote: My question is, is it possible to somehow put everything inside one handy executable?

@PSvils cuz I've only done openfl shenanigans, and even then only flash export has worked 100%.

Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2013-10-23 14:44:31 Reply

At 10/22/13 01:59 AM, egg82 wrote: If anyone's curious, i'm solving a system of equations. Yay.
x - 2y + z = -9
x - y - 2z = -8
2x + y - z = 1

figured x = -7/6 and y = 9/2
maybe i'm wrong with those, as well. Fuck it, i'm going to bed.

no these are right. you got z right too, but i don't know why you calculated - (1 + 14/6 - 9/2) to be 292. it's 7/6 which is the right answer for z.

2(-7/6) + 9/2 - z = 1
-14/6 + 27/6 - z = 1
13/6 - z = 1
z = -1 + 13/6
z = 7/6

x - 2y + z = -9 (E1)
x - y - 2z = -8 (E2)
2x + y - z = 1 (E3)

y - 3z = 1 (E2') = (E2 - E1)
5y - 3z = 19 (E3') = (E3 - 2E1)

12z = 14 (E3'') = (E3' - 5E2')

z = 14/12 = 7/6

Now that we have z, go back to E2' to find y:
y - 3(7/6) = 1
y = 1 + 21/6 = 27/6 = 9/2

And with y and z go back to E1:
x - 2(9/2) + (7/6) = -9
x = -9 + 9 - 7/6
x = -7/6

so x = -7/6, y = 9/2, z = 7/6


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-10-23 15:33:47 Reply

making shit for this game is SO FUN amg http://www.youtube.com/watch?v=nmTC7sMIlL0

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

At 10/23/13 03:33 PM, Glaiel-Gamer wrote: making shit for this game is SO FUN amg http://www.youtube.com/watch?v=nmTC7sMIlL0

You've got so many more subs then me :P
Ah, well. Looks like some fun was had, there. How's progress?

At 10/23/13 02:44 PM, Toast wrote: no these are right. you got z right too, but i don't know why you calculated - (1 + 14/6 - 9/2) to be 292. it's 7/6 which is the right answer for z.

I think what happened was I attempted to clear out the fractions and did it completely wrong. I multiplied by the denominator and not the numerator. Welp, that'll learn me.


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
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-24 01:05:22 Reply

At 10/24/13 01:01 AM, egg82 wrote: You've got so many more subs then me :P

Speaking of, i'm kinda proud of my view graph at the moment. I mean, the views themselves are low but there is definitely a clear trend ^.^

The Flash 'Reg' Lounge


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-10-24 15:55:22 Reply

At 10/24/13 01:05 AM, egg82 wrote:
At 10/24/13 01:01 AM, egg82 wrote: You've got so many more subs then me :P
Speaking of, i'm kinda proud of my view graph at the moment. I mean, the views themselves are low but there is definitely a clear trend ^.^

What is this views of? Your website?


- Matt, Rustyarcade.com

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-24 16:44:26 Reply

At 10/24/13 03:55 PM, Rustygames wrote: What is this views of? Your website?

no, YouTube channel. I try :P


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-10-24 17:19:23 Reply

At 10/24/13 04:44 PM, egg82 wrote:
At 10/24/13 03:55 PM, Rustygames wrote: What is this views of? Your website?
no, YouTube channel. I try :P

I haven't seen it yet, I better look!


- 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-10-24 17:27:38 Reply

At 10/24/13 05:19 PM, Rustygames wrote:
At 10/24/13 04:44 PM, egg82 wrote:
At 10/24/13 03:55 PM, Rustygames wrote: What is this views of? Your website?
no, YouTube channel. I try :P
I haven't seen it yet, I better look!

Apparently my youtube channel, with 0 content got 37k views before they stopped counting that stat. And then my games still get some views per day. But then there's 1-2 billion people with internet, so it's not too weird.

Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2013-10-24 17:47:24 Reply

At 10/24/13 05:27 PM, MSGhero wrote:
At 10/24/13 05:19 PM, Rustygames wrote:
At 10/24/13 04:44 PM, egg82 wrote: there's 1-2 billion people with internet, so it's not too weird.

I believe they keep the official count on this web page


BBS Signature
Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2013-10-24 17:49:02 Reply

I mean here http://www.youtube.com/watch?v=9bZkp7q19f0


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

So it looks like 4ur's got me working on the Concerned Joe launcher. Not that I mind at all, the challenge is refreshing after almost a month of nothing but YouTube :P

One thing I learned is there's no updated Twitter API for AS3, nor is there an OAuth API for Twitter's system. The only borrowed code in the launcher so far is AS3-Signals (because i'm too lazy to use events) - i'm quite proud of myself for remembering all of this xD


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
Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to The Flash 'Reg' Lounge 2013-10-26 09:30:28 Reply

I really hate this Unity bullshit but I'm getting there, slowly, I probably could have gotten into this years ago if there was a simple template for programmers instead of assuming everybody is a designer that doesn't know how to write code.


nobody

Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to The Flash 'Reg' Lounge 2013-10-26 10:34:45 Reply

Also, @4urentertainment is Joe going to launch same day on all platforms? And are you going through the Mac App Store/Steam or just through your website? Also why don't I have you on Skype?


nobody

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

@InnerMike @VoidForce what are A levels? Is that like high school (age 13/14-17/18) or something else? I found a really cool research opportunity in Switzerland, and it wants me to list my education starting at A levels.

I also need 2 letters of recommendation, but I have no clue who would write those since I don't really know any profs...

Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to The Flash 'Reg' Lounge 2013-10-26 17:27:55 Reply

At 10/26/13 03:51 PM, MSGhero wrote: @InnerMike @VoidForce what are A levels? Is that like high school (age 13/14-17/18) or something else? I found a really cool research opportunity in Switzerland, and it wants me to list my education starting at A levels.

I also need 2 letters of recommendation, but I have no clue who would write those since I don't really know any profs...

Last two years of high-school, though the way our systems work is so different it's a little hard to convert, from what I understand you can take AP classes in specific subjects but you still need credits in all areas? We pick 3~5 of our strongest subjects and just fully concentrate on those for the last two years and present our school results not as a GPA but individual grades like "ABBc" lower case being anything you only did for one year.


nobody

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-26 17:46:32 Reply

At 10/26/13 05:27 PM, Innermike wrote: Last two years of high-school, though the way our systems work is so different it's a little hard to convert, from what I understand you can take AP classes in specific subjects but you still need credits in all areas? We pick 3~5 of our strongest subjects and just fully concentrate on those for the last two years and present our school results not as a GPA but individual grades like "ABBc" lower case being anything you only did for one year.

Yeah we have to take mostly all areas each year. 2 years of no history or geography or other boring stuff sounds delightful.

PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-27 04:56:19 Reply

Programming a game in C# with a friend. We've had uber productive 3 days working on it so far. Base engine is coming along, already starting on a few game level features while sorting out a few bugs here and there.

But speaking of which, Egg82, in C#, how am I supposed to get a reasonably precise delta across frames? Currently, the gameloop is executing in less than a millisecond, and DateTime is shit. Now using Stopwatch, but systems that are based on the delta are still jittery, and I made a hackish "minimum" delta, where if the delta is lower than an amount, I make it that amount...what do you use in your engine?

P.

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-27 15:15:43 Reply

At 10/27/13 04:56 AM, PSvils wrote: But speaking of which, Egg82, in C#, how am I supposed to get a reasonably precise delta across frames? Currently, the gameloop is executing in less than a millisecond, and DateTime is shit. Now using Stopwatch, but systems that are based on the delta are still jittery, and I made a hackish "minimum" delta, where if the delta is lower than an amount, I make it that amount...what do you use in your engine?

I used MonoGame's (XNA's) deltaTime variable on occasions, but for the most part I never had to touch any of that. I just had a public variable with framerate and said in the update loop "if framerate < 0 then set static frame time to false, else if framerate == 0 return, else set frame time to 1 / framerate" (also "if framrate == 0 return" in the draw loop)


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

BBS Signature
TheNavigat
TheNavigat
  • Member since: Mar. 2, 2013
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to The Flash 'Reg' Lounge 2013-10-28 15:12:34 Reply

At 10/24/13 06:43 PM, egg82 wrote: So it looks like 4ur's got me working on the Concerned Joe launcher. Not that I mind at all, the challenge is refreshing after almost a month of nothing but YouTube :P

Dude, AIR support on Ubuntu's awful... Can't you think of any other solution? I'm trying to think of any, but Visual Studio means no native support for Ubuntu, requests Wine. PythonGTK is nice but I can't be sure if all the users will have Python installed. C++ with Windows API (and other implementations for other operating systems) is perfect, specially that it won't need much time since it's just a launcher, but the fact that you need multiple implementations means that it's relatively hard.


Nav.. I'm the Nav!

PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-28 15:12:48 Reply

At 10/27/13 03:15 PM, egg82 wrote: I used MonoGame's (XNA's) deltaTime variable on occasions, but for the most part I never had to touch any of that. I just had a public variable with framerate and said in the update loop "if framerate < 0 then set static frame time to false, else if framerate == 0 return, else set frame time to 1 / framerate" (also "if framrate == 0 return" in the draw loop)

Aha, gotcha. I found the Stopwatch class which is serving nicely. DateTime was screwy because it's resolution is like milliseconds, and at this stage, the main loop is suuuper much faster than a millisecond.

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-28 16:48:14 Reply

At 10/28/13 03:12 PM, TheNavigat wrote: Dude, AIR support on Ubuntu's awful... Can't you think of any other solution? I'm trying to think of any, but Visual Studio means no native support for Ubuntu, requests Wine. PythonGTK is nice but I can't be sure if all the users will have Python installed. C++ with Windows API (and other implementations for other operating systems) is perfect, specially that it won't need much time since it's just a launcher, but the fact that you need multiple implementations means that it's relatively hard.

I believe MonoGame has all the requirements bundled into it, you just need to do something with the compiled project or something before you send it out. Though to be honest i'm not entirely sure about that whole process, I've never bundled outside of my own OS.
I would have gone for Python except the only native support it has is with Linux distros specifically. That and I don't know Python, which might be a requirement.
So basically i'm just assuming the people running the Linux version know what Google is.

If it turns out MonoGame is a better solution then I simply port the AIR project to C# - which really isn't hard. Until then, AIR ahoy!

side-note: writing out "var" and "function" for everything seems really annoying now that I've used the alternatives.

At 10/28/13 03:12 PM, PSvils wrote: Aha, gotcha. I found the Stopwatch class which is serving nicely. DateTime was screwy because it's resolution is like milliseconds, and at this stage, the main loop is suuuper much faster than a millisecond.

Whoa. How? I'm pretty sure my blank MonoGame test (nothing in it and unlocked framerate) wasn't even running that quickly. You on a super high-end machine?


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-10-28 20:35:15 Reply

At 10/28/13 04:48 PM, egg82 wrote: Whoa. How? I'm pretty sure my blank MonoGame test (nothing in it and unlocked framerate) wasn't even running that quickly. You on a super high-end machine?

I'm on the worst machine possible :D I have OpenGL 2.1, which means I just implemented a FrameBuffer post processing pipeline for nothing, but will hopefully find alternatives...
And an Intel Core2 Duo.

But now the game is slowing down, we have some heavy math crunchers in it already for the main feature of it, but it looks pretty cool. I needed the post processing pipeline for antialiasing, since the polygons look like shit :(

A millisecond really isn't a short period of time...

And my brain is fried right now so I can't make coherent statements.

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-28 21:39:22 Reply

At 10/28/13 04:48 PM, egg82 wrote: Whoa. How? I'm pretty sure my blank MonoGame test (nothing in it and unlocked framerate) wasn't even running that quickly. You on a super high-end machine?

I ask P to test my stuff when I want to make sure people with crappy computers can handle it.

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-28 23:03:22 Reply

At 10/28/13 08:35 PM, PSvils wrote: I'm on the worst machine possible :D I have OpenGL 2.1, which means I just implemented a FrameBuffer post processing pipeline for nothing, but will hopefully find alternatives...
And an Intel Core2 Duo.

Then how in the world are you getting faster frame times? I'm so confused xD

But now the game is slowing down, we have some heavy math crunchers in it already for the main feature of it, but it looks pretty cool. I needed the post processing pipeline for antialiasing, since the polygons look like shit :(

Lara Croft proves that more polygons aren't always better, I think.
...
Well, on second thought...

A millisecond really isn't a short period of time...

No, but if your machine is rendering blank frames faster than mine then I think I have a problem.


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-10-29 13:58:44 Reply

The comp sci classes I want to take are major restricted for a week. Hopefully no one takes them :(

There are rumors that seniors are selling spots to a high-level BMED class, but I think/hope they were joking.

TheNavigat
TheNavigat
  • Member since: Mar. 2, 2013
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to The Flash 'Reg' Lounge 2013-10-29 15:42:56 Reply

At 10/28/13 04:48 PM, egg82 wrote: I believe MonoGame has all the requirements bundled into it, you just need to do something with the compiled project or something before you send it out. Though to be honest i'm not entirely sure about that whole process, I've never bundled outside of my own OS.
I would have gone for Python except the only native support it has is with Linux distros specifically. That and I don't know Python, which might be a requirement.
So basically i'm just assuming the people running the Linux version know what Google is.

If it turns out MonoGame is a better solution then I simply port the AIR project to C# - which really isn't hard. Until then, AIR ahoy!

side-note: writing out "var" and "function" for everything seems really annoying now that I've used the alternatives.

Well, I've never used MonoGame, but by Googling it, it seems a really good solution.

AIR's last version for Linux is 2.6, which is very old, that's why it's awful, basically. Adobe, *sigh*...

And well, have you ever tried Objective-C? That thing is extremely awesome :D Completely different syntax (not COMPLETELY different though if you saw Ruby. Ruby's hell of a language), MVC concept, ti's just a different world :D


Nav.. I'm the Nav!

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-10-29 15:52:59 Reply

At 10/29/13 03:42 PM, TheNavigat wrote: And well, have you ever tried Objective-C?
MVC concept, ti's just a different world :D

NNNNOOOPE!


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

BBS Signature