diff --git a/assets/preload/locale/es-US/textList.txt b/assets/preload/locale/es-US/textList.txt index 745fa1c..922fb4d 100644 --- a/assets/preload/locale/es-US/textList.txt +++ b/assets/preload/locale/es-US/textList.txt @@ -112,7 +112,7 @@ example_sub3==sub a dave o él roba el maíz example_sub4==AAAAAAAAAAAAAAAAAA MIERDA example_sub5==u robar u noob -me when google translate funni!!! HAHWFHTRINYJHGBVIN +// me when google translate funni!!! HAHWFHTRINYJHGBVIN // Credits State // credits_dev==Desarolladores diff --git a/assets/preload/locale/pt-br/textList.txt b/assets/preload/locale/pt-br/textList.txt index 40d17e5..3466430 100644 --- a/assets/preload/locale/pt-br/textList.txt +++ b/assets/preload/locale/pt-br/textList.txt @@ -112,7 +112,7 @@ example_sub3==sub para dave ou ele roubar o milho example_sub4==AAAAAAAAAAAAAAAAAA MERDA example_sub5==u roubar u noob -google from translate guys (ok ok u can remove this line sorry i was joking around) +// google from translate guys (ok ok u can remove this line sorry i was joking around) // Credits State // credits_dev==Desenvolvedores diff --git a/source/PlayState.hx b/source/PlayState.hx index 417b8d5..1f7dc86 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -613,6 +613,10 @@ class PlayState extends MusicBeatState } } + subtitleManager = new SubtitleManager(); + subtitleManager.cameras = [camHUD]; + add(subtitleManager); + super.create(); Transition.nextCamera = camTransition; @@ -2627,6 +2631,16 @@ class PlayState extends MusicBeatState if (FlxG.sound.music.time > Conductor.songPosition + 20 || FlxG.sound.music.time < Conductor.songPosition - 20) resyncVocals(); + switch (SONG.song.toLowerCase()){ + case 'ugh': switch(curStep){ + case 60 | 444 | 524 | 828: + FlxTween.tween(camGame, {zoom: 1.3}, 0.5, {ease: FlxEase.quadInOut, onComplete: function(tween){ + FlxTween.tween(camGame, {zoom: defaultCamZoom}, 0.5, {ease: FlxEase.quadInOut}); + }}); + subtitleManager.addSubtitle(LanguageManager.getTextString('example_sub1'), 0.02, 1); + } + } + #if desktop DiscordClient.changePresence(detailsText + " " diff --git a/source/Subtitle.hx b/source/Subtitle.hx index a79f6c7..a32fcd7 100644 --- a/source/Subtitle.hx +++ b/source/Subtitle.hx @@ -27,7 +27,7 @@ class Subtitle extends FlxTypeText super(properties.x, properties.y, FlxG.width, text, 36); sounds = null; - setFormat("Comic Sans MS Bold", properties.subtitleSize, FlxColor.WHITE, FlxTextAlign.CENTER, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK); + setFormat(Paths.font("vcr.ttf"), properties.subtitleSize, FlxColor.WHITE, FlxTextAlign.CENTER, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK); antialiasing = true; borderSize = 2; diff --git a/source/SubtitleManager.hx b/source/SubtitleManager.hx index d97c0b8..49b11d9 100644 --- a/source/SubtitleManager.hx +++ b/source/SubtitleManager.hx @@ -13,7 +13,7 @@ class SubtitleManager extends FlxTypedGroup subtitle.y = ((FlxG.height - subtitle.height) / 2) - 200; subtitle.manager = this; add(subtitle); - } + } public function onSubtitleComplete(subtitle:Subtitle) { remove(subtitle);