Skip to content

Commit

Permalink
Merge pull request #3 from racerxdl/Port3
Browse files Browse the repository at this point in the history
Port3
  • Loading branch information
racerxdl committed Nov 1, 2015
2 parents 44cdaec + 8530df1 commit 3d32efe
Show file tree
Hide file tree
Showing 45 changed files with 517 additions and 52 deletions.
Binary file added datapack/AUDIO.jpak
Binary file not shown.
Binary file added datapack/BASE.jpak
Binary file not shown.
Binary file added datapack/EYE.jpak
Binary file not shown.
Binary file added datapack/ITEM.jpak
Binary file not shown.
Binary file added datapack/LEVELBAR.jpak
Binary file not shown.
1 change: 1 addition & 0 deletions datapack/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This assets are NOT from my property. These are stuff from Pump It Up Fiesta 2 and their copyrights belongs to Andamiro.
Binary file added datapack/NS/00.jpak
Binary file not shown.
Binary file added datapack/NS/01.jpak
Binary file not shown.
Binary file added datapack/NS/02.jpak
Binary file not shown.
Binary file added datapack/NS/03.jpak
Binary file not shown.
Binary file added datapack/NS/04.jpak
Binary file not shown.
Binary file added datapack/NS/05.jpak
Binary file not shown.
Binary file added datapack/NS/06.jpak
Binary file not shown.
Binary file added datapack/NS/07.jpak
Binary file not shown.
Binary file added datapack/NS/08.jpak
Binary file not shown.
Binary file added datapack/NS/09.jpak
Binary file not shown.
Binary file added datapack/NS/10.jpak
Binary file not shown.
Binary file added datapack/NS/11.jpak
Binary file not shown.
Binary file added datapack/NS/12.jpak
Binary file not shown.
Binary file added datapack/NS/13.jpak
Binary file not shown.
Binary file added datapack/NS/14.jpak
Binary file not shown.
Binary file added datapack/NS/15.jpak
Binary file not shown.
Binary file added datapack/NS/16.jpak
Binary file not shown.
Binary file added datapack/NS/17.jpak
Binary file not shown.
Binary file added datapack/NS/18.jpak
Binary file not shown.
Binary file added datapack/NS/19.jpak
Binary file not shown.
Binary file added datapack/NS/20.jpak
Binary file not shown.
Binary file added datapack/NS/21.jpak
Binary file not shown.
Binary file added datapack/NS/22.jpak
Binary file not shown.
Binary file added datapack/NS/23.jpak
Binary file not shown.
Binary file added datapack/NS/24.jpak
Binary file not shown.
Binary file added datapack/NS/25.jpak
Binary file not shown.
Binary file added datapack/NS/26.jpak
Binary file not shown.
Binary file added datapack/NS/27.jpak
Binary file not shown.
Binary file added datapack/NS/28.jpak
Binary file not shown.
Binary file added datapack/NS/29.jpak
Binary file not shown.
Binary file added datapack/NS/30.jpak
Binary file not shown.
Binary file added datapack/PREVIEW.jpak
Binary file not shown.
5 changes: 3 additions & 2 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,16 @@ may have different license including but not limited to JPAK, jQuery and others.

//Mime Types
PrimeConst.mimepng = "image/png";
PrimeConst.png = ".PNG";
PrimeConst.png = ".png";
PrimeConst.mimejpg = "image/jpg";
PrimeConst.jpg = ".JPG";
PrimeConst.jpg = ".jpg";

//File names to load
PrimeConst.ItemDataPack = "datapack/ITEM.jpak";
PrimeConst.NoteSkinPack = "datapack/NS/";
PrimeConst.BaseImage = "/BASE.PNG";
PrimeConst.StepFXBase = "/STEPFX";
PrimeConst.BombAudio = "audio/bomb2";

window.PrimeConst = PrimeConst;

Expand Down
8 changes: 4 additions & 4 deletions lib/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ may have different license including but not limited to JPAK, jQuery and others.
len = 5;
PrimeLog.d("Initializing "+len+" layers with size ("+width+","+height+")");
while(i<len) {
var lay = new PUMPER.SceneLayer({"width":width,"height":height});
var lay = new SceneLayer({"width":width,"height":height});
lay.InitLayer();
this.SceneLayers.push(lay);
++i;
Expand All @@ -74,7 +74,7 @@ may have different license including but not limited to JPAK, jQuery and others.
*/
Drawer.prototype.AddObj = function(obj,layer) {
layer = layer !== undefined ? layer : 2;
PrimeLog.d("PUMPER::Drawer::Adding AnimObj "+obj.id+" in layer "+layer);
PrimeLog.d("Drawer::Adding AnimObj "+obj.id+" in layer "+layer);
obj.Drawer = this;
this.SceneLayers[layer].AddObject(obj);
};
Expand Down Expand Up @@ -236,7 +236,7 @@ may have different license including but not limited to JPAK, jQuery and others.
this.webprime.sounds.Bomb.LastBeatPlay = this.webprime.gameVariables.noteData.CurrentBeat >> 0;
}
this.webprime.gameVariables.effectBank.FlashEffect.Start(this.webprime.gameVariables.noteData.CurrentBeat);
} else if(attr === 0 && seed === 17 && y <= PUMPER.OffsetY) { // Flash Effect
} else if(attr === 0 && seed === 17 && y <= this.webprime.gameVariables.offsetY) { // Flash Effect
this.webprime.gameVariables.effectBank.Start(this.webprime.gameVariables.noteData.CurrentBeat);
/*
if(this.webprime.gameVariables.noteData.CurrentBeat >> 0 != .LastBeatPlay) {
Expand Down Expand Up @@ -283,7 +283,7 @@ may have different license including but not limited to JPAK, jQuery and others.
ctx.drawImage(img,-this.webprime.gameVariables.arrowSize/2,-this.webprime.gameVariables.arrowSize/2, this.webprime.gameVariables.arrowSize, this.webprime.gameVariables.arrowSize);
ctx.globalAlpha = oldAlpha;
ctx.restore();
if(PUMPER.Globals.DrawAnchors) {
if(this.webprime.config.drawAnchors) {
ctx.save();
ctx.beginPath();
ctx.arc(pos+this.webprime.gameVariables.arrowSize/2,y+this.webprime.gameVariables.arrowSize/2, 4, 0, 2 * Math.PI, false);
Expand Down
Loading

0 comments on commit 3d32efe

Please sign in to comment.