Log In  
Follow
HappyYoyo09

fairly simple question, is there a way that a cart can write data to disk to produce another cart? I ask because I am wanting to make a tamagotchi type thing to learn some of the more of the pico-8 API that i otherwise wouldn't,such as multi-cart projects, as well as making a menu, something I surprisingly haven't done before. (any tips on that would be appreciated 😅). my current idea is that you would have the main menu, a standalone cart. it's sole job would be to create and load another cart, that being the main tamagotchi cart. each pet would have its own cart, that could be loaded by just skipping the main menu and loading the cart. my current issue is that I don't know how a cart would create another, or even if that's a possibility. another option would be to have a template cart that then maybe gets loaded with arguments, allowing for customisation that way?

0 comments



I need help getting my code working, my current goal is to make a version of the example socket program in the docs using the _init and _update functions. my end goal is to make a server that can send and respond to packets from other picotron clients, and I'm hoping to potentially have a UI, hence why I'm using the _update function instead of just running the code without it.

--[[ server (paste in terminal window)
listener = socket("tcp://*:8899")
if (not listener) print("** could not create socket")
local clients = {}
print("")
while (listener) do
  print("\rlistening \f8"..("-\\|/")[1+(time()*4%4)\1])
  local new_client = listener:accept()
  if (new_client) then
    print("\r\fcnew client!") print("")
    add(clients, new_client)
  end
  for client in all(clients) do
    local dat = client:read()
    if (dat) print("\rmessage: "..dat) print""

[ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=171196#p)
7 comments



Is it possible to re-define the update function mid cart? Like, having a game over function that basically just overwrites the current update function with a new one. I know you could achieve this by just putting all the current update code in an if statement, with all the new update code in an else statement, but that could start to get messy if you want to add more statements. There will almost definetly be a better way to do this, I just want to know if this would even theoretically work.

2 comments



Is there any way to bind arrow keys to WASD in pico 8, like you can in Picotron? I understand that Picotron has to deal with text input as-well as other controls, but given how common a WASD control scheme is, I feel like there should be some compromise, especially give that, if the cart doesn't rely on text input, there should be no code or gameplay changes needed if Picotron just remapped the btn(0) to btn(3) functions to WASD.

2 comments



Are there any plans for a picotron education edition, like there was for the Pico 8? Either that or a version of picotron that runs in your browser, being purchased in the same way as normal picotron? I know that you can run individual carts in a browser, but I'm wondering about a full port, whether it's an education edition, or something else.

2
3 comments



the issue

when you open the readme on Linux, it's empty.when you open it in an external editor, it shows -[[pod]] then a load of gibberish. for whatever reason, when i try to copy paste said gibberish, it comes up with this:

--[[pod]]
lz4

I'm not sure if it's user error (I'm quite new to picotron) or something else.

2
13 comments