Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Getting CopperCube to work with Electron

jedarch
Registered User
Quote
2019-05-12 05:18:32

I've had success in the past loading .html output in Electron. I'm not certain why all of a sudden my current output doesn't pass the loading screen. Anyone work with Electron before?


srfstudio
Registered User
Quote
2019-05-12 21:30:09

I've used Electron but only with html5 games that I've made in Construct 2. For Copper I had some good results with WebDGap.

If you're not using Electron because of some specific technical aspect of your game or if you don't mind automatic process of wrapping the game in NWJS than give it a try. WebDGap desktop app stopped working for me but you can export to exe directly from website for free:
http://michaelsboost.com/WebDGap


jedarch
Registered User
Quote
2019-05-13 01:21:29

I was using Electron to enable hyper-linking functionality (which appears not to work in CCube's Windows exe output). I'm going to give your suggestion a try. Never heard of the site you mentioned before. Thank you for your advice!


srfstudio
Registered User
Quote
2019-05-13 12:33:10

You wont have a problem with links but there are two things that NWJS can't do: it can't display YouTube videos & Unity web-exports.
Also it could happen that your links will open in a new NWJS window and not in your browser, I think there was a simple solution to that but I can't remember what it was, I'm sure you can find it if you search for it.


srfstudio
Registered User
Quote
2019-05-14 17:27:14

...I'm not sure if I understood you right but if your using WebGL just because of hyper-links (and not iframes, html objects etc.) than you can open links also from exe builds by using 'When Clicked on this do something' > 'Execute JavaScript' and than put this:
system('START https://www.ambiera.com');

It does opens an ugly, black DOS/Command window for a second but it works :)


johnnydel
Registered User
Quote
2019-05-31 11:54:01

Solid stuff and the videos are great too


srfstudio
Registered User
Quote
2019-06-01 18:31:17

I have Copper Pro so I can play videos inside a game but I just tried it with system command & it kind of/sort of worked. It's not really great as you said but I guess with some sort of video-wrapper-app it could be o.k. At least Windows won't ask you with what program to open video if it's wrapped in a separate app :)


Create reply:


Posted by: (you are not logged in)


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