Or maybe allow us to easily add custom buttons to the interface that just run a specified command (in console) or a specified custom tool, and allow us to choose between a small range of generic icons and specify a tooltip.
Recent community posts
Actually, it would nice if PV8 had a function like PICO-8's BTNP. It acts like the function I mentioned above, but with additional button repeats (in PICO-8, repeats every 4 frames, repeat starts after 15 frames)
Also, some small built-in utility functions would be nice, like number clamping (math.min(math.max(num,min),max)), number wrapping, and maybe a conditional returning method (returns param 2 if param 1 is true, otherwise returns param 3, example on bottom). Maybe these could go into a "utils" property that can be accessed from apiBridge (or imported separately? different bridge?)
Something like that.
Yeah, I wouldn't mind this being added to the demos. I'm also planning to update it with mouse support and better control. All I do for detecting A and B presses is check when the buttons are released. It would be nice if there was an API method for detecting when a button is pressed (instead of detecting IF a button is pressed).
When using the SFXTool and MusicTool, I've noticed that some data between the SFX and music seem to be overlapping. When I generate a song on ID 0 in MusicTool, it replaces the labels of my first four SFX. Likewise, changing the labels on the first four sound effects alters the song ID 0.