Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
how to load models..and textures externally

gangnam guy
Guest
Quote
2017-04-12 08:39:36

Hey, does anybody know...
Instead of packing all textures ,sound and models into the exe itself... How can i load them externally... Making my exe file smaller... And loading all the components from external directories or files...


eminem100
Guest
Quote
2017-04-13 05:09:17

I also want to do same, it reduces memory usage and makes it less laggy.


areibma
Registered User
Quote
2017-04-13 20:22:57

It was asked before, to make the data file separate from exe. Don't know when Niko will add that though.


niko
Moderator
Quote
2017-04-14 08:02:30

For WebGL targets, this is already possible. Split your project into multiple files and then load the .ccbz files manually, using CopperLicht::load(...). But for the other targets, this isn't possible.

I've added this as feature on the TODO list for the next update for windows .exe as well.


Richard
Guest
Quote
2017-04-29 15:37:50

Great, Niko! This will really be make things easier (developing an rpg game with larger levels).


bracer
Registered User
Quote
2017-04-29 17:42:00

Any chance this will be implemented in Android as well please ?
How about something as simple as this.
The mesh have a texture right ? What if the texture have a property called URL ?
If the URL contain a URL to an image, it will load from that URL, or else it will use the default texture loaded in the mesh already.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact