Log In  

Cart #picogui_demo-0 | 2022-08-02 | Code ▽ | Embed ▽ | No License

Initial Release 1.0

Pico-GUI is an object based ui library useful for debugging games or creating development tools. This was made in just one day, and there may be some bugs or important missing features.

Currently the system is almost 1k tokens, and I'm not the best at crunching down token counts, so if someone manages to save a ton of tokens, let me know and I'll probably update the main post with that version

Widgets are any interactable UI element.
By default, Pico-GUI supports Panels (windows), Sliders, Buttons and Toggles.

Core - ui_core( )
Can be used for storing all GUI elements. Allows for focusing widgets and easy widget management


  • add( widget, widget, ... )
  • render( )


  • [content]
    Table of all widgets contained within the panel

Panels - new_panel( x, y, width, height, [col] )


  • add( widget, widget, ... )


  • [content]
    Table of all widgets contained within the panel

  • [col]
    Background color of the panel

  • [border]
    Color of the border (false for no border)

  • [moveable]
    Decides if the panel can be moved

  • [resizable]
    Decides if the panel can be resized

  • [locked]
    Toggles if panel can be resized/moved

  • [min_width]
    Minimum panel width

  • [min_height]
    Minimum panel height

  • [title]
    Name to be displayed

Sliders - new_slider( x, y, width, min, max, default, [col] )


  • [col]
    Color of slider notch

  • [_min]
    Minimum value slider can be set to

  • [_max]
    Maximum value slider can be set to

  • [_range]
    Range between minimum and maximum value (max - min)

  • [_value]
    Value slider is currently set to

Checkboxes - new_checkbox( x, y, [col], [toggled?] )


  • [col]
    Color of toggle when enabled

  • [toggle]
    Stores the state of the toggle

Buttons - new_button( x, y, width, height, [sprite], [col], [rounded?], [callback] )


  • [col]
    Background color of button

  • [sprite]
    Image displayed on button

  • [rounded]
    Enable rounded corners

  • [callback]
    Function to call when pressed

P#115165 2022-08-02 19:09 ( Edited 2022-08-02 19:21)

Cart #kahiyubudu-1 | 2021-11-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Celeste Break the Targets by Meep
Death from Death Dungeon


Arrows - Move
Z, C, or N - Jump
X, V, or M - Action


Death has 4 health points
Using the Action key will fire a ball of energy and spend 1 health point
Shooting downwards will give you a small amount of upwards momentum
He can jump off of balloons for 2 health points and targets for 1
Running out of health will result in a death

P#99511 2021-11-02 16:27

Cart #suparihum-2 | 2021-11-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

-- Death Dungeon --

Originally Created for the Mini Jam 92: Death, this is an updated version.

Programming and Art: Cannon
Level Designs: Snycent
Music: Lark

Original jam version is is here

P#99479 2021-11-01 21:12 ( Edited 2021-11-02 16:34)

Follow Lexaloffle:        
Generated 2022-08-08 13:25:49 | 0.061s | Q:17