Skip to content

Commit ba2c845

Browse files
committed
go crazy
1 parent 5c9c192 commit ba2c845

File tree

14 files changed

+2002
-82
lines changed

14 files changed

+2002
-82
lines changed

Project.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<define name="IRIS_DEBUG"/>
3131
<define name="ARCHIPELAGO_ALLOWED"/>
3232
<define name="CHECK_FOR_UPDATES"/>
33+
<define name="TITLE_SCREEN_EASTER_EGG"/>
3334

3435
<!-- so that the things that use this can have it-->
3536
<define name="PE_MOD_COMPATIBILITY" if="LUA_ALLOWED" />
32.1 KB
Binary file not shown.

assets/shared/images/ut/box.png

1.34 KB
Loading
1.76 KB
Loading

assets/shared/music/hello.ogg

1.26 MB
Binary file not shown.

source/backend/Rating.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Rating
3131
var ratingsData:Array<Rating> = [new Rating('marv')]; //highest rating goes first
3232

3333
var rating:Rating = new Rating('sick');
34-
rating.ratingMod = 1;
34+
rating.ratingMod = 0.88;
3535
rating.score = 350;
3636
rating.noteSplash = true;
3737
ratingsData.push(rating);

source/flixel/FlxSprite.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ class FlxSprite extends FlxObject
15371537
{
15381538
_angleChanged = true;
15391539
try {animation.update(0);}
1540-
catch(e) {trace("ERROR CHANGING ANGLE!");}
1540+
catch(e) {/*trace("ERROR CHANGING ANGLE!");*/}
15411541
}
15421542
return ret;
15431543
}

source/import.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import backend.Language;
3535
import backend.TransitionState;
3636
import backend.COD;
3737
import backend.ui.*; //Psych-UI
38-
import backend.util.MemoryUtil;
38+
import backend.util.*;
3939
import backend.Cursor;
4040
import backend.Constants;
4141

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
package shaders;
2+
3+
import flixel.system.FlxAssets.FlxShader;
4+
5+
class ChromaticAberration extends FlxShader
6+
{
7+
@:glFragmentSource('
8+
#pragma header
9+
10+
uniform float rOffset;
11+
uniform float gOffset;
12+
uniform float bOffset;
13+
14+
void main()
15+
{
16+
vec4 col1 = texture2D(bitmap, openfl_TextureCoordv.st - vec2(rOffset, 0.0));
17+
vec4 col2 = texture2D(bitmap, openfl_TextureCoordv.st - vec2(gOffset, 0.0));
18+
vec4 col3 = texture2D(bitmap, openfl_TextureCoordv.st - vec2(bOffset, 0.0));
19+
vec4 toUse = texture2D(bitmap, openfl_TextureCoordv);
20+
toUse.r = col1.r;
21+
toUse.g = col2.g;
22+
toUse.b = col3.b;
23+
//float someshit = col4.r + col4.g + col4.b;
24+
25+
gl_FragColor = toUse;
26+
}')
27+
public function new()
28+
{
29+
super();
30+
}
31+
}

0 commit comments

Comments
 (0)