Git Product home page Git Product logo

pheanut's Introduction

Pheanut

概要

国産2Dゲームライブラリ Phina.jsを少しだけ使いやすくするツール

機能

  • フォルダ構成を作成
  • hot reload
  • linter
  • assets/scenes用ファイルの自動生成
  • 状態管理の追加

必要な環境

  • Node.js
  • npm(最新のNode.jsがあれば不要)

はじめかた(最初に1回だけ実行)

  1. 新規フォルダを作成
    mkdir pheanut
  2. 作成したフォルダに移動
    cd pheanut
  3. npmの初期化
    npm init
  4. Pheanutの追加
    npm install --save-dev pheanut
  5. Pheanutの中身を展開
    node ./node_modules/pheanut/bin
  6. packageのinstall
    node run install

始め方

  1. 始め方
    node run start

機能

フォント

  1. ドットフォントの使用
    • server/config.js useDotFont -> true
  2. AwesomeFontの使用
    • server/config.js useIconFont -> true

便利コマンド

# assets/scenesのファイルを作成
# assets追加、scene追加時に必ず実行すること
npm run auto
# hot reload
npm run start
# ビルド(作品完成時に実行)
npm run build
# lint
npm run lint

Author

ynatani

License

MIT

pheanut's People

Contributors

yn1323 avatar

Stargazers

alkn203 avatar pentamania avatar

Watchers

James Cloos avatar

pheanut's Issues

フォントメッセージ表示

動作

  • フォントを追加する
  • メッセージとその枠を表示可能にする

タスク

  • フォント追加
  • コード修正
  • ドキュメント修正

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.