Be a Supporter!

The Flash 'Reg' Lounge

  • 2,149,576 Views
  • 64,759 Replies
New Topic Respond to this Topic
PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-05 03:09:10 Reply

At 11/4/12 08:46 PM, egg82 wrote: so I got bored today and decided to turn objects into strings and back for the hell of it.

You have heard of JSON, no?

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

At 11/5/12 03:09 AM, PSvils wrote: You have heard of JSON, no?

yepp, but I didn't feel like parsing JSON. It just seems like more of a pain than is necessary.


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 2012-11-05 11:49:49 Reply

At 11/5/12 10:16 AM, egg82 wrote:
At 11/5/12 03:09 AM, PSvils wrote: You have heard of JSON, no?
yepp, but I didn't feel like parsing JSON. It just seems like more of a pain than is necessary.

??
My point was that you don't need to manually convert object > string > object, there are plenty of as3 JSON libraries out there for that, not to mention that the functionality is built in and stuff.

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

At 11/5/12 11:49 AM, PSvils wrote: ??
My point was that you don't need to manually convert object > string > object, there are plenty of as3 JSON libraries out there for that, not to mention that the functionality is built in and stuff.

actually, I did look at a class for turning an object into a string. It worked for just about anything you put into it, and even had recursion, but it didn't have anything for turning that string back into an object :(
it used xml.


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 2012-11-06 19:40:20 Reply

I wish AS3 had function overloading :( For this smoke thing, I have to have a function that handles a 2D Vector of numbers and another of Points (for pressure and scalars/for velocity and vectors). The only convenient alternative would be to have the x's and y's in separate arrays, but that's kinda messy, and I'd have to pass both in at times and not at other times.

I also have a headache.

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

At 11/6/12 07:40 PM, MSGhero wrote: I wish AS3 had function overloading :( For this smoke thing, I have to have a function that handles a 2D Vector of numbers and another of Points (for pressure and scalars/for velocity and vectors). The only convenient alternative would be to have the x's and y's in separate arrays, but that's kinda messy, and I'd have to pass both in at times and not at other times.

AS4's coming out with operator overloading. AS4 will pretty much be AS3 with more cool stuff.

I also have a headache.

Take some Aspirin and play a game or watch a movie. That's what I do :P


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 2012-11-06 22:17:11 Reply

At 11/6/12 07:57 PM, egg82 wrote: Take some Aspirin and play a game or watch a movie. That's what I do :P

Or just stop coding lol. That worked :P

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

Never mind about the smoke stuff...I'll code something I actually understand now. The physics is still interesting, though. Head start for next semester!

I-smel
I-smel
  • Member since: Mar. 2, 2006
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-07 15:19:08 Reply

Oh Jesus Christ, AS4

Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-07 17:29:21 Reply

At 11/7/12 03:19 PM, I-smel wrote: Oh Jesus Christ, AS4

AS4 where, link?

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-07 17:37:00 Reply

At 11/7/12 05:29 PM, Glaiel-Gamer wrote: AS4 where, link?

http://www.rivellomultimediaconsulting.com/actionscript-4-re vealed/?doing_wp_cron=1352327754

They announced AS Next a while ago, which I assume will be AS4 (mentioned refactoring of code base and stuff)

Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-09 19:00:16 Reply

At 11/7/12 05:37 PM, MSGhero wrote:
At 11/7/12 05:29 PM, Glaiel-Gamer wrote: AS4 where, link?
http://www.rivellomultimediaconsulting.com/actionscript-4-re vealed/?doing_wp_cron=1352327754

They announced AS Next a while ago, which I assume will be AS4 (mentioned refactoring of code base and stuff)

Ok, so all the cool features are in the "wishlist" there, not actually confirmed as part of the language.

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-11 13:33:31 Reply

FD 4.2 is out, as well as AIR 3.5 and Player 11.5
shiny features!

also, you're all jelly of my connection speed.

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
Sandremss128
Sandremss128
  • Member since: Aug. 22, 2009
  • Offline.
Forum Stats
Member
Level 11
Programmer
Response to The Flash 'Reg' Lounge 2012-11-12 02:49:07 Reply

I've also just installed Flashdevelop, but only because I can't have FDT on more than one computer and college relies too much on windows based programs to have linux on my laptop (eclipse kind of sucks on Windows in my experience).
It's really easy to have that installer get all the files you need, you can even select what flash player version you want to compile to up to 11.5! I remember this being some hacky solution in FDT where you replace the playerglobal and change an xml file somewhere in the extracted sdk, and you had to manually select the flash player and sdk's as well. It's really a shame that FD is Windows only (and still misses some essential features like debugging as you code), but it'll do for when I'm at school and want to work on flash. Linux + FDT still is superior.

The things that FD is better at hands down are:
1. Ease of installation, it's just a big plus especially for noobs who won't be alienated by the installation. With one click you'll get all the stuff you need to begin coding.
2. Responsiveness, it has decent performance, eclipse on windows just can't top that, Linux is a different beast.
3. Autocompletion, in one way it sucks because with Ctrl + Space it won't search through all classes (like StageQuality), so you have to do Ctrl + Alt + Space which is inconvenient. On the other hand it will get the best match so even if you mistype part of the word you're looking for it will still find it; eclipse will completely break down if you get but one letter wrong.
4. Haxe support, FDT's Haxe support is miserable so yeah +1 for FD.

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

At 11/12/12 02:49 AM, Sandremss128 wrote: Stuff about FD

I HATE doing my Java hw, mainly because of the code completion in eclipse: that it only works half the time only after typing a "." or ctrl+space, and that mistyping ends it.

And because Java looks tacky, but that's a different issue

Yes, it's that time again. Post/talk about what you're working on (Splyth excluded).

Instead of me looking for artists and failing, I found 2 (separate) artists looking for a programmer. The main problem I'd been having was teammates' motivation, I think: I wanted a project done, and they didn't care either way since it's not their own, per se. One's a shooter with Castle Crashers-like physics and the other is similar to FFVI. And I started a prototype for a color-based bullet hell game, dunno where I'm going with it.

Sandremss128
Sandremss128
  • Member since: Aug. 22, 2009
  • Offline.
Forum Stats
Member
Level 11
Programmer
Response to The Flash 'Reg' Lounge 2012-11-12 14:39:16 Reply

At 11/12/12 02:32 PM, MSGhero wrote: Yes, it's that time again. Post/talk about what you're working on (Splyth excluded).

I'm working on a flash chat for newgrounds, kinda like the old radio chat to offer some features the current one is missing.
Programming the server in Java and the client in flash, most interesting obstacles are networking, databases and text rendering.
I'm hoping to have a working beta at the end of the month, now with that out there's some much needed extra pressure on me to get my arse moving.

PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-12 15:05:25 Reply

I'm still experimenting with programming in D. Still feels interesting, though after having a few week crash course with D, I'll probably slowly move to C++, simply because it's standard and there are more libraries for it, and it's stable. (I haven't run into any problems with D myself, but hanging around the D irc chat, some people have said there are a few problemos...but nothing too major afaik)
I'll try pumping out a quick'n'dirty game with D before moving on though.

P.

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

At 11/12/12 02:32 PM, MSGhero wrote: Yes, it's that time again. Post/talk about what you're working on (Splyth excluded).

working on Gold of Odin and finishing the Gametack library associated with it. After I finish the lib/toolkit, i'll release it as both the source and a swc file.

to-do:
find a way to make creating a 3D world easier.

that's... Pretty much it as far as the lib goes, unless I think of something else.


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

BBS Signature
swishcheese
swishcheese
  • Member since: May. 12, 2007
  • Offline.
Forum Stats
Member
Level 14
Programmer
Response to The Flash 'Reg' Lounge 2012-11-12 18:17:05 Reply

Still have to finish a top down tile-based puzzle game that I havent worked on in a while. pretty much done with it, all I need is touch up and and ending cut scene.

I am also working on a android game app that is an avoider where you use your voice as the controls. there will be 3 vertical lanes and objects appearing at the top of the screen in different lanes moving down towards the player. The user must speak left, middle, or right to change lanes to avoid the objects. I have to find a cool and optimize way to recognize the speech. In order to use Anroid's API to voice recognize i need wifi or data plan on device. But with new release of Jelly-bean the Voice to type is now in the Android library and does not need to connect to wifi to interpret voice. Should be fun...


BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-14 23:15:43 Reply

bump because the forum has been really active today.

I got a functional login system with GoO :3
how you people's doin'?


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 2012-11-14 23:40:46 Reply

At 11/14/12 11:15 PM, egg82 wrote: bump because the forum has been really active today.

I got a functional login system with GoO :3
how you people's doin'?

Alpha map-based bitmapdata collisions...though it's kinda wonky since the sprites from the spritesheet change dimensions a bit when I use a rotated one (premade rotation sprites).

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

At 11/14/12 11:40 PM, MSGhero wrote: Alpha map-based bitmapdata collisions...though it's kinda wonky since the sprites from the spritesheet change dimensions a bit when I use a rotated one (premade rotation sprites).

The wonk is coming from certain stuff not being at a y coordinate divisible by 4. I hope.

Meanwhile, school keeps me very busy. Last test for a while today, though :D

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-15 08:30:26 Reply

At 11/15/12 01:41 AM, MSGhero wrote: The wonk is coming from certain stuff not being at a y coordinate divisible by 4. I hope.

What in the world are you doing? O.o

Meanwhile, school keeps me very busy. Last test for a while today, though :D

mm, I still have homework due by Sunday that I haven't even started yet...


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 2012-11-15 11:16:07 Reply

At 11/15/12 08:30 AM, egg82 wrote: What in the world are you doing? O.o

The background and characters are all from spritesheets (blitted), so the only reasonable way to do collisions is with an alpha map, the city map abstracted to colors. Transparent means walkable, red is a wall or something, yellow is a door, etc. Then I test the corners of the sprite's rectangle with alpha map.getPixel32() to see what's going on. It's just glitchy if the y coordinate isn't divisible by 4 because he'll move past the boundary and then check getPixel32, which would cause problems when he turns and is partially stuck in a tree.

PrettyMuchBryce
PrettyMuchBryce
  • Member since: Mar. 17, 2001
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to The Flash 'Reg' Lounge 2012-11-15 14:20:02 Reply

I've been thinking on and off about why there is no service to let indie web game developers build games and then sell them online? Do you guys think anyone would pay for high quality content if it was in a web browser ? I think the world as a whole is becoming more comfortable with buying digital content. I am just thinking it would be neat if there was a steam-like service online that showcased quality games, and gave the developers the option of selling them for a small fee. What do you guys think about this ?

pirateplatypus
pirateplatypus
  • Member since: Sep. 27, 2011
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to The Flash 'Reg' Lounge 2012-11-15 14:58:02 Reply

I think the idea of a Steam like platform for selling Flash games is a great idea, but it will never work.

The problem is that there is so much competition in terms of free games that it would be really hard to attract people to your pay only game. I think another big problem is that a very large percentage of casual gamers are pre-teens that both don't have jobs and have no concept of having to pay rent and thus they don't care if the dev makes any money or not.


"If loving Python is crazy then I don't want to be sane." -Diki

Sandremss128
Sandremss128
  • Member since: Aug. 22, 2009
  • Offline.
Forum Stats
Member
Level 11
Programmer
Response to The Flash 'Reg' Lounge 2012-11-15 15:11:57 Reply

At 11/15/12 02:58 PM, pirateplatypus wrote: I think the idea of a Steam like platform for selling Flash games is a great idea, but it will never work.

The problem is that there is so much competition in terms of free games that it would be really hard to attract people to your pay only game. I think another big problem is that a very large percentage of casual gamers are pre-teens that both don't have jobs and have no concept of having to pay rent and thus they don't care if the dev makes any money or not.

Yeah micro transactions, downloadable content, and crowd funding seem to be the hot ways of making money with games these days. Lure them in with free to play, then ask money from them. Besides if you make a good enough game or series you'll be able to ask money for it.

Josh-B
Josh-B
  • Member since: Aug. 14, 2005
  • Offline.
Forum Stats
Member
Level 14
Artist
Response to The Flash 'Reg' Lounge 2012-11-16 18:44:14 Reply

At 11/15/12 02:58 PM, pirateplatypus wrote: I think the idea of a Steam like platform for selling Flash games is a great idea, but it will never work.

I think having a platform for distributing flash games with Steam being so popular is a little redundant. Generally if your game is high enough quality to be sold for money, it is perfectly capable of getting onto Steam. Of course, some developers who make high quality flash games want them to be free anyway, thus the internet already fills that niche.

It does beat the current model of money through sponsorship, which seems to me to be tapering off, so maybe there is a market for a distribution platform for small-time flash game developers who can no longer, or don't want to, rely on sponsors. I still feel a slight negative reaction towards people who try to charge people for flash games on par with the quality of free online games, but I now realize that the developers are trying to make a buck either way so maybe the players should be the ones paying up?


:U

Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-17 10:01:19 Reply

At 11/16/12 06:44 PM, Josh-B wrote: Generally if your game is high enough quality to be sold for money, it is perfectly capable of getting onto Steam.

steam is extremely overloaded with indies lately and they made greenlight as a result, if you wanna get on steam now you pretty much have to go through greenlight, which is more effort than "just" making a good game, you need to get a good following too (which to be fair, is made easier with flash games since they spread virally)

also, people won't pay for flash games from a flash game portal, hell they whine and complain when flash games show up on steam as it is

PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2012-11-19 08:11:39 Reply

I've been having several dates with procedural generation, and as a result made 2 small libraries, 1 for L-Systems, and another for DLAs (Diffused Limited Aggregation). L-Systems is a simple concept, basically you define a set of rules, like replace X with F[+XF]-[F] and F with FF or something like that, then you start with X, and just iterate over a few generations. Very quickly things can add up, and a result could be the plant (first pic). Really cool stuff.

Now for DLAs, those are also really cool, and again, a very simple underlying concept. Basically you have an origin and a target boundary, and you generate particles from the origin, and have them move randomly. If a particle touches the boundary or another particle that has already frozen, the particle freezes. This way the particles build up around the boundaries. I read about this using pixels and shit, but I thought making a geometric library would be better just so that it's not tied to a specific platform or something.

Anyways, enough blabbing, here are some cool pics. The first is a plant made with L-Systems, and the rules being interpreted like this:
F = draw forward
-/+ = turn left/right 25°
[/] = push/pop the current position
The 2nd pic is a DLA system with a circular boundary, and the 3rd is with a rectangular boundary.

The Flash 'Reg' Lounge