Nenhuma descrição

James Bowman 8d43a4087f Fix argument name, botchar -> firstchar 6 anos atrás
gameduino2 8d43a4087f Fix argument name, botchar -> firstchar 6 anos atrás
scripts 8d43a4087f Fix argument name, botchar -> firstchar 6 anos atrás
testdata 2a75c41e66 Tile map fixes, regression tests, Travis first cut 6 anos atrás
.gitignore 24fcf97148 Version bump to 1.1.5 8 anos atrás
LICENSE 92723e6953 Initial commit 8 anos atrás
MANIFEST 19d5d8e39b Update to version 0.2.0 6 anos atrás
README.md b52e6da530 Update for new otf, fix typo 6 anos atrás
avirate.py ed630524c8 AVI rate conversion hack 6 anos atrás
default_assets.h d38ba58108 Add firstchar and charset arguments 6 anos atrás
go e286fd47a2 Use imbytes() to hide the Image.tostring() / tobytes() horrorshow 8 anos atrás
setup.py 85555e8928 version bump 6 anos atrás
squeeze 312860beb5 FT810 video conversion script 6 anos atrás
unit.py a10f072cf7 Gave up Travis. Gave up on PIL 6 anos atrás
video-convert 312860beb5 FT810 video conversion script 6 anos atrás
video-convert2 33f0067f50 Clean up comments 6 anos atrás
winsetup.py f24afdb690 L2 support added. Fixes #1 6 anos atrás

README.md

gd2-asset

usage:

gd2asset <options> <assets>
gd3asset <options> <assets>

  -3          target GD3 (FT810 series) - set by gd3asset
  -d          dither all pixel conversions
  -f <name>   output asset file (default is header file)
  -o <name>   output header file

If no output header file is given, then "default_assets.h" is used

Each asset is a filename, optionally followed by some var=val
assignments. For example:
  pic1.png                 image, format ARGB4
  pic2.jpg,format=L8       image, format L8
  serif.ttf,size=16        font, 16 pixels high

Options for the file types:

jpg,png,bmp,gif:
 format   L1 L2 L4 L8 RGB332 ARGB2 ARGB4 RGB565 ARGB1555. Default ARGB4

ttf,otf
 size     height in pixels. Default 12
 format   L1 L2 L4 L8 RGB332 ARGB2 ARGB4 RGB565 ARGB1555. Default ARGB4
 topchar  maximum ASCII code encoded. Default 127

wav
 (no options)

The assets are compiled into flash, or if the "-f" option is given
into a file. In this case the file should be copied to the
microSD card.
In either case, calling LOAD_ASSETS() from the program loads all
assets.

To test run go, it should produce:

Assets report
-------------
Header file:    default_assets.h
GD2 RAM used:   115104
Output file:    xxx
File size:      29664

To install do:

python setup.py sdist
twine upload dist/*