You may open many many many doors this way Great decisionGood news, I'll try again porting v8 to use it instead of duktape. V8 is Google's JS engine, and the one Chrome and Node use. This means porting Node itself would be even easier, and more likely. (Can you imagine it? npm and node running on our switch...)
I'll start working on it tomorrow.
That's pretty strange tbh, I must remember that duktape engine, the JS internal interpreter, doesnt fully support es5, and only a few stuff of es6.When I get an exception. Its usually on a line that doesn't exist. Example 75 lines of code in Source.js
I get an exception on line 98. Is there something I'm missing?
No actually that would make perfect sense. Been doing JS along time but when the new stuff comes out I adopt quickly. "let" for example.That's pretty strange tbh, I must remember that duktape engine, the JS internal interpreter, doesnt fully support es5, and only a few stuff of es6.
I know how to get to my goal in JS. However, I never touched C++. That's why I was asking for a code example how to do that.With the brew embed you can use Brew.js on a C++ libnx app, but if you know how to code in both JS and C++ you could do that @Ownzor
LStickRightThe game is almost done but Is there an input to control the sticks?
var input = require("input");
var ipt = input.getPressed();
if(ipt == input.LStickLeft)
{
// Left Stick - Left is pressed
}
Thank you!LStickRight
LStickLeft
LStickUp
LStickDown
Code:var input = require("input"); var ipt = input.getPressed(); if(ipt == input.LStickLeft) { // Left Stick - Left is pressed }
1.1 release is almost finished, it only needs testingIs this still recieving updates?
Once EmuNAND is available I plan to get right into CFW and with this I hope to get right into Homebrew Development, JS is my jam1.1 release is almost finished, it only needs testing