Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Feature requests and bug reports
editorGetFileNameFromDialog

pmax
Registered User
Quote
2022-11-24 16:15:28

It would be nice to have this feature in Game.
I am trying to create an interfacing and there would be a need for this feature in game, maybe only available for Windows and macOS compilations.

PS:translation via DeepL


just_in_case
Moderator
Quote
2022-11-24 18:47:13

You can create your own version of this for windows platform using the system commands.
I already had something to open a load file script in my computer I will send you the file in the morning that loads a custom coppercube scene.


pmax
Registered User
Quote
2022-11-24 19:22:10

@just_in_case
Thank you, I looked a little bit on the net but not being a programmer I understood little or almost nothing.
the solution I had as an alternative was to edit the whole file path by hand.


just_in_case
Moderator
Quote
2022-11-25 09:42:46

@pmax , here is the githu repo link to my old project that allows you to load a .cca file which is just a rename of .ccb file to load a scene in Coppercube.
It is also a project that loads custom texture based fonts and can be used to create custom GUI during runtime.
It is a whole project so you might need to look for the code that you require in the AW.js file, it will be using the system command for the file selector dialogue.

https://github.com/vazahat/Coppe...

Run the AW.exe and it will show you a UI click on File and it will open a menu then click on load and ti will show you the file selction box and then you can Navigate to AW folder and select the test.cca file to load the scene in to the UI.


pmax
Registered User
Quote
2022-11-26 18:39:11

@just_in_case
Thank you! I'll go take a look at it.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (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