|
Post by hhyyrylainen on Feb 20, 2018 22:12:47 GMT
|
|
Darwin
Multicellular
Posts: 20
|
Post by Darwin on Feb 21, 2018 21:20:41 GMT
Well I will see what I can do.
NOTE: Since Electron can use HTML, CSS, JS for it's code, I am probably able to learn how to use it! Brilliant!
|
|
|
Post by hhyyrylainen on Feb 23, 2018 7:20:15 GMT
Well I will see what I can do. NOTE: Since Electron can use HTML, CSS, JS for it's code, I am probably able to learn how to use it! Brilliant! JS, CSS and HTML are exactly what's currently used (other than for the ruby script that prepares the icon files and releases). I thought about using TypeScript but haven't bothered yet, it should be pretty easy to mix it with other components written in javascript so it should be easy to start using gradually for things that it makes easier.
|
|
Darwin
Multicellular
Posts: 20
|
Post by Darwin on Feb 23, 2018 10:12:33 GMT
Well I will see what I can do. NOTE: Since Electron can use HTML, CSS, JS for it's code, I am probably able to learn how to use it! Brilliant! JS, CSS and HTML are exactly what's currently used (other than for the ruby script that prepares the icon files and releases). I thought about using TypeScript but haven't bothered yet, it should be pretty easy to mix it with other components written in javascript so it should be easy to start using gradually for things that it makes easier. Alright, cool. I'll get to learning these languages, see what I can do. I want to ask, what are it's main internals programmed in? (for the code that does stuff and isn't for looks and such, what did you use? I assume JavaScript and HTML?)
|
|
|
Post by hhyyrylainen on Feb 23, 2018 11:00:29 GMT
JS, CSS and HTML are exactly what's currently used (other than for the ruby script that prepares the icon files and releases). I thought about using TypeScript but haven't bothered yet, it should be pretty easy to mix it with other components written in javascript so it should be easy to start using gradually for things that it makes easier. Alright, cool. I'll get to learning these languages, see what I can do. I want to ask, what are it's main internals programmed in? (for the code that does stuff and isn't for looks and such, what did you use? I assume JavaScript and HTML?) There is some static html, which is shown and hidden by javascript. But a lot of the visible elements are created dynamically by javascript. It's basically like the modern single page webapps that use javascript to control the visible elements (html), so if you know how those are made the launcher is basically that except it is wrapped in a native application that just shows that one page. renderer.js is the main file included in the webpage, it has all the setup and loads all the other used files. If you try to debug you should edit main.js to change the variable openDev to true to get the chrome developer tools.
|
|
|
Post by NickTheNick on Feb 27, 2018 10:05:22 GMT
Hey man that's awesome work! I'll try it out tonight when I get home. Hey Nick did you get to try it I'm wondering how good it actually is It's actually very cool! I just installed a copy of the game on my laptop with it. Nice work Darwin!
|
|
Darwin
Multicellular
Posts: 20
|
Post by Darwin on Feb 28, 2018 19:46:47 GMT
Hey Nick did you get to try it I'm wondering how good it actually is It's actually very cool! I just installed a copy of the game on my laptop with it. Nice work Darwin! Thank you very much, Nick! Have fun using it!
|
|