Log In  


Cart #picoweb_wip-1 | 2025-02-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Here is the PICO-WEB work in progress cartridge. PICO-WEB is a hypertext document renderer, and currently supports:

  • P8SCII (colors, 8x8 monochrome images, audio snippets, etc.)
  • Scrolling/clicking (with adjustable scroll size and direction in the pause menu)
  • 1 size of header (h(text) function)
  • bold text (b(text) function)
  • Hyperlinks to other cartridges (a(text,cart_id) function)
    • Note for this one: you need to mark the preceding text block with the r(text) function so that it gets put in inline (unless you didn't want it to be put in inline).
  • Page history for 1 previous page (pause menu)
  • Adjustable-sized page margins and background/text colors (see page.header)
    Planned features include:
  • Images
  • Page history for n previous pages
  • Lists
  • Better clicking (clicks immediately take effect, they don't wait until you release)
  • Possibly, text boxes

NON-planned features include:

  • Generalized text layout. This is a simple text renderer and will not have divs, tables, etc.

You're welcome to use this cart to create your own picowebsites! Just tag it with picoweb-wip so that it's clear it's using the work-in-progress renderer and not the full one (though it ought to be backwards-compatible once it comes out).

4


I should mention that it is thanks to @wallgraffiti for the original idea (https://www.lexaloffle.com/bbs/?tid=43221), though this is all written from scratch.


Oooh, this is a cool idea, and with a large system of linked carts we'll essentially have a sort of web within pico8! That's a really cool idea, I might try making some pages soon! (the possibility of adding custom code and stuff to make custom features on your own cart/page is also really appealing! like real web dev but less frustrating lol)


@Einstein2 I ended up thinking about this, and I thought of some ideas that might be cool to allow for or add to this project.
A set of functions to tell what coordinates on the website the user is looking at and if a certain section is being rendered could be super helpful for making coded/interactive parts of pages that can't be put in the hyper text section. I really want to start building a picoweb but I think I should wait till it's not as wip anymore :)



[Please log in to post a comment]