Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/excaliburjs/PDJam1. Public Domain Jam: Sleepy Hollow excaliburjs.itch.io/sleepy-hollow
Something went wrong. Try again.
12345678910111213class ModifiedCamera extends ex.SideCamera {
getFocus() { if (this.follow) { return new ex.Point(((-this.follow.x) * this.getZoom()) + (this.engine.getWidth() * this.getZoom()) / 2.0, 0 + Config.cameraOffset); } else { return this.focus; } }
}