Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stonesaw/dxruby_editor
An editor (similar to vscode) and runtime environment for DXRuby.
https://github.com/stonesaw/dxruby_editor
dxruby game-development ruby rubygem
Last synced: 10 days ago
JSON representation
An editor (similar to vscode) and runtime environment for DXRuby.
- Host: GitHub
- URL: https://github.com/stonesaw/dxruby_editor
- Owner: stonesaw
- License: mit
- Created: 2021-03-19T02:46:28.000Z (almost 4 years ago)
- Default Branch: dev
- Last Pushed: 2021-08-28T08:43:01.000Z (over 3 years ago)
- Last Synced: 2024-11-29T08:59:05.163Z (2 months ago)
- Topics: dxruby, game-development, ruby, rubygem
- Language: Ruby
- Homepage: https://stonesaw.github.io/dxruby_editor
- Size: 193 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DXRubyEditor
An editor (similar to vscode) and runtime environment for DXRuby.## Installation
```ruby
gem install 'dxruby_editor'
```## Usage
```ruby
require 'dxruby_editor'Window.width = 1280
editor = DXRubyEditor::Editor.new(640, 480, page_height: 800)
Window.loop do
break if Input.key_down?(K_ESCAPE)Window.draw_font(0, 0, "fps : #{Window.real_fps}", Font.default)
end
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## [LICENSE](./LICENSE)
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).