mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-12-23 16:32:49 +00:00
fix typos and build only on tagged commits
This commit is contained in:
parent
8cecb8934c
commit
5e08f085b7
3 changed files with 13 additions and 7 deletions
|
|
@ -184,9 +184,11 @@ jobs:
|
|||
|
||||
- run:
|
||||
name: Package app bundle
|
||||
environment:
|
||||
COMMIT_TAG: pipeline.git.tag
|
||||
command: |
|
||||
cd ~/MBHaxe
|
||||
./package-macos.sh v1.3.1
|
||||
./package-macos.sh v$COMMIT_TAG
|
||||
cd "macos-dist/MarbleBlast Platinum.app/Contents/MacOS"
|
||||
otool -L marblegame
|
||||
cd ../Frameworks
|
||||
|
|
@ -221,6 +223,9 @@ jobs:
|
|||
# Invoke jobs via workflows
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
|
||||
workflows:
|
||||
say-hello-workflow:
|
||||
build-mac:
|
||||
jobs:
|
||||
- build
|
||||
- build:
|
||||
filters:
|
||||
tags:
|
||||
only: /^\d+.\d+.\d+$/
|
||||
|
|
@ -1631,9 +1631,9 @@ class MarbleWorld extends Scheduler {
|
|||
public function addBonusTime(t:Float) {
|
||||
this.bonusTime += t;
|
||||
if (t > 0) {
|
||||
this.playGui.addMiddleMessage('+${t}s', 0x99ff99);
|
||||
this.playGui.addMiddleMessage('-${t}s', 0x99ff99);
|
||||
} else if (t < 0) {
|
||||
this.playGui.addMiddleMessage('${t}s', 0xff9999);
|
||||
this.playGui.addMiddleMessage('+${- t}s', 0xff9999);
|
||||
} else {
|
||||
this.playGui.addMiddleMessage('+0s', 0xcccccc);
|
||||
}
|
||||
|
|
@ -1723,7 +1723,8 @@ class MarbleWorld extends Scheduler {
|
|||
playGui.setCenterText('outofbounds');
|
||||
AudioManager.playSound(ResourceLoader.getResource('data/sound/whoosh.wav', ResourceLoader.getAudio, this.soundResources));
|
||||
// if (this.replay.mode != = 'playback')
|
||||
this.schedule(this.timeState.currentAttemptTime + 2, () -> this.restart());
|
||||
this.schedule(this.timeState.currentAttemptTime + 2, () -> playGui.setCenterText('none'));
|
||||
this.schedule(this.timeState.currentAttemptTime + 2.5, () -> this.restart());
|
||||
}
|
||||
|
||||
/** Sets a new active checkpoint. */
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ class EndGameGui extends GuiControl {
|
|||
if (mission.qualifyTime > timeState.gameplayClock) {
|
||||
text += "You beat the Par Time!";
|
||||
} else {
|
||||
text += '<font color="#F55555">You didn\'nt pass the Par Time!</font>';
|
||||
text += '<font color="#F55555">You didn\'t pass the Par Time!</font>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue