Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch camera scale #188

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Ubuntu

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install g++ make memcached libncurses5 redis-server git -y
$ sudo apt-get install g++ make memcached libncurses5 redis-server git curl -y
$ curl -sL https://deb.nodesource.com/setup | sudo bash -
$ sudo apt-get install nodejs
$ sudo apt-get install nodejs -y

Clone the git repo:

Expand Down
2 changes: 1 addition & 1 deletion client/js/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define(function() {
},

rescale: function() {
var factor = this.renderer.mobile ? 1 : 2;
var factor = this.renderer.getScaleFactor();

this.gridW = 15 * factor;
this.gridH = 7 * factor;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"type": "git",
"url": "https://github.com/browserquest/BrowserQuest.git"
},
"license": "LicenseRef-LICENSE",
"version": "0.0.1",
"dependencies": {
"bcrypt": ">=0",
Expand Down