Log In  
[ :: Read More :: ]

Cart #watuyagego-0 | 2020-07-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

This is a not-as-smart-as-id-like bullet generator I was planning to use for a bullet hell game, or to control enemy spawns and pattern configuration.

I'd like to add some nesting (so that effects could be chained, or shots could explode after a delay), and make it a bit more generic.

Usage: click to increment a value, right-click do decrement.
Click "projectiles" or "pattern" to toggle between settings related to the spawned items themselves, and the pattern which spawns them.

CTRL+C will copy your current settings as a string to your clipboard, and CTRL+V can be used to load them back in if you need to change something.

To use this, you'd want to copy the first tab of code to your cart, and remove some of the example stuff (like collision tests which are funky anyway). Create a handful of bullet patterns, and use

local attack_pattern_1 = pattern_from_string("curve=5>speed=1") -- string from configurator
local attack_pattern_2 = pattern_from_string("spin=20,fire_rate=20")
local boss = {x=50,y=50}
--activate attack pattern 1. Will be centered on boss location as it moves.
add_pattern(boss, attack_pattern_1)
P#79374 2020-07-16 02:33 ( Edited 2020-07-16 02:33)

[ :: Read More :: ]

Cart #danewumubu-0 | 2020-07-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

As of 0.2.1, mouse handling does not seem to work in HTML exports, though touch controls (and emulated touch controls with chrome dev tools) seem to be working.. It's fine in pico-8 and bin exports though, and in the BBS.

P#78870 2020-07-04 03:59

[ :: Read More :: ]

After updating to 0.2.1, exports of my cart are failing to load. I've deleted just about everything from it to make a minimal reproduction here, but I have no idea what is going on.

For both HTML and bin exports, the pico-8 splash appears, and it hangs after "booting cartridge"

In the included cart, both the comment at the bottom and the init method are required. Deleting the init method, or any more from the comment will allow the cart to load. O_o

Cart #bizehapowe-0 | 2020-07-04 | Code ▽ | Embed ▽ | No License

P#78869 2020-07-04 03:05 ( Edited 2020-07-04 03:10)

[ :: Read More :: ]

Cart #jufohibzu-2 | 2020-06-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

This is a basic, and not very efficient benchmarking/profiling cart.

It can handle simple nesting and repeated calls for a given label, averaging the results.


Begin and end profiling:

-- code

Call at the beginning of update to clear stored data:


Enable or disable benchmarking:


Show benchmarking results when enabled:

P#78528 2020-06-26 05:28 ( Edited 2020-06-26 20:39)