New games every week!
Go? Blog
25th April 2024
I'm struggling to figure out how I'm going to get a Goto equivalent working in Javascript..

-=-=-

Definitely going to need a little more thinking time on this particular chunk of the Transpiler.
Javascript honestly doesn't seem to have anything that I can use to work around Goto's.
I've asked various AI Chatbots what they think, and the general consensus seems to be to turn each line into a function and then have a "Which line am I on" thing that calls each function one by one.
.. Honestly, that sounds even less optimised than using my interpreter!!!
So, I'm actually tempted to stick with JSE as-is, when targeting Javascript. I think that might be the better option, here.

Over on C++, versions of it have a Goto command of sorts, so that's workable. I hope. I'll find out once I actually try to compile things.
For Gosubs, I can grab a stack of return points and then goto back to the last return point in the stack. .. I think..
Assuming C++ lets me goto a variable reference... Hmmm...

For Blitz3D/BlitzMax targets it shouldn't be too much of an issue as those both have the important stuff

ugh...

Meanwhile...




View on YouTube
Zinc Quayside

Yesterday's ALChoon features new Emvoice Singer Madison.
I'm not really sure I like her. Or at least, not here. She doesn't sound right at all.
Frustratingly, the "AI" bit of Emvoice seems to be very exact in how it sings notes, so if you try to duplicate Emvoice and have two different singers, hoping they'll sound nice together... They really don't..
They sound identical, and there's weird clashing going on.
It only really works if each singer has their own harmonious notes, rather than being the same notes.
.. Which is a shame, as it means I have to do more work to get it to sound right, and that's not what lazy-Jay wants out of an AI tool!!

Maybe there's ways around it.
I'll have to investigate with effects and such, see if I can find a methodology to cheat my way through harmonies!


"Cartoon @Derek isn't sure where he should goto" by #ArtFlow.ai
Views 2503, Upvotes 21  
Daily Blog , Jse
New games every week!
Site credits : Jayenkai put all his heart and soul into everything you can see on this site.
(c) Jayenkai 2023 and onwards, RSS feed 83

Blog - Go? - AGameAWeek