Git Product home page Git Product logo

Comments (5)

kilograham avatar kilograham commented on August 18, 2024

@Wren6991 what did u use to create the data?

from pico-playground.

Wren6991 avatar Wren6991 commented on August 18, 2024

With the packtiles script, also in this repo:

https://github.com/raspberrypi/pico-playground/blob/master/scanvideo/flash_stream/img/packtiles

E.g. packtiles -sdmf bgar5515 raspberry.png raspberry_bgar5515.h will convert a single image into the format expected by that sprite demo:

  • Single image (-s)
  • Dithered for better colour reproduction at low bit depth (-d)
  • With opacity metadata included for faster alpha blitting (-m)
  • To format BGAR5515, 3x5 colour bits and one alpha bit in BGAR order from MSB to LSB (-f bgar5515)

from pico-playground.

Wren6991 avatar Wren6991 commented on August 18, 2024

You'll need python3 and PIL installed to run the script

from pico-playground.

BambooEngineer avatar BambooEngineer commented on August 18, 2024

Nice i will try it out, 8 bit kick made a bgar5515 converter that outputs on the java console but only a few lines of my image showed up. Like the image was a face and all i got on screen where the eyes.

from pico-playground.

BambooEngineer avatar BambooEngineer commented on August 18, 2024

the packtiles script launched and gave me data but it just did not work out on screen. I finally found a script that works created by boochow. Now i can use the example code from demo1 to do sprite movement.

from pico-playground.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.