Jump to content

An way to display what's being preloaded? (e.g.. sounds, graphics etc.)


Ninjadoodle
 Share

Recommended Posts

Hi @enpu

 

Not necessarily the file, but what kind of file ...

 

Loading Graphics

Loading Sound FX

Loading Music

 

It's ok if this isn't possible, just wondering :)

 

I notice that the loader slows down a lot towards the end, as I think it's loading a big music file.

 

It seems like the loader bar isn't proportional to the stuff being loaded.

 

I think I need to reduce the size of my music files.

Link to comment
Share on other sites

Yeah the loader first loads graphics, then audio.

It might be possible to get the info when it starts to load first audio file, but then it might still be loading some other graphic files.

Do you think that info is useful? I can add it to the next version.

 

And also the engine does not know which audio files are used as music and which are sound effects.

Link to comment
Share on other sites

Hi @enpu

 

Thank you for the offer, but don't spend you time on it (you're very busy as it is).

 

I was just wondering about what's possible.

 

Instead, I will reduce the size of my music files to speed up loading.

 

I do have a quick question tho ...

 

Do you bother using Atlases? Or packing all your graphics onto one sprite sheet?

 

I've been told that this loads a lot faster, then loading a lot of separate images.

 

Do you think it's worth it? It seems a bit silly  :mellow:

Link to comment
Share on other sites

Hmmm seems like a lot of extra work.

 

What happens when for example you have ...

 

- a tree

- a dog animation

- a car

 

... on the same sprite sheet?

 

Do you have to extract the frames from the correct positions using code?

 

What about when all the sprites have different sizes?

 

Thank you for you help btw!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...