End result if done correctly:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xcodebuild -version | |
| brew install cmake | |
| brew install ninja | |
| rm -rf ./llvm-project | |
| git clone --depth 1 --branch release/19.x git@github.com:llvm/llvm-project.git | |
| cd llvm-project | |
| mkdir build | |
| cd build | |
| cmake ../llvm \ | |
| -DCMAKE_BUILD_TYPE=Release \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd YOUR_DR_DIRECTORY | |
| # ============================================ | |
| # Download command line tools | |
| # ============================================ | |
| rm -rf ./.android | |
| mkdir ./.android | |
| wget --directory-prefix=./.android https://dl.google.com/android/repository/commandlinetools-mac-7583922_latest.zip | |
| cd ./.android | |
| unzip -o ./commandlinetools-mac-7583922_latest.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| # Copyright 2019 DragonRuby LLC | |
| # MIT License | |
| # ios_wizard.rb has been released under MIT (*only this file*). | |
| # Contributors outside of DragonRuby who also hold Copyright: Michał Dudziński | |
| class IOSWizard < Wizard | |
| def help | |
| puts <<~S |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AudioHash < Hash | |
| alias_method :__original_indexor_set__, :[]= if !AudioHash.instance_methods.include?(:__original_indexor_set__) | |
| def volume | |
| @volume ||= if $gtk.platform?(:ios) | |
| 0.4 | |
| else | |
| 1.0 | |
| end | |
| # do not mute if tick_count is 0 |
I don't use Unity. Developing games that target multiple platforms is unsustainable using this game engine. Especially so for studios/indies that lack the means to "just throw money at a problem".
Amir Rajan,
- Indie Game Dev
- Founder of DragonRuby Game Toolkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Element | |
| attr :x_ordinal, :y_ordinal | |
| def initialize x_ordinal, y_ordinal, grain_size, r, g, b | |
| @x_ordinal = x_ordinal | |
| @y_ordinal = y_ordinal | |
| @grain_size = grain_size | |
| @x = x_ordinal * grain_size | |
| @y = y_ordinal * grain_size | |
| @w = grain_size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Game | |
| attr_dr | |
| def initialize | |
| @cells = 32.flat_map do |x_ordinal| | |
| 18.map do |y_ordinal| | |
| { | |
| **Geometry.rect(x: x_ordinal * 40, y: y_ordinal * 40, w: 40, h: 40), | |
| x_ordinal: x_ordinal, | |
| y_ordinal: y_ordinal, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Game | |
| attr_dr | |
| def initialize | |
| @player = { x: 640 - 50, | |
| y: 360 - 50, | |
| w: 100, | |
| h: 100, | |
| path: "sprites/square/blue.png" } | |
| @boundary_left = 300 |
NewerOlder

