Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PopcornColonell committed Oct 22, 2022
0 parents commit bb4f260
Show file tree
Hide file tree
Showing 1,464 changed files with 406,550 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export/
.vscode/
APIStuff.hx
mods/
docs/_build
Binary file added FE-CrashDialog.exe
Binary file not shown.
1 change: 1 addition & 0 deletions License
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Open source your projects! Credit would be nice, but not necessary.
96 changes: 96 additions & 0 deletions Project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<project>

<!-- _________________________ Application Settings _________________________ -->

<app title="Friday Night Funkin': Hypno's Lullaby" file="Hypnos Lullaby" packageName="com.ninjamuffin99.funkin" package="com.ninjamuffin99.funkin" main="Main" version="0.2.0" company="banbuds" />

<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
<app preloader="flixel.system.FlxPreloader" />

<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
<set name="SWF_VERSION" value="11.8" />

<!-- ____________________________ Window Settings ___________________________ -->

<!--These window settings apply to all targets-->
<window width="1280" height="720" fps="" background="#000000" hardware="true" vsync="false" />

<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />

<!-- _____________________________ Path Settings ____________________________ -->

<set name="BUILD_DIR" value="export" />
<source path="source" />
<assets path="assets" />
<assets path="shitpost" library="shitpost" embed="true"/>
<assets path="dlls/" rename='' />
<assets path="plugins/" rename='' />
<assets path="FE-CrashDialog.exe" type="template" if="windows release" />
<define name="VIDEOS_ALLOWED" if="web || windows" unless="32bits"/>
<!--<assets path="mods" />-->

<!-- _______________________________ Libraries ______________________________ -->

<haxelib name="flixel" />
<haxedev set='webgl' />

<haxelib name="flixel-addons" />
<haxelib name="hscript" />
<haxelib name="flixel-ui"/>
<haxelib name="polymod"/>
<haxelib name="discord_rpc"/>
<haxelib name="hxCodec" if="VIDEOS_ALLOWED"/>

<!-- ______________________________ Haxedefines _____________________________ -->

<set name="BUILD_DIR" value="export/debug" if="debug" />
<set name="BUILD_DIR" value="export/release" unless="debug" />

<!--Enable the Flixel core recording system-->
<!--<haxedef name="FLX_RECORD" />-->

<!--Disable the right and middle mouse buttons-->
<!--<haxedef name="FLX_NO_MOUSE_ADVANCED" />-->

<!--Disable the native cursor API on Flash-->
<!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->

<!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
<haxedef name="FLX_NO_MOUSE" if="mobile" />
<haxedef name="FLX_NO_KEYBOARD" if="mobile" />
<haxedef name="FLX_NO_TOUCH" if="desktop" />
<!--<haxedef name="FLX_NO_GAMEPAD" />-->

<!--Disable the Flixel core sound tray-->
<!--<haxedef name="FLX_NO_SOUND_TRAY" />-->

<!--Disable the Flixel sound management code-->
<!--<haxedef name="FLX_NO_SOUND_SYSTEM" />-->

<!--Disable the Flixel core focus lost screen-->
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />

<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
<haxedef name="FLX_NO_DEBUG" unless="debug" />

<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />

<!-- Akways enable Null Object Reference check for crash dialog -->
<haxedef name="HXCPP_CHECK_POINTER" />
<haxedef name="HXCPP_STACK_LINE" />

<!-- _________________________________ Custom _______________________________ -->

<icon path="art/icon16.png" size='16'/>
<icon path="art/icon32.png" size='32'/>
<icon path="art/icon64.png" size='64'/>
<icon path="art/icon128.png" size='128'/>
<icon path="art/icon256.png" size='256'/>
<icon path="art/icon512.png" size='512'/>
<icon path="art/iconOG.png" />

</project>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hpyno lullabyino
Binary file added art/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/icon256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/icon32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/icon512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/icon64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/iconOG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions assets/characterList.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
bf
dad
gf
hypno
hypno-two
abomination-hypno
buried
missingno
ba-missingno
bf-pixel
gf-stand
gf-kneel
gold
gold-no-more
gold-head-rip
sansno
gengar
googar
ponyta
smol-hypno
red
glitchy-red
glitchy-red-mad
glitchy-bf
ba-bf
red-dead
wigglytuff
cold-gold
silver
steven-front
steven-bed
steven-fp
steven-start
mike-fp
mike-bed
pico
jigglypuff
jigglyfront
beelze
beelzescary
dawn
dawn-bf
grey
grey-cold
shitno
Binary file added assets/cutscenes/feraligatr.mp4
Binary file not shown.
Binary file added assets/cutscenes/leftunchecked.mp4
Binary file not shown.
Binary file added assets/cutscenes/monochrome_cutscene.mp4
Binary file not shown.
Binary file added assets/cutscenes/shinto.mp4
Binary file not shown.
13 changes: 13 additions & 0 deletions assets/events/Camera Bop Speed.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
function returnDescription()
return "Basically just does what the name says\nvalue 1: intensity\nvalue 2: speed";

function eventFunction(params) {
var intensity = Std.parseFloat(params[0]);
if (Math.isNaN(intensity))
intensity = 0;
var speed = Std.parseFloat(params[1]);
if (Math.isNaN(speed))
speed = 0;
PlayState.instance.bopIntensity = intensity;
PlayState.instance.bopFrequency = speed;
}
32 changes: 32 additions & 0 deletions assets/events/Car Crash.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
var name:String = '';
var newSprite:FlxSprite;

function returnDescription()
return "";

function returnDelay()
return 0;

function eventFunction(params) {
newSprite.animation.addByPrefix('idle', 'animation', 24, false);
newSprite.animation.play('idle');
newSprite.scrollFactor.set();
PlayState.instance.add(newSprite);
newSprite.setGraphicSize(Std.int(newSprite.width * (720 / 144)));
newSprite.cameras = [PlayState.dialogueHUD];
newSprite.screenCenter();

FlxG.sound.play(Paths.sound(name, 'shitpost'));
}

function initFunction(params) {
switch (Std.parseInt(params[0])) {
default:
name = 'car';
case 1:
name = 'plane';
}

newSprite = new FlxSprite();
newSprite.frames = Paths.getSparrowAtlas(name, false, 'shitpost');
}
13 changes: 13 additions & 0 deletions assets/events/Change Character.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
function eventFunction(params) {
var prevFlipX = PlayState.dadOpponent.flipX;
PlayState.dadOpponent.x -= PlayState.dadOpponent.characterData.offsetX;
PlayState.dadOpponent.y -= (PlayState.dadOpponent.characterData.offsetY - (PlayState.dadOpponent.frameHeight * PlayState.dadOpponent.scale.y));

PlayState.dadOpponent.setCharacter(PlayState.dadOpponent.x, PlayState.dadOpponent.y, params[0]);
if (PlayState.dadOpponent.flipX != prevFlipX)
PlayState.dadOpponent.flipLeftRight();
}

function initFunction(params) {
var characterPreload:Character = new Character().setCharacter(0, 0, params[0]);
}
25 changes: 25 additions & 0 deletions assets/events/Change Scroll Speed.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
function returnDescription()
return "Changes the note's scoll speeds.";

function eventFunction(params) {
var val1 = params[0];
if (Math.isNaN(val1) || val1 <= 0)
val1 = 1;
var val2 = params[1];
if (Math.isNaN(val2) || val2 <= 0)
val2 = 0;
//
var newValue:Float = PlayState.SONG.speed * val1;
if (val2 <= 0)
PlayState.instance.songSpeed = newValue;
else {
PlayState.instance.songSpeedTween = FlxTween.tween(PlayState.instance, {songSpeed: newValue}, val2 * (Conductor.stepCrochet / 1000), {
ease: FlxEase.linear,
onComplete: function(twn:FlxTween)
{
PlayState.instance.songSpeedTween = null;
}
});
}
trace('changing scroll speed');
}
33 changes: 33 additions & 0 deletions assets/events/Chromatic Riser.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
function returnDescription()
return 'Changes the filter effect.';

function eventFunction(params) {
var newZoom = Std.parseFloat(params[0]);
if (Math.isNaN(newZoom))
newZoom = 0;
var timestep = Std.parseFloat(params[1]);
if (Math.isNaN(timestep))
timestep = 0;

if (PlayState.instance.riserTween != null && PlayState.instance.riserTween.active && !PlayState.instance.riserTween.finished) {
PlayState.instance.riserTween.active = false;
PlayState.instance.riserTween = null;
}

var onCompleteRiser:FlxTween->Void = function(tween:FlxTween) {
PlayState.instance.canRise = false;
};

PlayState.instance.canRise = true;
if (newZoom > PlayState.instance.brimstoneDistortion) {
PlayState.instance.riserTween = FlxTween.tween(PlayState.instance, {brimstoneDistortion: newZoom}, (timestep * Conductor.stepCrochet) / 1000,
{ease: FlxEase.cubeIn, onComplete: onCompleteRiser});
} else {
PlayState.instance.riserTween = FlxTween.tween(PlayState.instance, {brimstoneDistortion: newZoom}, (timestep * Conductor.stepCrochet) / 1000,
{ease: FlxEase.cubeOut, onComplete: onCompleteRiser});
}
}

function initFunction(params) {
PlayState.instance.setupBrimstoneShaders();
}
7 changes: 7 additions & 0 deletions assets/events/Flip Characters.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function returnDescription()
return "I added this for a joke";

function eventFunction(params) {
PlayState.instance.flipCharacters();
}

6 changes: 6 additions & 0 deletions assets/events/Flip Strums.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function returnDescription()
return "Flips the strums around.";

function eventFunction(params) {
PlayState.instance.flipStrums();
}
19 changes: 19 additions & 0 deletions assets/events/HUD Fade Mid Song.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
function returnDescription()
return 'Fades the HUD (Mid song)\nVal 1 alpha\nVal 2 time (in steps)';

// kade and I were too lazy to like, fix hud fade so he made a new one and I have yet to change it as of 7/13/2022

function eventFunction(params) {
var val1 = params[0];
var val2 = params[1];
if (Math.isNaN(val2) || val2 <= 0)
val2 = 1;

FlxTween.tween(PlayState.camHUD, {alpha: val1},
val2 * (Conductor.stepCrochet / 1000), {ease: FlxEase.linear});
FlxTween.tween(PlayState.uiHUD, {alpha: val1 * 0.6},
val2 * (Conductor.stepCrochet / 1000), {ease: FlxEase.linear});
for (i in PlayState.strumHUD)
FlxTween.tween(i, {alpha: val1 * .8},
val2 * (Conductor.stepCrochet / 1000), {ease: FlxEase.linear});
}
25 changes: 25 additions & 0 deletions assets/events/HUD Fade.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
function returnDescription()
return "Fades the HUD";

function eventFunction(params) {
var val1 = params[0];
if (Math.isNaN(val1) || val1 <= 0 || val1 == '')
val1 = 1;
//
trace('this thing fades the hud why doesnt it work');
FlxTween.tween(PlayState.camHUD, {alpha: 1},
val1 * (Conductor.stepCrochet / 1000), {ease: FlxEase.linear});
FlxTween.tween(PlayState.uiHUD, {alpha: 0.6},
val1 * (Conductor.stepCrochet / 1000), {ease: FlxEase.linear});
//
for (i in PlayState.strumHUD) {
FlxTween.tween(i, {alpha: 0.8},
val1 * (Conductor.stepCrochet / 1000), {ease: FlxEase.linear});
}
}

function initFunction(params) {
PlayState.camHUD.alpha = 0;
for (i in PlayState.strumHUD)
i.alpha = 0;
}
6 changes: 6 additions & 0 deletions assets/events/Hide P2 Icon.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function returnDescription()
return "Hides the opponent's Health Icon.";

function eventFunction(params) {
if (PlayState.instance.iconP2 != null) PlayState.instance.iconP2.visible = false;
}
33 changes: 33 additions & 0 deletions assets/events/Lane Modifier.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
function returnDescription()
return 'Changes the lane speed.';

function returnDelay()
return 0; //pleasedontbethispleasedontbethis

function eventFunction(params) {
if (params[0] > 3 || Math.isNaN(params[0]))
params[0] = 3;
if (Math.isNaN(params[1]))
params[1] = 1;

// so this just stops the script from running properly?
// not gonna question it for now since if it works it works but when it's needed ill fix it

// -tk

// switch(PlayState.gameplayMode)
// {
// case HELL_MODE:
// val2 *= 1.2;
// case FUCK_YOU:
// val2 *= 1.4;
// case PUSSY_MODE:
// val2 *= 0.9;
// default:
// val2 *= 1;
// }
trace('is detect ');

PlayState.laneSpeed[params[0]] = PlayState.SONG.speed * params[1];
PlayState.instance.setLaneSpeed(params[0]);
}
13 changes: 13 additions & 0 deletions assets/events/Opponent Glitching.hxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var oppGlitchShader:FlxGraphicsShader;
function eventFunction(params) {
var newGlitch = params[0] / 4;
if (Math.isNaN(newGlitch))
newGlitch = 0;
PlayState.dadOpponent.shader.data.binaryIntensity.value = [newGlitch];
}

function initFunction(params) {
oppGlitchShader = new FlxGraphicsShader("", Paths.shader('missingno/individualGlitches'));
PlayState.dadOpponent.shader = oppGlitchShader;
PlayState.dadOpponent.shader.data.binaryIntensity.value = [0];
}
Loading

0 comments on commit bb4f260

Please sign in to comment.