Commit Graph

7 Commits

Author SHA1 Message Date
gamax92 a4f0136331 More robust cart loading
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
2018-04-12 16:05:42 -06:00
gamax92 50e9cd26d1 Correct love version in README 2018-04-12 12:21:31 -06:00
gamax92 c7539c6fcd Android tweaks
Detect png/p8 based on file contents and not filename, allows putting a
png in nocart.p8
Push the screen to the top for Android when in Portrait mode
Slightly raise the X touchscreen button as shown in PICO-8's keyconfig
Increase the touch radius of the two buttons

Clean up the README a bit and mention Android Packaging
2016-06-11 12:32:45 -06:00
gamax92 6ef9b212cc Clean up the shaders
Stop multiplying and dividing everything by 16's and 15's and 17's.
We're going to use 0-15 range and multiply/divide by 255 when needed.

Change the palette tables to use 0-15 and not 1-16
Added shdr_unpack() to help with sending these tables to the shaders

Fixed bug with map() changing the color for no reason.
Fixed bug with print() setting the wrong shader back.
Removed shader uploads from spr and sspr, palt does this.
Clean up color setting in the api
Removed setting pixels in .p8.png images for no reason.

Clean up the README.md slightly, it's still wrong but better.
2016-05-27 14:51:51 -06:00
Jez Kabanov 88050faa36 updated docs 2015-09-13 17:22:18 +10:00
Jez Kabanov 44a5b52400 _keyup _keydown _textinput 2015-09-11 21:35:58 +10:00
Jez Kabanov ea3b54fd0b added README.md 2015-09-09 22:44:29 +10:00