by gabrielflorit on 1/26/19, 1:12 AM
Hello everybody, author here. I hope you enjoy my tiny project.
Regarding language, I chose Javascript for three reasons:
- the (ab)use of `eval` lets you do all sorts of sorcery, like instant evaluation
- the JS Redux library makes it easy to work with state, and I couldn't have implemented SCRIPT-8's time-traveling debugger without it
- I dream in Javascript
I love Lua's small footprint, and very early on I considered writing SCRIPT-8 in MoonScript, which compiles to Lua and has gorgeous syntax. Maybe some day.
And yes, my fantasy computer is definitely not the only open source project, there's several out there, and probably all of them are more stable than mine. Go check them out.
by akx on 1/26/19, 11:45 AM
I find kind of disingenuous that the page does not mention PICO-8 at all, which is the obvious inspiration for this project, starting from the name. Many people who are in the scene, as it were, do know PICO-8 and know to draw the parallels, but it'd still be nice to link back to
https://www.lexaloffle.com/pico-8.php somewhere...
by aquova on 1/26/19, 1:29 AM
I'm an avid Pico-8/fantasy computer fan, and this is a really nice project. There have been quite a number of fantasy consoles coming out within the past few years, so it's nice to see one that offers features that the others don't, rather than simply "Pico-8, but with a twist". The live coding window and sliders in particular are simple things that increase QoL.
Others have noted that the use of JS is somewhat of a turn off, but even as a big Lua fan myself, it doesn't really bother me, I already have one (probably more than one) Lua fantasy console that covers my wishes. However, the author's comment here did mention adding MoonScript support, which would be something I would be very interested in.
by ddrdrck_ on 1/26/19, 10:59 AM
This looks incredible ! Real time editing, time travel
... and integrated sprite, map, and music editors are a real plus. Only thing is the default color palette that is great but I wonder if we can change it ?
For people complaining about JS vs Lua : go have a look at Amulet. This is not a fantasy console but also has an online editor and is perfectly suited for retro games. Just have a look at "Defender of the Weeping Quasar" in the example section :
http://www.amulet.xyz/editor.html
by magoghm on 1/26/19, 1:19 PM
Interesting how different people arrive at similar ideas. Many years ago I created a retro-like "virtual computer" in Java, called simpleJ, to let teenagers learn how to program by creating simple arcade games. It also had an IDE like environment, with a step by step debugger that could draw a diagram of run time data-structures (arrays, linked lists, trees, etc.), a tile editor, a sprite editor, and a even a book teaching you how to program a video game. You can take a look at it at
http://simplej.com/ (in Spanish).
by strainer on 1/26/19, 12:54 AM
This is exceptional - an online IDE with tutorials, sprite and tune editor, interesting code examples and little games to hack on, even an upload to share feature.
It only looks a bit ~dusty due to the sepia pallet, should be good to have other choices like a neon hue, and even free custom selection. But hats off here, this is a great resource !
by edmundhuber on 1/26/19, 12:09 AM
For those wondering, the biggest differentiator of this from PICO-8 is that this is open-source and PICO-8 is not.
by jungler on 1/26/19, 1:01 AM
My main minus to this is not that it's JS(I'm building a JS fantasy computer too) but that it's a node/react piece, which inspires zero confidence that it will have anything resembling foundational stability in the future.
by triptych on 1/26/19, 4:49 AM
I'm super jazzed about this. Wonder if there's anything gained by compiling to web assembly? Thanks for making this.
by Midnightas on 1/26/19, 3:51 PM
Unlike most, I don't see a problem with it being Lua or JavaScript. I'm just curious why people pick such high-level languages in the first place. I'm planning to make a fantasy computer myself (basing it off the z80), and would never think to make it scriptable in something other than machine code.
by krapp on 1/26/19, 1:10 AM
It's nice but why does it seem to have lower resolution and fewer colors than actual 8 bit computers?
by threatofrain on 1/26/19, 5:01 AM
Is there a sample game to view?
by n1vz3r on 1/26/19, 8:58 AM
Nice project! It would be great to have on-screen gamepad on mobile!
by lucio on 1/26/19, 5:45 AM
Congrats, excellent work, I'll be exploring...
by azhenley on 1/26/19, 3:43 AM
The time-traveling and live editing features make this incredible.
When I get the time I’d love to replicate this in Go (since I’m trying to learn Go at the moment). Nice work!
by nategri on 1/26/19, 12:02 AM
I love absolutely everything about this except the language choice.
by dmitrygr on 1/26/19, 12:05 AM
"8-bit"
You keep using that word. I do not think it means what you think it means.
Javascript has no 8-bit types, nor does it have memory limits that 8-bit machines had. Pixelated graphics are cool and all, but it does not place you in the same league with people who made games fit in 128 bytes of ram and 2K of ROM, sorry!