Commit graph

73 commits

Author SHA1 Message Date
lengstrom
f4b7b80c22 made pause button switch states based on the actual gameState value rather than handlers 2014-07-25 23:10:23 -04:00
lengstrom
54daacbb27 added info button support in home screen; made hit detection basde on canvas coordinates rather than DOM for info button 2014-07-23 22:00:46 -04:00
lengstrom
4f15bfa423 changed restart btn to always restart the game instead of sometimes also resuming 2014-07-23 09:47:03 -04:00
lengstrom
6037f16dc9 removed redundant code, removed debugger statements 2014-07-22 21:52:02 -04:00
Garrett Finucane
23f84febc5 fixed no restart from pause 2014-07-22 09:13:13 -04:00
lengstrom
c3a1941d88 removed devtools 2014-07-21 09:54:08 -04:00
Garrett Finucane
61b6d860dc pause button now switches whenever paused 2014-07-19 22:31:19 -04:00
lengstrom
80ccc10b46 removed intro JSON, kept keypress, consolidated initialization to a single function 2014-07-17 21:11:05 -04:00
Garrett Finucane
d0eccacdae fixed touble restart on mobile 2014-07-16 10:37:12 -04:00
lengstrom
401c0873af removed music 2014-07-16 00:06:23 -04:00
Garrett Finucane
ac9617818c mute unmute and audio 2014-07-05 17:18:23 -04:00
lengstrom
bb0e15b2ff added new sound files and deleted old ones 2014-07-05 11:59:23 -04:00
lengstrom
2184faa258 added restart messages for mobile + modified those for desktop, added timeout before being able to restart 2014-07-05 10:21:07 -04:00
lengstrom
2190441404 fixed issues around pausing and toggling the info button at the same time 2014-07-05 00:32:54 -04:00
lengstrom
5e9343cdb9 added alternate text 2014-07-04 22:23:19 -04:00
lengstrom
1ec29672ec almost done with tutorial. fixed devmode not being able to be enabled 2014-07-04 19:08:49 -04:00
lengstrom
f81f05e347 fixed "press p to continue" text occurring in mobile browsers 2014-07-04 14:14:39 -04:00
Garrett Finucane
109edf092e Clock to Hex 2014-07-04 12:42:44 -04:00
lengstrom
bf2b33c7a5 added devMode, disabled debugging functions. first version of tutorial is done. added delay to gamePlay after pressing start to let the UI elements fade out. 2014-07-03 16:30:56 -04:00
Garrett Finucane
bc864ea20a Fixed flickering after pause 2014-07-02 11:10:36 -04:00
Garrett Finucane
d83d0c50be fixed clicking in hextris 2014-06-30 21:56:14 -04:00
Garrett Finucane
ad48ad0a40 added restart button 2014-06-30 12:29:26 -04:00
lengstrom
36ec1a9b64 Removed spacebar speedup 2014-06-29 14:35:10 -04:00
lengstrom
31c4b4d96a removed white gaps, changed method for starting previously saved game to calling resumeGame (after init is called) 2014-06-28 13:44:43 -04:00
lengstrom
183af89000 fixed initial setup not rendering correctly in menu 2014-06-27 21:19:57 -04:00
lengstrom
632b68e60a extended reset to enter key press as well in the title screen 2014-06-27 19:10:53 -04:00
Garrett Finucane
fc426f46dc fixed the whole weird stuff 2014-06-24 13:16:46 -04:00
lengstrom
75ff870065 fixed restart method not clearing the screen, started fixing distFromHex changing
after restart
2014-06-24 09:47:15 -04:00
Garrett Finucane
04c553d46d minor fixes 2014-06-24 00:15:03 -04:00
lengstrom
b7f475724f Merge branch 'gh-pages' of https://github.com/teamsnowman/hextris into gh-pages 2014-06-23 22:26:05 -04:00
lengstrom
706c9f1130 added previous game display on the title 2014-06-23 22:26:00 -04:00
Garrett Finucane
31b4f91c32 high scores better 2014-06-23 22:21:36 -04:00
lengstrom
b153107bdc added start screen 2014-06-23 20:55:04 -04:00
lengstrom
3ac66a1c55 fixed white gaps/misaligned blocks that occur at certain screen dimensions at startup 2014-06-22 16:49:26 -04:00
Garrett Finucane
921bb49023 no pausing at game over 2014-06-22 13:25:20 -04:00
Garrett Finucane
a9ac49e734 reworked endgame 2014-06-21 16:58:18 -04:00
lengstrom
7431312f9b fixed merge conflicts 2014-05-31 21:45:25 -04:00
lengstrom
9e7e82c729 cleaned up main, made new difficulty scaling system, removed .swp files,
added greater support for mobile (responsiveness of btns)
2014-05-31 21:44:03 -04:00
Garrett Finucane
cb89190a86 fixed start screen 2014-05-31 20:17:00 -04:00
Garrett Finucane
8f0d1a4f93 continues to draw score and background hex after pause 2014-05-31 20:10:32 -04:00
Garrett Finucane
4d848a5ac4 Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages
Conflicts:
	index.html
	js/input.js
	style/style.css
2014-05-31 19:39:07 -04:00
Garrett Finucane
03d1627037 changed first screen 2014-05-31 19:37:23 -04:00
lengstrom
3dff49b0ef added click support for rotating the hexagon. consolidated touch
support. created pause button. created unselectable class for menus.
fixed being able to restart game while paused. now render every frame for
the pause menu now to avoid difficulties when resizing.
2014-05-31 18:12:35 -04:00
lengstrom
aabc3447af consolidated style sheets, made pause anim take 300 ms rather than 500, made game not start until becoming unblurred 2014-05-31 11:26:15 -04:00
Garrett Finucane
82fe0c9a6b Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages
Conflicts:
	index.html
2014-05-31 11:16:48 -04:00
Garrett Finucane
eb84ceea27 html pause 2014-05-31 11:13:40 -04:00
lengstrom
1e664bc9f6 added spacebar to speed 2014-05-31 10:22:42 -04:00
lengstrom
f577d46b0e added spacebar to make game go twice as fast 2014-05-31 09:56:38 -04:00
Garrett Finucane
a63415c1d8 fade in on restart 2014-05-30 21:05:01 -04:00
garrettdreyfus
540bc36ec0 help screen implemented 2014-05-26 21:05:58 -04:00