Updated all volumes based on wav export results
Removed sample blending, pico-8 no longer has this
Noise is much more accurate now
For some reason LOVE is quieter than pico-8, hence the old louder values
Initialize spritesheet and spriteflags with default values
Fix default music values
Check if headers exist before loading them
Allow too little data and handle too much data
Remove now invalid asserts
Fix version 2 gff handling
Fixed color
Fixed canvas being accessed while enabled
Fixed screenshots
Updated love.run
Removed shader workaround
Removed usage of depreciated apis
Fixed cart argument
Not thoroughly tested but does atleast run and look correct.
Added: tonum, tostr, peek4, poke4, ceil, lshr, rotl, rotr, t
Implemented: login, logout, bbsreq, scoresub, radio
They all don't seem to do anything besides return nil
Though scoresub and radio also returned an extra zero
Use a better line loop
Always increment row at the end of the line regardless of col
Bail out of the loop if col or row get too high
Move some local variables in loop
Map 0x5f26 and 0x5f27 as cursor locations
Hacky set _ENV as the environment, since LuaJIT is 5.1 based, not 5.2
Attempt to resolve the filename extension
Redo a good chunk of nocart.p8 using the new support
pulse waveform was off by a tiny amount
vibrato was too slow
appreggio doesn't take into account the sfx speed
make zero-volume/no-sfx ramp down properly
allow sfx to replace a channel of the same sfx if no channels are free
Remove some useless graphics calls
Try to avoid reuploading the display palette if no changes
Do not reupload the display palette info to the shader every frame >_>
Switch to PICO-8 0.1.9 style resizing
Use non-pixel perfect scaling on Android
Always force a love.resize call incase we didn't get the desired window size or we're running in fullscreen mode
Move default window size and title into conf.lua to prevent the initial wrong window size flickering
Allow window to be resized
Should fix raspberry pi showing wrongly sized content
Bring together the code to load and kickstart a cart into _load
Clean it up >_>
Make api.run, api.load, and the ctrl-r handler use _load
Make it a little bit more accurate by having it reset camera/clip/palette/color/memory/etc
Pretty much all of this was completely wrong.
Changing the clear in flip_screen screws up the black border color
Clearing the canvas to a palette color screws up the shaders
They expect 0-15, not a palette color
----
Fix cls() not resetting the clip
Fix clip not requiring all 4 parameters
Clean up clip()
Fix print of multi line strings
Fix print's cursor set behaviour
Fix sillyness in poke for sfx data
Add a newline to the lua code, fixes shorthand-if missing the last line
This fixes King-Tut demo
My last experiment was flawed due to host audio mangling, so from asking
PICO-8 to record directly, it's been determined that the minimum
duration is 183 samples.
Also use the average of the last sample to the current one.
This emulates behavior of PICO-8's audio output
PICO-8 atan2() uses (x,y) arguments instead of the standard (y,x). This
fix gets rid of the “FIXME: why does this work?” code that was here to
compensate for the x—y swap.