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でシーン遷移を行うためのライブラリです
- Host: GitHub
- URL: https://github.com/stonesaw/dxruby-scenemanager
- Owner: stonesaw
- License: mit
- Created: 2020-08-12T08:07:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-30T08:35:07.000Z (over 5 years ago)
- Last Synced: 2025-01-27T23:40:46.987Z (over 1 year ago)
- Topics: dxruby, game, library, ruby
- Language: Ruby
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`