Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Hmmm
Browse files Browse the repository at this point in the history
  • Loading branch information
GuineaPigUuhh committed Mar 18, 2024
1 parent e80d1f2 commit 924bc89
Show file tree
Hide file tree
Showing 9 changed files with 178 additions and 186 deletions.
2 changes: 1 addition & 1 deletion Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<define name="MODS_ALLOWED" if="desktop" />
<define name="VIDEOS_ALLOWED" if="desktop || android" />
<define name="DISCORD_ALLOWED" if="desktop" />
<!--<define name="DISCORD_ALLOWED" if="desktop" />-->

<haxedef name="CAN_OPEN_LINKS" unless="switch"/>

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- [x] Modular System
- [x] Characters
- [x] Menu Characters
- [] Weeks (some things are missing)
- [ ] Weeks (some things are missing)
- [x] Stages
- [x] cool Tolerant Json Lib by [JWambaugh](https://github.com/JWambaugh)

# To-do
- [] Custom HUD
- [] Mod Support
- [] new Editors
- [] Character Editor
- [] Stage Editor (Maybe?)
- [] Better Chart Editor
- [] Folder Organization (Source)
- [ ] Custom HUD
- [ ] Mod Support
- [ ] new Editors
- [ ] Character Editor
- [ ] Stage Editor (Maybe?)
- [ ] Better Chart Editor
- [ ] Folder Organization (Source)
51 changes: 51 additions & 0 deletions hmm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"dependencies": [
{
"name": "flixel",
"type": "haxelib",
"version": "5.5.0"
},
{
"name": "flixel-addons",
"type": "haxelib",
"version": "3.2.1"
},
{
"name": "flixel-demos",
"type": "haxelib",
"version": "3.1.0"
},
{
"name": "flixel-ui",
"type": "haxelib",
"version": "2.5.0"
},
{
"name": "hscript",
"type": "haxelib",
"version": "2.5.0"
},
{
"name": "polymod",
"type": "haxelib",
"version": "1.7.0"
},
{
"name": "discord_rpc",
"type": "git",
"dir": null,
"ref": "master",
"url": "https://github.com/Aidan63/linc_discord-rpc"
},
{
"name": "tjson",
"type": "haxelib",
"version": "1.4.0"
},
{
"name": "hxcodec",
"type": "haxelib",
"version": "2.5.1"
}
]
}
70 changes: 0 additions & 70 deletions install-libs/Main.hx

This file was deleted.

1 change: 0 additions & 1 deletion install-libs/install.bat

This file was deleted.

21 changes: 3 additions & 18 deletions source/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ class MainMenuState extends MusicBeatState
menuItems.enabled = true;
menuItems.createItem('story mode', function() startExitState(new StoryMenuState()));
menuItems.createItem('freeplay', function() startExitState(new FreeplayState()));

#if CAN_OPEN_LINKS
var hasPopupBlocker = #if web true #else false #end;
menuItems.createItem('donate', selectDonate, hasPopupBlocker);
var donateCommand = function() SystemUtil.openURL("https://www.kickstarter.com/projects/funkin/friday-night-funkin-the-full-ass-game/");
menuItems.createItem('donate', donateCommand, hasPopupBlocker);
#end
// menuItems.createItem('options', function() startExitState(new OptionsState()));

Expand Down Expand Up @@ -111,23 +113,6 @@ class MainMenuState extends MusicBeatState
FlxG.camera.follow(selected, null, 0.1);
}

#if CAN_OPEN_LINKS
function selectDonate()
{
#if linux
// Sys.command('/usr/bin/xdg-open', ["https://ninja-muffin24.itch.io/funkin", "&"]);
Sys.command('/usr/bin/xdg-open', [
"https://www.kickstarter.com/projects/funkin/friday-night-funkin-the-full-ass-game/",
"&"
]);
#else
// FlxG.openURL('https://ninja-muffin24.itch.io/funkin');

FlxG.openURL('https://www.kickstarter.com/projects/funkin/friday-night-funkin-the-full-ass-game/');
#end
}
#end

public function openPrompt(prompt:Prompt, onClose:Void->Void)
{
menuItems.enabled = false;
Expand Down
9 changes: 9 additions & 0 deletions source/Note.hx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ class Note extends FlxSprite
public var colorSwap:ColorSwap;
public var noteScore:Float = 1;

// Copycat
public var copyX:Bool = true;
public var copyY:Bool = true;
public var copyAngle:Bool = true;
public var copyAlpha:Bool = true;

public static var swagWidth:Float = 160 * 0.7;
public static var PURP_NOTE:Int = 0;
public static var GREEN_NOTE:Int = 2;
Expand Down Expand Up @@ -137,6 +143,9 @@ class Note extends FlxSprite

if (isSustainNote && prevNote != null)
{
copyAngle = false;
copyAlpha = false;

noteScore * 0.2;
alpha = 0.6;

Expand Down
Loading

0 comments on commit 924bc89

Please sign in to comment.