This is my first project in PICO-8! I tried to make an easily customizable platformer base. I've commented all my code for easier use.
FEATURES:
player
variable jump height (jump_h and jump_float_max and jump_float)
supports double/triple etc. jumps (jump_max)
can jump on frames after leaving ground (coyote_max)
can register jump on frames just before hitting ground (jump_f_max)
custom animation states (add_s("custom state"))
camera
smooth movement (easing)
custom limits (bounds)
player movement "deadzone" (mx)
anything in (parentheses) are the name of the corresponding field in the object.
I hope someone finds this useful!
[Please log in to post a comment]