| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Polybox is an in-development PS1 era fantasy console, a bit like Pico-8, but with simple 3D as well as 2D.
It's still rather primitive and early in development, mostly it's just a dedicated PS1 renderer right now with an old fashioned fix function pipeline. You render use it like this:
function update()
set_clear_color(0.25, 0.25, 0.25, 1.0)
matrix_mode("Projection")
identity()
perspective(320, 240, 1, 20, 60)
matrix_mode("View")
identity()
translate(-1.5, -1.5, -2)
begin_object_3d("Triangles")
color(1.0, 0.0, 0.0, 1.0)
vertex(1.0, 1.0, 0.0)
color(0, 1, 0, 1)
vertex(1, 2, 0)
color(0, 0, 1, 1)
vertex(2.0, 2.0, 0.0)
end_object_3d()
endThe above gives you the following output:
Required for initial alpha release of the console for use by others:
Post alpha release:
Currently only Windows 64 bit. I intend for it to support Web, Linux and MacOS at some point though.
Also too early for this, but the codebase is extremely simple and hopefully self documenting. The full API exposed to Luau is listed in the file cpu.cpp, so this is the best reference for now
The project is relatively simple to compile, all you need is cmake and the MSVC build tools, and then just run the build.bat file in the root of the repo, which will compile everything you need.
| Back | FazBrowse Home | New Git URL |