Log In  
Follow
DivergentClouds
PicoTerm
by

function _draw()
  cls()
  print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n") -- 19 newlines
end

costs 0.1 cpu according to ctrl-p.
however,

function _draw()
  cls()
  print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n") -- 20 newlines
end

costs 0.47 cpu. Each additional newline after that adds around 0.46 cpu usage. This happens with seperate print calls as well. Supplying coordinates to the print call will prevent the cpu from spiking. Note that the 20th newline is when print will scroll the first line off the screen.

1
4 comments



Cart #parens8_repl-1 | 2024-03-22 | Code ▽ | Embed ▽ | No License
2

A REPL for PARENS-8 v3 by Siapran. Uses PicoTerm v1.10 by me for the UI.

For information on using PARENS-8 see the Github repository, all extensions and builtins are enabled.

To clear the screen run the clear function or press ctrl-l. To print to the terminal use the echo function. To clear the current line press ctrl-u.

Special thanks to @Siapran for making a special PARENS-8 version for this project.

PARENS-8 is licensed under the MIT license.


MIT License

Copyright (c) 2023 Katherine Miller

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

[ Continue Reading.. ]

2
0 comments



The left side is cut off on user profile pages as well

(sorry if this is the wrong subforum, couldn't find one that worked great)

1
1 comment



Cart #tiny_edit-0 | 2022-06-15 | Code ▽ | Embed ▽ | No License
4

A text editor in under 512 characters. Made for Pico-8 512-Char Jam.
Also on itch.io

4
2 comments



Is it possible to request a username change? I emailed [email protected] about changing my username a few months ago and followed up a week ago, but I've gotten no response? Does anyone know another way of getting in contact with Zep?

1 comment



Cart #picoterm_v1-12 | 2024-03-21 | Code ▽ | Embed ▽ | No License
7


PicoTerm is a PICO-8 CLI template. It can be used as a basis for command-line games and programs.

See tab 3 for the functions that are called whenever a character or line is entered. See tab 2 for functions to call to interact with the terminal.

Pressing ctrl-u or ctrl-l will clear the current line of input or the screen, respectively. The up and down arrows allow you to scroll through input history.

If you use this in a project please follow the license terms at the bottom of the post. I would also appreciate being notified, however that is not mandatory.

If you do not use a feature in your project you can modify this remove it to have more tokens.

Known Issues:

[ Continue Reading.. ]

7
6 comments



Trying to export a binary or html file from a file that doesn't have the

_init() _update() _draw()

loop will result in a screen like in the picture. This particular image was from the code

print("test").
1 comment



Please add a flag when launching a cart from the command line to make the cart path relative to the PICO-8 carts folder rather than the current directory of the command prompt/terminal. In addition, a feature to launch within a certain PICO-8 subdirectory rather than the root folder would be nice.

0 comments



If you multiply a fraction that isn't a power a number greater than 1 the returned result will be incorrect (for example PICO-8 returns 9.9991 from print(0.1*100)). I'm aware that this is a problem inherent to fixed point numbers, however some special cases would be greatly appreciated.

5 comments



When pressing a button on the keyboard with devkit enabled while paused through Splore the keystrokes will register and take effect when unpaused.

5 comments



Cart #textedit0_4-0 | 2019-06-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

Text Edit
v0.4

Changelog:
0.4
[+] Total rewrite
[+] Word wrap (Credit: @Jusiv)
[+] Line wrap
[+] Lowercase letters
[-] Moveable cursor (Temporary)
[-] Scrolling text (Temporary)
[-] Tab (Temporary)

0.3
[-] Escape not working in Splore
[-] Arrow keys activating twice
[-] Escape creating a space

0.2
[+]SCROLLING TEXT
[-]pressing p more than once pauses in BBS

Implemented:
Typing with your keyboard
Backspace
Word Wrap
Line Wrap

Todo:
Saving files
Loading files
Undo/redo
Selecting text
Copy/paste
Tab
Moveable cursor (use arrow keys)

[ Continue Reading.. ]

8
6 comments



Similarly to how you can enable the devkit mouse it would be nice if you could enable the keyboard for use in carts. This would allow for things like text adventures and keyboard shortcuts for things like roguelikes.

4 comments



Cart #55867 | 2018-08-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

A 2-player pong variant with lasers

Left and right change laser color

-Red speeds the ball up
-Orange slows the ball down
-Yellow changes the ball's y-direction
-Green changes the ball's x-direction

Catching a laser with your paddle will increase your ammo by 1

If player 1 wants to use a keyboard and player 2 wants to use a controller, then you must launch PICO-8 with the following command

<PICO-8 path> -joystick 1
0 comments