OSDN Git Service

デバッグ表示など消した
authorttwilb <ttwilb@users.sourceforge.jp>
Wed, 4 Sep 2013 06:44:20 +0000 (15:44 +0900)
committerttwilb <ttwilb@users.sourceforge.jp>
Wed, 4 Sep 2013 06:44:20 +0000 (15:44 +0900)
www/corelib/classes/FreeItemClass.js
www/corelib/classes/SlopeBlockClass.js

index 6f90580..75401dc 100644 (file)
@@ -42,6 +42,7 @@ var FreeItemClass = function(stage, args){
                        this.ownerStage.mainContext.drawImage(this.image, x, y, 32, 32);
                        this.ownerStage.mainContext.globalAlpha = 1.0;
                }
+               /*
                if(this.debugMode && this.times > 0){
                        //\8ec\82è\8eæ\93¾\89ñ\90\94\82ð\95\\8e¦
                        this.ownerStage.mainContext.save();
@@ -51,7 +52,9 @@ var FreeItemClass = function(stage, args){
                        drawText(this.ownerStage.mainContext, this.times, x, y - 20);
                        this.ownerStage.mainContext.restore();
                }
+               */
                var tickCount = this.ownerStage.manager.tickCount;
+               /*
                if(this.debugMode && ((tickCount - this.lastTouchedTickCount)< this.touchInterval)){
                        //\8eæ\93¾\82Å\82«\82é\82æ\82¤\82É\82È\82é\82Ü\82Å\82Ì\8ec\82è\8e\9e\8aÔ\82ð\95\\8e¦
                        this.ownerStage.mainContext.save();
@@ -61,6 +64,7 @@ var FreeItemClass = function(stage, args){
                        drawText(this.ownerStage.mainContext, this.touchInterval - (tickCount - this.lastTouchedTickCount), x, y - 32);
                        this.ownerStage.mainContext.restore();
                }
+               */
        },
        debugDraw: function(x, y){
                //\8fÕ\93Ë\83}\83b\83v\82É\95`\89æ
index 5c1c6c0..5dcd33b 100644 (file)
@@ -71,7 +71,7 @@ var SlopeBlockClass = function(ownerStage, args)
        },
        draw : function(x, y){
                SlopeBlockClass.base.prototype.draw.apply(this, arguments);
-               
+               /*
                if(this.enableDebugMode)
                {
                        var xz = this.origin.x - x;
@@ -88,6 +88,7 @@ var SlopeBlockClass = function(ownerStage, args)
                        this.ownerStage.mainContext.stroke();
                        this.ownerStage.mainContext.restore();
                }
+               */
        },
        debugDraw: function(x, y){
                var xz = this.origin.x - x;