See emscripten.h for things like emscripten_async_wget, which lets you load
files that were not preloaded.

- Alon



On Fri, Mar 28, 2014 at 2:09 PM, colombian developers
<[email protected]>wrote:

> is possible preload a file in fopen not using a external 2 files only
>
> my project is a game engine that uses gamecode, sounds, graphs..
>
> the game use a non fix num of files , then game engine loads (variable) game 
> files with
> fopen .. is possible load files with fopen non using a .data external file ?  
> only using external original files?
>
> emcc file.cpp -o file.html --preload-file main.dcb --preload-file screen1.png 
> --preload-file sound.wav
>
> if game logic changes then fopen load other files not included in .data 
> external (file.data)?
> if not possible then , fopen load files initially list with (preload option) 
> but not using external .data file? is for change original files for others
>
>
> thanks
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to