Created
September 17, 2012 23:24
-
-
Save tlhunter/3740381 to your computer and use it in GitHub Desktop.
Cobalt Calibur Draw Black
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(redrawNametags) { | |
// immediately draw canvas as black | |
app.graphics.handle.fillStyle = "rgb(0,0,0)"; | |
app.graphics.handle.fillRect(0, 0, app.graphics.viewport.WIDTH_PIXEL, app.graphics.viewport.HEIGHT_PIXEL); | |
var i, j; | |
var mapX = 0; | |
var mapY = 0; | |
var tile; | |
if (redrawNametags) app.graphics.nametags.hide(); | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment