[as2][cs4] Downloadable Content.

  • 275 Views
  • 4 Replies
New Topic Respond to this Topic
PsycoMunkey
PsycoMunkey
  • Member since: Apr. 30, 2011
  • Offline.
Forum Stats
Member
Level 05
Game Developer
[as2][cs4] Downloadable Content. Jun. 25th, 2012 @ 11:28 PM Reply

Hey guys, it's me again.

I know DLC HAS to be possible in flash AS2. I know how to use loadMovie(); and load SOUNDS. But how would I load the characters, who happen to be premade Movieclips?

Usually when loading external sound I equip each sound with the attachMovie(); method in a seperate .fla, and load the .swf into another movie, with something like

_root.musicHolderMC.soundLinkageName.start();

But I wanted to know, can I do this with a movieclip? Is there a way to make a universal function that will allow my DLC to work everytime?

I plan to put the DLC's into SWF's if you haven't noticed yet.

I appreciate any help that is given!

MintPaw
MintPaw
  • Member since: Jun. 11, 2006
  • Offline.
Forum Stats
Supporter
Level 10
Programmer
Response to [as2][cs4] Downloadable Content. Jun. 26th, 2012 @ 12:14 AM Reply

That's not really what DLC is, but you can load SWFs in using loadMovie() and you can load them into an MC and use that.

Flash doesn't really need DLC potential because of how small the files is. Make your 'game' just a file that loads and SWF that you have on your server. Then when you want add contents just update the Flash on your server.


If ya have something to say, PM me. I have a lot of time to spare.
Also never PM egg82.

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Online!
Forum Stats
Supporter
Level 05
Game Developer
Response to [as2][cs4] Downloadable Content. Jun. 26th, 2012 @ 12:15 AM Reply

At 6/25/12 11:28 PM, PsycoMunkey wrote: I appreciate any help that is given!

AS2 has some weird security things that make it damn near impossible to dynamically load external SWFs into a movie (i've tried addons for my games)

i'm not sure about AS3, but i'm pretty sure there's a much easier way.


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

BBS Signature
PsycoMunkey
PsycoMunkey
  • Member since: Apr. 30, 2011
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to [as2][cs4] Downloadable Content. Jun. 26th, 2012 @ 02:27 AM Reply

At 6/26/12 12:14 AM, MintPaw wrote: That's not really what DLC is, but you can load SWFs in using loadMovie() and you can load them into an MC and use that.

Flash doesn't really need DLC potential because of how small the files is. Make your 'game' just a file that loads and SWF that you have on your server. Then when you want add contents just update the Flash on your server.

I know what a DLC is, I was just asking how to do this, cause I was gonna make DLC's later INCLUDING characters that come along with it. Like music packs, Stage packs and even user created content (I was gonna make a exe version that loaded all types of content for the game, meaning players could make their own using default instance names and tutorials).

I know that the files would be small, but i don't want certain characters in the game as default. If users would like to see different characters though, they could put them in. Just thought it'd be a cool feature, y'know?

I was totally avoiding having to update the SWF every time. but, I might have to....

Thanks for the help anyway! n_n

At 6/26/12 12:15 AM, egg82 wrote: AS2 has some weird security things that make it damn near impossible to dynamically load external SWFs into a :movie (i've tried addons for my games)

i'm not sure about AS3, but i'm pretty sure there's a much easier way.

Thanks man. That sucks though. that means if I want to do this, I'd have to make DLC's for EXE release only. :\

I guess that's good enough though, right?

egg82
egg82
  • Member since: Jun. 24, 2006
  • Online!
Forum Stats
Supporter
Level 05
Game Developer
Response to [as2][cs4] Downloadable Content. Jun. 26th, 2012 @ 02:34 AM Reply

At 6/26/12 02:27 AM, PsycoMunkey wrote: Thanks man. That sucks though. that means if I want to do this, I'd have to make DLC's for EXE release only. :\

same compiler, same problem, unfortunately.


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

BBS Signature