Log In  
Follow
FlowingLily
Follow
Text Edit 0.4
by FlowingLily

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").
P#78046 2020-06-13 22:09 ( Edited 2020-06-13 22:10)

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.

P#77906 2020-06-10 20:03

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.

P#68160 2019-09-26 21:05

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

P#62989 2019-03-24 05:22 ( Edited 2019-03-24 05:40)

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)
Scrolling text
(Possibly) on screen keyboard
And more...

Credits:
Jusiv for the word wrap function

P#56382 2018-09-07 16:14 ( Edited 2019-06-04 15:59)

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.

P#56210 2018-09-05 00:15 ( Edited 2018-09-05 07:00)

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
P#55868 2018-08-29 18:16 ( Edited 2018-08-29 22:20)

Follow Lexaloffle:        
Generated 2020-10-25 02:39 | 0.115s | 2097k | Q:58