Skip to content
Browse files

swapped out board graphics

  • Loading branch information...
1 parent d10e8a2 commit 552743d28282da52d0b6874cce536e1be95c0c15 @nolastan committed Mar 29, 2012
View
18 html5/board.js
@@ -232,16 +232,16 @@ this.DrawBoard = function()
x: partyRect.x + partyRect.width / 3.75,
y: partyRect.y + partyRect.height / 2.75,
image: partyImageObj,
- width: partyRect.width / 2,
- height: partyRect.height / 2.5
+ width: partyRect.width / 5,
+ height: partyRect.height / 2
});
// add the shape to the layer
partyPicLayer.add(image);
stage.add(partyPicLayer);
};
- partyImageObj.src = "images/party.jpg";
+ partyImageObj.src = "images/party_icon.png";
// Add service picture
var serviceImageObj = new Image();
@@ -252,7 +252,7 @@ this.DrawBoard = function()
x: csRect.x + csRect.width / 3.75,
y: csRect.y + csRect.height / 2.75,
image: serviceImageObj,
- width: csRect.width / 2,
+ width: csRect.width / 3,
height: csRect.height / 2.5
});
@@ -261,7 +261,7 @@ this.DrawBoard = function()
stage.add(servicePicLayer);
};
- serviceImageObj.src = "images/service.jpg";
+ serviceImageObj.src = "images/cs_icon.png";
// Add rush picture
var rushImageObj = new Image();
@@ -272,7 +272,7 @@ this.DrawBoard = function()
x: rushRect.x + rushRect.width / 3.25,
y: rushRect.y + rushRect.height / 2.75,
image: rushImageObj,
- width: rushRect.width / 2.5,
+ width: rushRect.width / 3,
height: rushRect.height / 2.5
});
@@ -281,7 +281,7 @@ this.DrawBoard = function()
stage.add(rushPicLayer);
};
- rushImageObj.src = "images/rush.jpg";
+ rushImageObj.src = "images/rush_icon.png";
// Add study picture
var studyImageObj = new Image();
@@ -292,7 +292,7 @@ this.DrawBoard = function()
x: studyRect.x + studyRect.width / 3.25,
y: studyRect.y + studyRect.height / 2.75,
image: studyImageObj,
- width: studyRect.width / 2.5,
+ width: studyRect.width / 3,
height: studyRect.height / 2.5
});
@@ -301,7 +301,7 @@ this.DrawBoard = function()
stage.add(studyPicLayer);
};
- studyImageObj.src = "images/study.jpg";
+ studyImageObj.src = "images/study_icon.png";
// Draw the text inside of the rectangles
stage.add(messageLayer);
View
BIN html5/images/cs_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN html5/images/party_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN html5/images/rush_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN html5/images/study_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 552743d

Please sign in to comment.
Something went wrong with that request. Please try again.