123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|454|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> JSE -> JSE - Jay's Scripting Engine

Page : 1 2 Prev 3 4 Next 5 6 7 8 9 10 11 12 13 14
Tue, 04 May 2021, 08:40
Jayenkai


JSE

A Dice Roller.
Simply click on the screen to roll the dice.

See if you can spot today's new additions.

-=-=-
''Load, Next List!''
Fri, 07 May 2021, 12:17
Jayenkai
Today was the day for BODMAS.
Oh, lordy, was it tricky..

But.
.. I *think* I managed it.





I can still manage to trip it up in a couple of places, but .. for the most part, it's seemingly working pretty well.
BODMAS is going, and/or's are behaving, too.
Pretty much the only thing that's currently failing repeatedly is "NOT".. And I'm NOT sure why.

Next step.. Arrays.
Aaaaaaaarggghhhh!!!

-=-=-
''Load, Next List!''
Fri, 07 May 2021, 13:52
rockford
SOunds like it's really coming along nicely
Fri, 07 May 2021, 14:43
Jayenkai
I think so..
.. (Gawd, I hope so. if it all breaks at this point, I'll be super p'dof !)

-=-=-
''Load, Next List!''
Fri, 07 May 2021, 16:01
Afr0
You should port Doom to this!!
Or else, write a VM that can run Doom.
It isn’t a real language until it runs Doom

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Fri, 07 May 2021, 16:36
Jayenkai
Calm down, I've not even ported SpikeDislike, yet!!
Need to get those arrays going, first. Trying to figure out how to decipher the numbers is proving to be quite tricky.

-=-=-
''Load, Next List!''
Sat, 08 May 2021, 11:09
Jayenkai


Teehee



-=-=-
''Load, Next List!''
Sat, 08 May 2021, 16:45
Jayenkai

View on YouTube

Shit's coming on good!

-=-=-
''Load, Next List!''
Sun, 09 May 2021, 08:59
Pakz
Does your code get translated to Javascript and runs at javascript speed? How does this work?
Sun, 09 May 2021, 09:30
Jayenkai
It's more interpreter than compiler, but semi compiled before it gets going.

Everything gets reduced down to simple commands and references and the like. A ton of strings, which Javascript can more easily interpret.

Eg, instead of "Print a+b"
The "compiler" reduces it down to something more like 0=a, 1=b, 2=+, 3=Print.
0 becomes "the value of a"
1 the value of b
2, it subtracts "the number before" from "the number at zero"
Then 3 prints what's at zero.

The whole thing gets super confusing when you add brackets and BODMAS and stuff, but at its heart, everything is reduced to those simple singular commands which Javascript can fly through at a decent pace.

Of course, It's not the "most" optimised way of doing it..
To speed things up a bit, I could convert keywords to numbers, then simply have to select/case those numbers instead of doing it with strings. .. but from what I've seen, that doesn't seem to make it "too" much quicker. Javascript doesn't seem to give a munkies whichever it's dealing with.

Most of the bottleneck is from the whole javascript/canvas drawing methods.
If I switched to WebGL that'd be a lot faster, but also less compatible with default settings.
*sheugs*

-=-=-
''Load, Next List!''
Sun, 09 May 2021, 11:19
Jayenkai


Today's mostly been spent staring at things like this..
Suffice to say.. Arrays still aren't working!

-=-=-
''Load, Next List!''
Sun, 09 May 2021, 18:48
steve_ancell
Looks like it's coming along nicely, having the compiler reducing commands down to byte code is a bit like how Blitz3D works with a runtime.
Mon, 10 May 2021, 11:55
Pakz
Someone asked me if there is going to be a desktop version? I have no idea if this is possible with javascript though.
Mon, 10 May 2021, 14:35
Jayenkai
It kinda works. I mean, I'm doing all the dev-work using files sat on my hard drive.
Thing is, though, Javascript has oodles of security things when it comes to running things on the desktop.
It's .. Shall we say, slightly flawed like that.

It also seems to lose all your saved data if the browser updates. The online save data is fine, but local-host saves don't appear to be permanent.


Ask the person to visit Browsercade.com, close the browser, disconnect their internet, then head back to Browsercade.com without any internet access.

If that works, then this should hopefully be able to do the same.. Once I've enabled that. I currently haven't, but will be doing so at a later point.

-=-=-
''Load, Next List!''
Mon, 10 May 2021, 15:34
Jayenkai

Play with JSE here

Added a basic Tilemap engine, today, 'cos .. you know... *shrugs* Why not make a tilemap!?

-=-=-
''Load, Next List!''
Wed, 12 May 2021, 08:47
Jayenkai


-=-=-
''Load, Next List!''
Thu, 13 May 2021, 01:48
Dan
Hmm, please add "Select all" and "Paste" buttons.
Thu, 13 May 2021, 02:41
Jayenkai
Browser securities don't seem to like having a Javascript based paste. I can copy fine, but a ton of device/browser configurations seem to stop paste from working.
What device/browser are you using?

-=-=-
''Load, Next List!''
Thu, 13 May 2021, 15:22
Jayenkai


^ For loops!



Arrays!!

I've had a productive day!!
I need to sleep, now!

-=-=-
''Load, Next List!''
Thu, 13 May 2021, 19:05
9572AD
You've gone a LONG way from CardAgain, mate!
Fri, 14 May 2021, 04:30
Jayenkai
Cardagain...
Hmmm.. That's a good idea..



25% complete.. Currently adding gameplay.

-=-=-
''Load, Next List!''
Fri, 14 May 2021, 05:17
Dan
Windows 10, SrWare iron (chrome based browser)

I asked for the buttons because it would make it easier to test the code. e.g. open the browser and click on the paste button.

(p.s. i usually use the right-click-menue to paste the files, but it is disabled there)
Fri, 14 May 2021, 05:33
Jayenkai
Ctrl+V?
I'm trying to work out an easy way to have a clickable link that automagically copies the code across, but getting that to work from the forum might not be easy.
Trying to figure it out.
I'll let you know.

-=-=-
''Load, Next List!''
Fri, 14 May 2021, 08:04
Jayenkai


^ Cardagain! JSE is here

-=-=-
''Load, Next List!''
Sat, 15 May 2021, 06:52
Dan
Here is my wishlist for the Sprite(symbol) editor:

Mirror, Flip, Copy and Paste (or at least duplicate the current image ?!), move the graphics up/down/left/right.

And maybe set the right mouse button to erase or to second color.
Page : 1 2 Prev 3 4 Next 5 6 7 8 9 10 11 12 13 14