Skip to content

Commit

Permalink
Updated credits.
Browse files Browse the repository at this point in the history
  • Loading branch information
chessmasterhong committed Feb 22, 2015
1 parent e3a2d7d commit fe6946d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
26 changes: 16 additions & 10 deletions lib/game/entities/overlays/credits_roll.js
Expand Up @@ -23,19 +23,16 @@ ig.module(

maxY: -1, // maximum container size

x0: -1, // center column x-position
xL: -1, // left column x-position
xR: -1, // right column x-position
dx: 25, // x-position delta from center column to left or right columns
dy: 35, // column y-position delta
s : 2, // section spacer index

init: function(x, y, settings) {
this.parent(x, y, settings);

this.x0 = this.pos.x + ig.system.width / 2;
this.xL = this.x0 - this.dx;
this.xR = this.x0 + this.dx;
this.x0 = this.pos.x + ig.system.width / 2; // center column x-position
this.xL = this.x0 - this.dx; // left column x-position
this.xR = this.x0 + this.dx; // right column x-position
},

draw: function() {
Expand All @@ -44,21 +41,25 @@ ig.module(
var y = 0; // y-position iteration index

this.fontTitle.draw('Fire Emblem', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
y++;
y += y * 0.8;
this.fontTitle.draw('Chronicles of the Abyss', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);

y += this.s * 7.5;
this.fontSection.draw('Project Lead', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontContent20.draw('Kevin Chan', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1
this.fontContent20.draw('David Leonard', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 2

y += this.s;
this.fontSection.draw('Project Architect', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontContent20.draw('Kevin Chan', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1

y += this.s;
this.fontSection.draw('Technical Lead', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontContent20.draw('Kevin Chan', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1
this.fontContent20.draw('David Leonard', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 2

y += this.s;
this.fontSection.draw('Programmer', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontSection.draw('Programming', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontContent20.draw('Kevin Chan', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1
this.fontContent20.draw('David Leonard', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 2
this.fontContent20.draw('Wan Kim Mok', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 3
Expand Down Expand Up @@ -99,13 +100,18 @@ ig.module(
this.fontContent20.draw('"Land of Promise"', this.xL, this.pos.y + this.dy * ++y, ig.Font.ALIGN.RIGHT ); // 12
this.fontContent20.draw('0rangaStang', this.xR, this.pos.y + this.dy * y, ig.Font.ALIGN.LEFT );

y += this.s;
this.fontSection.draw('Level Design', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontContent20.draw('David Leonard', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1

y += this.s;
this.fontSection.draw('Graphics Editing', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontContent20.draw('David Leonard', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1
this.fontContent20.draw('Wan Kim Mok', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1

y += this.s;
this.fontSection.draw('Audio Editing', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontContent20.draw('David Leonard', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1
this.fontSection.draw('Audio Editing', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
this.fontContent20.draw('David Leonard', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER); // 1

y += this.s;
this.fontSection.draw('Special Thanks', this.x0, this.pos.y + this.dy * ++y, ig.Font.ALIGN.CENTER);
Expand Down
2 changes: 1 addition & 1 deletion lib/game/main.js
Expand Up @@ -3391,7 +3391,7 @@ ig.module(
*/
ig.GameCredits = ig.BaseGame.extend({
credits_roll: null,
scroll_speed: 41,
scroll_speed: 42,

end_timer: null,
fade_duration: 10,
Expand Down

0 comments on commit fe6946d

Please sign in to comment.