senpai!!
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE codename-engine-character>
|
||||
<character sprite="senpai" isPlayer="false" flipX="false" x="150" y="360" antialiasing="false" scale="6" icon="senpai">
|
||||
<character sprite="senpai" isPlayer="false" flipX="false" x="150" y="360" antialiasing="false" scale="6" icon="senpai" camx="100">
|
||||
<anim name="idle" anim="Angry Senpai Idle" fps="24" loop="false" x="0" y="0" />
|
||||
|
||||
<!-- Offsets are actually multiplied by scale -->
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE codename-engine-character>
|
||||
<character isPlayer="false" flipX="false" x="150" y="360" antialiasing="false" scale="6">
|
||||
<character isPlayer="false" flipX="false" x="150" y="360" antialiasing="false" scale="6" camx="100">
|
||||
<anim name="idle" anim="Senpai Idle" fps="24" loop="false" x="0" y="0" />
|
||||
|
||||
<!-- Offsets are actually multiplied by scale -->
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
function create() {
|
||||
importScript("data/scripts/pixel");
|
||||
pixelNotesForBF = false;
|
||||
enablePixelUI = false;
|
||||
}
|
||||
|
||||
function updatePost(elapsed) {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
public var pixelNotesForBF = true;
|
||||
public var pixelNotesForDad = true;
|
||||
public var enablePixelUI = true;
|
||||
|
||||
var daPixelZoom = 6;
|
||||
|
||||
@@ -21,6 +22,7 @@ function onNoteCreation(event) {
|
||||
note.scale.set(daPixelZoom, daPixelZoom);
|
||||
note.updateHitbox();
|
||||
}
|
||||
|
||||
function onStrumCreation(event) {
|
||||
if (event.player == 1 && !pixelNotesForBF) return;
|
||||
if (event.player == 0 && !pixelNotesForDad) return;
|
||||
@@ -35,4 +37,18 @@ function onStrumCreation(event) {
|
||||
|
||||
strum.scale.set(daPixelZoom, daPixelZoom);
|
||||
strum.updateHitbox();
|
||||
}
|
||||
|
||||
function onCountdown(event) {
|
||||
if (!enablePixelUI) return;
|
||||
|
||||
if (event.soundPath != null) event.soundPath = 'pixel/' + event.soundPath;
|
||||
event.antialiasing = false;
|
||||
event.scale = 6;
|
||||
event.spritePath = switch(event.swagCounter) {
|
||||
case 0: null;
|
||||
case 1: 'stages/school/ui/ready';
|
||||
case 2: 'stages/school/ui/set';
|
||||
case 3: 'stages/school/ui/go';
|
||||
};
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
function create() {
|
||||
importScript("data/scripts/pixel");
|
||||
trace(treeLeaves.width);
|
||||
trace(bgSky.width);
|
||||
}
|
||||
@@ -1,7 +1,25 @@
|
||||
<!DOCTYPE codename-engine-stage>
|
||||
<stage zoom="1.05" name="spooky" folder="stages/school/">
|
||||
<sprite name="bgSky" x="0" y="0" antialiasing="false" scale="6" sprite="weebSky" scroll="0.1"/>
|
||||
<sprite name="bgStreet" x="-200" y="0" antialiasing="false" scale="6" sprite="weebStreet" scroll="0.95" />
|
||||
<sprite name="fgTrees" x="-30" y="130" antialiasing="false" scale="6" sprite="weebTreesBack" scroll="0.9" />
|
||||
<sprite name="bgTrees" x="-30" y="130" antialiasing="false" scale="6" sprite="weebTreesBack" scroll="0.9" />
|
||||
<stage zoom="1" name="spooky" folder="stages/school/" >
|
||||
<sprite name="bgSky" x="0" y="0" sprite="weebSky"
|
||||
antialiasing="false" scale="6" scroll="0.1" updateHitbox="true"/>
|
||||
|
||||
<sprite name="bgSchool" x="-200" y="0" sprite="weebSchool"
|
||||
antialiasing="false" scale="6" scrollx="0.6" scrolly="0.9" updateHitbox="true"/>
|
||||
|
||||
<sprite name="bgStreet" x="-200" y="0" sprite="weebStreet"
|
||||
antialiasing="false" scale="6" scroll="0.95" updateHitbox="true"/>
|
||||
|
||||
<sprite name="fgTrees" x="-30" y="130" sprite="weebTreesBack"
|
||||
antialiasing="false" scale="4.8" scroll="0.9" updateHitbox="true"/>
|
||||
|
||||
<sprite name="bgTrees" x="-1180" y="-1600" sprite="weebTrees"
|
||||
antialiasing="false" scale="8.4" scroll="0.85" updateHitbox="true"/>
|
||||
|
||||
<sprite name="treeLeaves" x="-200" y="-40" sprite="petals"
|
||||
antialiasing="false" scale="6" scroll="0.85" updateHitbox="true"/>
|
||||
|
||||
<sprite name="bgGirls" x="-100" y="190" sprite="bgFreaks" scroll="0.9" scale="6" antialiasing="false" updateHitbox="true">
|
||||
<anim name="danceLeft" anim="BG girls group" indices="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14" fps="24" loop="false"/>
|
||||
<anim name="danceRight" anim="BG girls group" indices="15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30" fps="24" loop="false"/>
|
||||
</sprite>
|
||||
</stage>
|
||||
Reference in New Issue
Block a user