db157b7952
Assorted micro-optimizations. ( #3 )
...
Some of these are pure token optimizations, some spend tokens for performance. Function calls are particularly expensive in Pico-8, so using the table form of `pal` whenever changing multiple colors seems worth it.
Also fixes a bug in palette swapping.
Reviewed-on: pyrex/chameleonic#3
Co-authored-by: Kistaro Windrider <kistaro@gmail.com>
Co-committed-by: Kistaro Windrider <kistaro@gmail.com>
2022-12-18 01:11:42 +00:00
823b3edc30
Reorient head based on tongue angle
2022-12-17 16:57:47 -08:00
047f180632
Use trans flag colors for the chameleon
2022-12-17 16:42:15 -08:00
8a88131d1e
Immediately recover after a fall
2022-12-17 16:26:30 -08:00
99744a31d6
Chameleon FX to restart the level
2022-12-17 16:25:20 -08:00
d0eba82c7b
Save a handful of tokens and fix indentation. ( #2 )
...
Reviewed-on: pyrex/chameleonic#2
Co-authored-by: Kistaro Windrider <kistaro@gmail.com>
Co-committed-by: Kistaro Windrider <kistaro@gmail.com>
2022-12-17 23:51:50 +00:00
0ff3065585
Working pits
2022-12-17 15:48:52 -08:00
11e33d0109
Fix some tiny level transition bugs
2022-12-17 15:15:56 -08:00
671e4a5051
Map and art changes, level transition
2022-12-17 15:08:54 -08:00
517c185688
Avoid recalculating operation names repeatedly. ( #1 )
...
Reviewed-on: pyrex/chameleonic#1
Co-authored-by: Kistaro Windrider <kistaro@gmail.com>
Co-committed-by: Kistaro Windrider <kistaro@gmail.com>
2022-12-17 22:58:56 +00:00
f7170428c9
Attempts to make this fast keep breaking things
2022-12-17 14:09:54 -08:00
770b952fe4
Move in bigger hops while dragging
2022-12-17 13:52:37 -08:00
29d86556ca
Again, reduce the level of useless work
2022-12-17 13:45:46 -08:00
13e6c382be
My fat bresenham implementation is really slow
2022-12-17 13:30:48 -08:00
a20ad44f75
Faster anchor search in some common cases
2022-12-17 13:24:54 -08:00
a8b921e05b
Simplify rope recalculator (still slow)
2022-12-17 13:19:43 -08:00
429706dae9
Current state of code
2022-12-17 12:16:26 -08:00
a3dbb6968f
Initial commit
2022-12-17 12:16:18 -08:00