Forum Topic: External file hosting

(73 views • 5 replies)

This topic is 1 page long.

<< < > >>
None

Disarray-yarrasiD

Reply To Post Reply & Quote

Posted at: 12/26/08 12:08 AM

Disarray-yarrasiD DARK LEVEL 09

Sign-Up: 11/14/04

Posts: 1,474

Where would you recommend hosting files for a game? I recently started developing a game using papervision and (being completely new to as3) learned that you cannot import .dae files into a .fla. Seeing as I know no other way to load files other than hosting them (I don't even know if it is possible to export them inside the .swf), I would appreciate any help.

BBS Signature

None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 12/26/08 04:39 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,418

Extend the library to load embedded binaries.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

4urentertainment

Reply To Post Reply & Quote

Posted at: 12/26/08 06:08 AM

4urentertainment NEUTRAL LEVEL 13

Sign-Up: 08/01/08

Posts: 1,599

Wait, does this work for other stuff too?

I mean if the game it too big, can I host half of it somewhere else and half of it on NG, and while ur playing the first half the other half loads?

Or is this just a crazy idea and I don't even know what I'm talking about?

"When you look at yourself from a universal standpoint, something inside always reminds or informs you that there are bigger and better things to worry about. "- Einstein


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 12/26/08 09:22 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,418

At 12/26/08 06:08 AM, 4urentertainment wrote: Wait, does this work for other stuff too?

Flash apps have the ability to load other apps and media from the internet at runtime. Use it how you want. (As long as you can take the bandwidth.)

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

Disarray-yarrasiD

Reply To Post Reply & Quote

Posted at: 12/26/08 10:36 AM

Disarray-yarrasiD DARK LEVEL 09

Sign-Up: 11/14/04

Posts: 1,474

At 12/26/08 04:39 AM, GustTheASGuy wrote: Extend the library to load embedded binaries.

how would I go about doing this?

BBS Signature

None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 12/26/08 12:40 PM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,418

Still no idea if there's a proper way to embed data with Flash, with Flex simply use the Embed metatag with

mimeType = "application/octet-stream"

and you'll get a ByteArray class.

Rewrite the loader classes to read given byte arrays directly instead of handling files and you're set.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


All times are Eastern Standard Time (GMT -5) | Current Time: 11:59 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!