Skip to content

Commit

Permalink
fixy fixy
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jul 30, 2024
1 parent 2c04fee commit 3837a6c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
<haxelib name="flixel-addons" />
<haxelib name="flixel-ui" />

<haxelib name="funkin.vis"/>
<haxelib name="funkin.vis" />
<haxelib name="grig.audio" />

<haxelib name="hscript" />
<haxelib name="hxcpp-debug-server" if="desktop debug" />
Expand Down
7 changes: 7 additions & 0 deletions compileData/haxelibs.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
"dir": null,
"ref": "38261833590773cb1de34ac5d11e0825696fc340",
"url": "https://github.com/FunkinCrew/funkVis"
},
{
"name": "grig.audio",
"type": "git",
"dir": "src",
"ref": "57f5d47f2533fd0c3dcd025a86cb86c0dfa0b6d2",
"url": "https://gitlab.com/haxe-grig/grig.audio.git"
}
]
}
4 changes: 2 additions & 2 deletions source/game/CustomBackdrop.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class CustomBackdrop extends FlxBackdrop {
private var oscillationAmplitude:Float;
private var initialY:Float;

public function new(graphic:Dynamic, repeatX:Bool = true, repeatY:Bool = true, scrollX:Float = 1, scrollY:Float = 1) {
super(graphic, repeatX, repeatY, scrollX, scrollY);
public function new(graphic:Dynamic) {
super(graphic);
oscillationSpeed = 1;
oscillationAmplitude = 20;
initialY = y;
Expand Down
4 changes: 3 additions & 1 deletion source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ class PlayState extends ExtendableState {
bg.screenCenter(XY);
add(bg);

/*
var audio:AudioDisplay = new AudioDisplay(FlxG.sound.music, 0, FlxG.height, FlxG.width, FlxG.height, 200, FlxColor.WHITE);
add(audio);
*/

strumline = new FlxTypedGroup<Note>();
add(strumline);
Expand Down Expand Up @@ -374,7 +376,7 @@ class PlayState extends ExtendableState {
return false;
}
ExtendableState.switchState(new SongSelectState());
// FlxG.sound.playMusic(Paths.music('Rhythmic_Odyssey'));
FlxG.sound.playMusic(Paths.music('Basically_Professionally_Musically'));
HighScore.saveScore(song.song, score);
canPause = false;
return true;
Expand Down

0 comments on commit 3837a6c

Please sign in to comment.