Skip to content

Commit

Permalink
Merge pull request #36 from java-women/feature/issue#29
Browse files Browse the repository at this point in the history
issue#29 の対応
  • Loading branch information
erk5 authored Jun 12, 2016
2 parents d4d8223 + b0ce648 commit dfb4db3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const CHARA_WIDTH = 24;
const CHARA_HEIGHT = 24;
const CHARA_IMG = 'debug.png';
const MAP_IMG = 'map1.png';
const MAP_SIZE = 20;
const MAX_TIME = 5;

/**
Expand Down Expand Up @@ -67,9 +66,9 @@ var show = {
map.image = core.assets[MAP_IMG];

var baseMap = [];
for (var i = 0; i < MAP_SIZE; i++) {
for (var i = 0; i < SCREEN_HEIGHT / MAP_HEIGHT; i++) {
baseMap[i] = [];
for (var n = 0; n < MAP_SIZE; n++) {
for (var n = 0; n < SCREEN_WIDTH / MAP_HEIGHT; n++) {
baseMap[i][n] = 100;
}
}
Expand Down

0 comments on commit dfb4db3

Please sign in to comment.