Log In  

Cart #p8ooccapture-7 | 2023-07-11 | Code ▽ | Embed ▽ | No License
8

Feature Overview

Capture the string for "One-off character" used in P8SCII from the sprite sheet and copy it to the clipboard.

  • Simply print() the copied string to draw an image like spr().
  • No decoder implementation is required.

!! Uses mouse control which does not work with BBS.

Please download and use it. !!

Type on your console

> load #p8ooccapture

Note: Turn on "PUNY FONT MODE" when pasting into the code.
Depending on the character, sound may be made or the display of raw characters may be corrupted.

I have made one in the past with fillp and rectfill for equivalent purposes(FILLPatDraw), and I believe P8OOCPrint will be lighter and faster performing than this.

Control method

mouse moving:
    move cursor

ctrl/cmd key + mouse moving:
    grid movement

left button drag:
    capture size change

ctrl/cmd + left button drag:
    change multiple selections

right button drag (space-bar):
    scroll screen

ctrl/cmd + right button drag (space-bar):
    screen grid scrolling

mouse wheel:
    zoom in/out of screen

ctrl/cmd + c key
    one-off character captured in full color

ctrl/cmd + shift + c key
    capture one-off character in silhouette

enter
    open the pause menu
    - copy code: the sample code for drawing is in this.
    - custom font: encoding using custom fonts. custom font setup code is also copied to clipboard when captured.

**when printing a capture, it is recommended to specify coordinates.**

Printed samples of One-off characters

--** Add [\^.] to the copied CHARACTER and print(). **--

?"\^.\0\14\14>>>\0\0" -- Tilted Heart
?"\^.\0\0「\0B<\0\0" -- Smiling mouth
?"\^.ヲュ◜◝◝○?゜" -- Tilted crystal

Update history


v0.6.0

  • fix: changed some escape characters to one-character notation.(more compression)
  • fix: avoided a bug that caused an error if the coordinates of the click start were not taken.

v0.5.0

  • add: the functionto encode using custom fonts. set in the pause menu.
  • add: [ui] display horizontal and vertical numbers for multiple selections.
  • fix: avoided notation of adjacent control characters and numbers.

v0.4.0

  • add: support for repeating instructions "\*x" for duplicate patterns.
  • add: delete whitespace before line break.
  • add: [ui]color-coded sprite sheet range.
  • add: [ui]compressor initialization with message.
  • add: [ui]displays a guide cursor for range selection and multiple selections.
  • add: [ui]adjust the scroll range of the sprite sheet.
  • fix: [ui]adjustment of range and multiple selections.
  • fix: [ui]hide ui during selection operation.
  • fix: changed position display to 0-padding.
  • del: eliminated compression of inverted fills.

v0.3.0

  • add: support for single-character expressions by matching against default font patterns.
  • fix: substitution to split character codes 0~15 and numeric characters.
  • add: the most frequent patterns are selected as shortened characters. (default font supported)
  • add: instruction to turn off P8SCII's border background.

v0.2.0

  • add: supports grid movement.
  • add: sprite capture size change.
  • add: captures of multiple sprites at once.
  • add: support for drag-and-drop import of sprites.
  • add: copy of code for simple drawing to menu.
  • fix: conversion method of control codes "\0 \14 \15".
  • fix: add double quotation marks to the capture code

v0.1.0

  • first release.
P#127257 2023-03-17 06:50 ( Edited 2023-07-11 05:16)

1

I updated to v0.2.0!

  • add: supports grid movement.
  • add: sprite capture size change.
  • add: captures of multiple sprites at once.
  • add: support for drag-and-drop import of sprites.
  • add: copy of code for simple drawing to menu.
  • fix: conversion method of control codes "\0 \14 \15".
  • fix: add double quotation marks to the capture code
P#131033 2023-06-16 15:46
1

Nice! 🌟

P#131084 2023-06-17 12:13

I updated to v0.3.0!

  • add: support for single-character expressions by matching against default font patterns.
  • fix: substitution to split character codes 0~15 and numeric characters.
  • add: the most frequent patterns are selected as shortened characters. (default font supported)
  • add: instruction to turn off border background.
P#131110 2023-06-18 14:43 ( Edited 2023-07-08 13:22)

I updated to v0.4.0!

  • add: support for repeating instructions "\*x" for duplicate patterns.
  • add: delete whitespace before line break.
  • add: [ui]color-coded sprite sheet range.
  • add: [ui]compressor initialization with message.
  • add: [ui]displays a guide cursor for range selection and multiple selections.
  • add: [ui]adjust the scroll range of the sprite sheet.
  • fix: [ui]adjustment of range and multiple selections.
  • fix: [ui]hide ui during selection operation.
  • fix: changed position display to 0-padding.
  • del: eliminated compression of inverted fills.
P#131386 2023-06-27 06:25

I updated to v0.5.0!

  • add: the function to encode using custom fonts. set in the pause menu.
  • add: [ui] display horizontal and vertical numbers for multiple selections.
  • fix: avoided notation of adjacent control characters and numbers.

Frequent patterns such as whitespace and fill are stored in the custom font area for further data compression.

The original art of the sample used is from @zep

P#131753 2023-07-08 13:29 ( Edited 2023-07-08 13:37)

I updated to v0.6.0!

  • fix: changed some escape characters to one-character notation.(more compression)
  • fix: avoided a bug that caused an error if the coordinates of the click start were not taken.
P#131829 2023-07-11 05:17

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-16 12:11:38 | 0.014s | Q:24