An open API service indexing awesome lists of open source software.

https://github.com/stonesaw/dxruby-scenemanager

DXRubyでシーン遷移を行うためのライブラリです
https://github.com/stonesaw/dxruby-scenemanager

dxruby game library ruby

Last synced: about 1 year ago
JSON representation

DXRubyでシーン遷移を行うためのライブラリです

Awesome Lists containing this project

README

          

# DXRuby-SceneManager
DXRubyでシーン遷移を行うためのライブラリです
[DXRubyとは...](http://dxruby.osdn.jp/)
## Getting start with ...
RubyとDXRubyがインストールされた環境で
```
git clone https://github.com/stonesaw/DXRuby-SceneManager
cd DXRuby-SceneManager
ruby sample/first/main.rb
```

## setup tool
SceneManagerを使用した、DXRubyのソースコードをセットアップするためのツールです。

このリポジトリをクローン後、ターミナルで
```
ruby setup.rb
```
と入力します
するといくつかの質問がされるので、それに答えてください
```
[ Make SceneManager Template ]
1. your project name here > hello_app
OK
2. What scenes to add? (example: > title play) > home play
OK
```

### Tutorial
### Reference
### Scene class
- `.set_music`
- `.update`
- `.draw`
- `.last`
### SceneManager class
- `.new(scenes, start: nil, loading: false)`
- `.next(scene_symbol, *args, loading: false, is_init: tru)`
- `.update`
- `.draw`
- `.now`
- `.scenes`