Be a Supporter!

The Flash 'Reg' Lounge

  • 1,880,324 Views
  • 64,310 Replies
New Topic Respond to this Topic
Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-04 15:09:40 Reply

At 6/3/13 04:32 PM, GeoKureli wrote: macros.... a few years ago I loved the idea of C++ macros, and thought C# was lame for not including them. Now I'm siding with C#'s standpoint that macros easily make your code esoteric and unreadable. but again this is a feature that when used responsibly can be great.

removing a useful feature because it *CAN* be used stupidly doesn't really justify removing it.

also my swf renderer is coming along, here's some more screenshots

line renderer test 1:
http://i.imgur.com/HcvrIaF.png

line renderer test 2:
http://i.imgur.com/aDBeTFg.png

image test (layers, lines, transparent lines, fills)
http://i.imgur.com/aXLQ6SA.png

found this library and used it to rewrite the line renderer
http://i.imgur.com/YcxKTdZ.png

dynamic curve subdivision, I step across the curve in really short steps, it only adds the point to the list if the distance is greater than a minimum threshold and the angle is greater than a minimum threshold (more points on the curvier parts, less on the straighter parts)
http://i.imgur.com/YYF9MrX.png

Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2013-06-04 15:25:44 Reply

At 6/4/13 03:09 PM, Glaiel-Gamer wrote: image test (layers, lines, transparent lines, fills)
http://i.imgur.com/aXLQ6SA.png

You spelled out "religion" in cursive hebrew without knowing. I think jewish jesus is trying to speak to us through your swf rendering tests.

Btw what is the renderer used for? Are you just programming the functionality of a renderer in the broad sense of the word? Is there any specific purpose you have in mind for this?


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-06-04 15:32:32 Reply

At 6/4/13 03:25 PM, Toast wrote: Btw what is the renderer used for? Are you just programming the functionality of a renderer in the broad sense of the word? Is there any specific purpose you have in mind for this?

so I can make games in c++ but use SWF for assets

GeoKureli
GeoKureli
  • Member since: Apr. 1, 2003
  • Offline.
Forum Stats
Supporter
Level 19
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-04 16:50:08 Reply

At 6/4/13 03:32 PM, Glaiel-Gamer wrote:
At 6/4/13 03:25 PM, Toast wrote: Btw what is the renderer used for? Are you just programming the functionality of a renderer in the broad sense of the word? Is there any specific purpose you have in mind for this?
so I can make games in c++ but use SWF for assets

http://gameware.autodesk.com/scaleform

I just saw a job posting on linked in asking for a flash programmer to make UI elements for C++ games using scaleform.

I've yet to look into it, fully

Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-04 16:52:09 Reply

At 6/4/13 04:50 PM, GeoKureli wrote: http://gameware.autodesk.com/scaleform

scaleform is for UI I am making my thing for game objects / assets and stuff

GeoKureli
GeoKureli
  • Member since: Apr. 1, 2003
  • Offline.
Forum Stats
Supporter
Level 19
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-04 17:23:56 Reply

At 6/4/13 04:52 PM, Glaiel-Gamer wrote:
At 6/4/13 04:50 PM, GeoKureli wrote: http://gameware.autodesk.com/scaleform
scaleform is for UI I am making my thing for game objects / assets and stuff

I don't see why it couldn't be used for that, too.

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

I got openfl to work. Never before has making a green square made me so proud of myself. Code completion still gives an error every time I press "." but whatever.

Meanwhile I have a java test tomorrow I haven't studied for
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-05 18:04:00 Reply

At 6/5/13 05:26 PM, MSGhero wrote: I got openfl to work. Never before has making a green square made me so proud of myself. Code completion still gives an error every time I press "." but whatever.

I know, right?! I shouted at the top of my lungs when I got my red square to work. Unfortunately it was in the middle of class and everyone looked at me like I was crazy >.>


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-06-05 22:46:16 Reply

i make webcomic http://imgur.com/a/NlPDq

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

At 6/5/13 10:46 PM, Glaiel-Gamer wrote: i make webcomic http://imgur.com/a/NlPDq

Ohh, THAT'S what the swf renderer is for.

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

At 6/5/13 10:46 PM, Glaiel-Gamer wrote: i make webcomic http://imgur.com/a/NlPDq

that last panel is from a currently-running web comic by the name of control-alt-delete. The author ended the original series last year and started a new one. It'd been running for a very, very long time and I had a pretty deep emotional investment by that time.
He ended the series twice, the second because people were complaining about the first ending. The first ending ripped my heart out and shred it to bits :'(


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
Luis
Luis
  • Member since: Apr. 23, 2000
  • Offline.
Forum Stats
Supporter
Level 02
Melancholy
Response to The Flash 'Reg' Lounge 2013-06-06 22:08:42 Reply

At 6/6/13 09:58 PM, Glaiel-Gamer wrote: more webcomicz

https://twitter.com/tylerglaiel/status/342799895977156608/ph oto/1

im impressed with your ability to draw bewbs


None

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

At 6/6/13 09:58 PM, Glaiel-Gamer wrote: https://twitter.com/tylerglaiel/status/342799895977156608/ph oto/1

Ohhh, I remember this one, too! Not sure what it is or where, but I remember seeing a small comic floating around the interwebs years ago. It had two versions, one where peach sends him a note about cupcakes and he asks where they are when she's naked with whipped topping all over her, and one where he's getting cake (I think) his skeleton is in a cell and there's tick marks along the wall with the phrase "the cake is a lie" written everywhere.
Was also much better drawn.

No offense, glaiel :P

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-06-07 21:40:29 Reply

more comics, i'll just post the whole album http://imgur.com/a/LBYH1

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-08 00:47:48 Reply

That magical moment when you add art to your prototype and have a game on your hands~

Also, my rpg is finally published. Gonna wait till after the initial reactions before finishing up the post mortem.

Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-06-08 05:57:58 Reply

At 6/8/13 12:47 AM, MSGhero wrote: That magical moment when you add art to your prototype and have a game on your hands~

Pics


- Matt, Rustyarcade.com

nitokov
nitokov
  • Member since: May. 8, 2012
  • Offline.
Forum Stats
Member
Level 05
Programmer
Response to The Flash 'Reg' Lounge 2013-06-08 07:37:46 Reply

At 6/8/13 12:47 AM, MSGhero wrote: That magical moment when you add art to your prototype and have a game on your hands~

Also, my rpg is finally published. Gonna wait till after the initial reactions before finishing up the post mortem.

Congrats on front page!


RangeError: Error #1125: The index 4 is out of range 4.

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

At 6/8/13 07:37 AM, nitokov wrote: Congrats on front page!

Zach put in a good word for me cuz I'm helping him make a game lol... Also pics later, I just got on quickly to change the difficulty of the game cuz it was "way harder than final fantasy."

Bruute
Bruute
  • Member since: Sep. 1, 2002
  • Offline.
Forum Stats
Member
Level 15
Melancholy
Response to The Flash 'Reg' Lounge 2013-06-08 16:37:31 Reply

Congrats MSGhero!


- Sig provided by ME of the NGSM
- If you try to stay high, your bound to stay low. -
- If I make you a sig, please credit me here -

BBS Signature
MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-08 17:01:37 Reply

UI mockup
Couple sprites, setup procedure for spritesheet exporter.

Color switching bullet hell/shooter. The main character is an octopus for some unknown reason. I'll have a demo once I get all the colors so nothing breaks.

I'm using haxe openfl, and the grapefrukt exporter to convert mc->spritesheet. It's really cool, a bit annoying to set up (code goes in the fla), but it creates pngs + xml from the instance names, which I have as octoRed, octoBlue, and the linkage name is octopi. Then in the actual code, the path to each spritesheet is "octopi/octo" + currentColor + ".png". There's a built-in tilesheet class which is basically what I did for the rpg, and I use a map (dictionary) with the color as a key to get to each sheet.

var bmd = Assets.getBitmapData(imgPath);
Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2013-06-08 20:28:34 Reply

At 6/8/13 05:01 PM, MSGhero wrote: UI mockup
Couple sprites, setup procedure for spritesheet exporter.

Have you ever tried Zoe? Also texture packer was recommended to me by a friend but I've yet to use it


- 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-06-08 21:17:03 Reply

At 6/8/13 08:28 PM, Rustygames wrote: Have you ever tried Zoe? Also texture packer was recommended to me by a friend but I've yet to use it

Yeah actually, I tried Zoe right before. My regis points are all near the center, and there were no options to set its position. I downloaded it from their front page, and it said setting the regis pt was in the latest version, so idk.

The tiles are all the same size rect which means the regis pt doesn't change per frame. TP would be good, but I'd have to tell it for each frame where the regis pt is relative to the top left, unless I leave big alpha=0 gaps which would basically be what I'm doing now. Like if the octopus shot out its left(est) leg, regisX relative to the left boundary would have to increase to prevent a jerky animation. But yeah, angry birds uses it, so it must be good.

Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-08 21:50:50 Reply

the domain was available http://gamewebcomic.com/

FlyingColours
FlyingColours
  • Member since: Jul. 3, 2011
  • Offline.
Forum Stats
Member
Level 06
Programmer
Response to The Flash 'Reg' Lounge 2013-06-09 03:33:28 Reply

Awesome RPG. MSGhero! I haven't really been checking the lounge for the past week, but seeing your RPG up there was great. :) I'll try playing through it when I get the time.

PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-09 04:51:29 Reply

At 6/8/13 09:17 PM, MSGhero wrote:
At 6/8/13 08:28 PM, Rustygames wrote: Have you ever tried Zoe? Also texture packer was recommended to me by a friend but I've yet to use it
Yeah actually, I tried Zoe right before. My regis points are all near the center, and there were no options to set its position. I downloaded it from their front page, and it said setting the regis pt was in the latest version, so idk.

I made my own texture packer once B-)

But the modularity of it sucked, so I ditched it, but it could export Zoe spritesheets, Starling spritesheets, and LibGDX spritesheets/used LibGDX as a packer. Though I also had my own built-in packer method, since LibGDX needs Java I think... (not sure why the Zoe exporter has problems with the registration point, since mine works perfectly detecting the reg. point and working with that)
I'm not sure if the project will compile anymore:
https://github.com/PDeveloper/SpritesheetGen

Once you compile that, then you can drag'n'drop .swf files into the library panel, or press the Load button. The pop up will show options to import. You can import the whole root animation of the swf, or individual Movieclips it finds on the stage (naming goes by instance name, so give your animations instance names to identify them here). You can choose the scaling of it, as well as the canvas size for it's spritesheet. It will warn you if the canvas was too small to fit the whole animation. There's also an animation preview panel under the library, you can press play/pause/stop. This technically plays back from the spritesheet it generates as a preview, so if I remember correctly, this will tell you if the exported animation will look correct.

Right now you can only export a single symbol...for some reason I remember you being able to export multiple symbols together... :/ Will see.

And undocumented... :S
I should remake that, except using Haxe which will make getting symbols from the .swf much easier (No need to put them on the stage, you can just select a symbol that has been exported for AS).

PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to The Flash 'Reg' Lounge 2013-06-09 04:53:35 Reply

At 6/9/13 04:51 AM, PSvils wrote: Stupid self-plug

Version on GitHub only does Starling...

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

At 6/8/13 09:50 PM, Glaiel-Gamer wrote: the domain was available http://gamewebcomic.com/

Have you gone insane?

These are hilarious and awesome though


- Matt, Rustyarcade.com

nitokov
nitokov
  • Member since: May. 8, 2012
  • Offline.
Forum Stats
Member
Level 05
Programmer
Response to The Flash 'Reg' Lounge 2013-06-09 13:52:00 Reply

hi, anyone know good link where i could learn state machine and such things?


RangeError: Error #1125: The index 4 is out of range 4.

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

At 6/9/13 01:52 PM, nitokov wrote: hi, anyone know good link where i could learn state machine and such things?

http://www.gotoandlearn.com/play.php?id=154 if you mean to control your game flow.