Giter Club home page Giter Club logo

spreboy's Introduction

Spreboy

Spresenseボードでゲームコンソールを動かすための簡単なサンプルコードです。

|-- README.md
|-- library.properties
|-- examples
|   |-- Breakout
|   `-- Tetris
|-- patches
|   |-- 0001-Update-for-repeat-playback.patch
|   |-- 0002-Remove-mute-control-from-audio-library.patch
|   |-- 0003-Reduce-application-RAM-size-for-audio-buffer.patch
|   |-- 0004-Reduce-shared-RAM-size-for-audio-buffer.patch
|   `-- AudioCustom.zip
`-- src
    |-- SpreAudio.cpp
    `-- SpreAudio.h

examples のテトリスとブロック崩しは Handheld-Color-Console をベースに Spresense 用に移植したものです。

ILI9341 LCD への描画は以下のライブラリを使用しています。 これらのライブラリもインストールしてください。

patches 以下はオプションとして用意しています。

  • 0001-Update-for-repeat-playback.patch
    • 効果音など小サイズのMP3ファイルを再生する場合に適用してください
  • 0002-Remove-mute-control-from-audio-library.patch
    • Audioライブラリ内のmute制御をやめて、スケッチ側でmute制御します
    • 無音状態で電源入り切りしたときのボツ音が気になる場合に適用してください
  • 0003-Reduce-application-RAM-size-for-audio-buffer.patch
    • Audioライブラリが使用するメモリサイズを削っています
    • メモリサイズが足りなくなった場合に適用してください
  • 0004-Reduce-shared-RAM-size-for-audio-buffer.patch
    • Audioライブラリが使用するメモリサイズを削っています
    • メモリサイズが足りなくなった場合に適用してください

また、全 patch 適用済みの Audio ライブラリを zip 化しています

  • AudioCustom.zip
    • %USERPROFILE%\AppData\Local\Arduino15\packages\SPRESENSE\hardware\spresense\1.1.3\libraries\Audio と差し替えて使用してください

spreboy's People

Contributors

kzhioki avatar

Watchers

James Cloos avatar

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.