Giter Site home page Giter Site logo

ginxxxxx / tigtag Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hyoi/tigtag

0.0 0.0 0.0 29.69 MB

「tig」も「tag」も和訳は「鬼ごっこ」だそうです。よくある逃げ回ってドットをすべて拾ったらステージクリアなゲーム。

Home Page: https://hyoi.github.io/tigtag/

HTML 0.51% Rust 43.55% JavaScript 55.94%

tigtag's Introduction

Note: Japanese text only.

ぴこげー: TigTag

「tig」も「tag」も和訳は「鬼ごっこ」だそうです。
逃げ回ってドットをすべて拾ったらステージクリアなゲーム。(よくあるヤツ)
昔のベーマガみたいなピコゲーを作りたかったのです。
逆襲なし、追手は重なるとスピードアップするマゾ仕様。
取り急ぎたいへん耳障りなSEが実装されています。ボリューム上げるな要注意っ (≧ω≦;)

WASM版

https://hyoi.github.io/tigtag/

操作方法

キーで上下左右に移動。
Escキーで一時停止(Pause)。
Spaceキーでゲーム開始など。
AltEnterでフルスクリーンとウインドウモード切替(デスクトップアプリ)。

コンパイル方法

デスクトップアプリにするなら cargo runでOK。

cargo run --release    

WASMの場合は、bevy 0.6 から bevy_webgl2 に頼らなくても良くなりました。

cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --out-dir ./target --target web --no-typescript ./target/wasm32-unknown-unknown/release/tigtag.wasm

wasm-bindgenコマンドの各ディレクトリーは作業環境に合わせてください。
※WASMのコンパイルには事前にRustのtargetの追加とwasm-bindgenのインストールが必要です。たぶんきっとおそらく。

rustup target install wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli

 Unofficial Bevy Cheat Book - 8.4. Browser (WebAssembly)をご参考に。

お世話になりました

宿題

  • 音を鳴らしたい。beep音でいいから。

tigtag's People

Contributors

hyoi avatar ginxxxxx 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.