Compare commits

..

No commits in common. "main" and "0.2.1" have entirely different histories.
main ... 0.2.1

4 changed files with 5 additions and 9 deletions

@ -1 +1 @@
Subproject commit 57ccb75151e4133e18e64fe42f07e1a4a676026b
Subproject commit 8f912891186be046ea37b629e9c3a2db4b297ed0

2
.gitmodules vendored
View file

@ -1,4 +1,4 @@
[submodule ".dragonruby"]
path = .dragonruby
url = ssh://git@forge.death.id.au:2222/death.au/dragonruby-base.git
url = https://gitea.death.id.au/death.au/dragonruby-base.git
tag = 5.1

4
package Executable file → Normal file
View file

@ -2,6 +2,4 @@
cd "`dirname "$0"`"/.dragonruby
cp -R ../marketing-assets/AppIcon.appiconset ./dragonruby-ios.app/Assets.xcassets/
cp -R ../marketing-assets/AppIcon.appiconset ./dragonruby-ios-simulator.app/Assets.xcassets/
cp -R ../🕹cube-tube ./cube-tube
exec ./dragonruby-publish --only-package cube-tube
rmdir -R ./cube-tube
exec ./dragonruby-publish --only-package ../🕹cube-tube

View file

@ -39,9 +39,7 @@ class MenuScene < SceneInstance
text(option[:key])
end
scramble = (args.state.tick_count - @first_render) < 60 * (1.5 + i) * 0.2
if scramble
if (args.state.tick_count - @first_render) < 60 * (1.5 + i) * 0.2
if args.state.tick_count % 4 == 0
@rand_strings[i] = (0...(rand(text.length >= 3 ? text.length : 3) + 3)).map { ('A'..'Z').to_a[rand(26)] }.join
end
@ -75,7 +73,7 @@ class MenuScene < SceneInstance
button_border = { w: 340, h: 80, x: l.x - 170, y: l.y - 55 }.merge(WHITE)
# (args.outputs.borders << button_border) if mobile?
if args.inputs.mouse.up && args.inputs.mouse.inside_rect?(button_border) && !scramble
if args.inputs.mouse.up && args.inputs.mouse.inside_rect?(button_border)
o = @menu_options.find { |o| o[:key] == l[:key] }
Sound.play(args, :menu)
o[:on_select].call(args) if o