Commit graph

473 commits

Author SHA1 Message Date
lengstrom
0eba942db5 added more to main menu btn 2014-07-19 17:49:39 -04:00
lengstrom
6dabf4e65c added button to go to main menu from the pause menu 2014-07-19 17:36:43 -04:00
lengstrom
eff06e4c18 put instructions inside of pause menu 2014-07-19 16:19:07 -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
14dfd8a4f8 added fading helpText, removed old ogg declarations 2014-07-16 00:08:57 -04:00
lengstrom
401c0873af removed music 2014-07-16 00:06:23 -04:00
lengstrom
3e64d5633c Merge branch 'gh-pages' of https://github.com/teamsnowman/hextris into gh-pages 2014-07-15 23:58:23 -04:00
lengstrom
97bde851bc c 2014-07-15 23:58:15 -04:00
Garrett Finucane
997f5e5547 Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages 2014-07-07 10:55:26 -04:00
Garrett Finucane
878813d7d3 made looping and autoplay in js 2014-07-07 10:55:12 -04:00
lengstrom
3fe1f18223 disabled dragging on screen 2014-07-06 21:28:34 -04:00
Garrett Finucane
fe61d1f245 no jagged lines switch no one line not multiple 2014-07-06 15:18:51 -04:00
Garrett Finucane
86e274b026 removed spacing between timer and hexagon when zoomed 2014-07-06 14:50:19 -04:00
Garrett Finucane
981f36f9f4 intro leads in and loop loops 2014-07-06 10:38:33 -04:00
lengstrom
95562ce62d changed combotime coeff 2014-07-05 21:05:21 -04:00
lengstrom
2bfd8e237c Merge branch 'gh-pages' of https://github.com/teamsnowman/hextris into gh-pages 2014-07-05 17:44:39 -04:00
lengstrom
bb1f7f3ef7 Removed count variable; extended combo time 2014-07-05 17:44:31 -04:00
Garrett Finucane
ac9617818c mute unmute and audio 2014-07-05 17:18:23 -04:00
Garrett Finucane
3214022e00 added audio and scaled comboTimer I think 2014-07-05 16:07:34 -04:00
Garrett Finucane
d83b323e96 Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages
Conflicts:
	index.html
2014-07-05 15:47:48 -04:00
Garrett Finucane
6f445b1194 started audio playing 2014-07-05 15:47:14 -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
011aff0a82 misspelled messages 2014-07-05 10:00:36 -04:00
lengstrom
a1a1f7e953 fixed end game text 2014-07-05 09:57:51 -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
Garrett Finucane
ce39bdf5bd disabled click latency on mobile 2014-07-04 21:20:43 -04:00
Garrett Finucane
34b048838f new demo play 2014-07-04 21:14:39 -04:00
Garrett Finucane
c8829001ad fixed pausing Paused -> paused 2014-07-04 20:33:26 -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
b767e7bd16 Merge branch 'gh-pages' of https://github.com/teamsnowman/hextris into gh-pages 2014-07-04 16:43:01 -04:00
lengstrom
5e17b57fcb Fixed instruction text in mobile 2014-07-04 16:42:55 -04:00
Garrett Finucane
a24cd2819f added click for non mobile 2014-07-04 16:08:01 -04:00
Garrett Finucane
731c0184dc fixed blank thing 2014-07-04 16:04:16 -04:00
lengstrom
eaa47b2fd8 reduced difficulty for mobile 2014-07-04 15:05:38 -04:00
lengstrom
90de4a7b04 removed sample play at startup 2014-07-04 14:52:14 -04:00
lengstrom
320c1ad4a5 made time between combos relative to the time between waves 2014-07-04 14:45:05 -04:00
lengstrom
f81f05e347 fixed "press p to continue" text occurring in mobile browsers 2014-07-04 14:14:39 -04:00
Garrett Finucane
da2a4f3edf Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages
Conflicts:
	js/main.js
2014-07-04 13:24:08 -04:00
Garrett Finucane
9022ecb29b limited infinite speed rotations 2014-07-04 13:23:00 -04:00
lengstrom
75a103610f made combo / score text larger 2014-07-04 13:08:44 -04:00
Garrett Finucane
1309a1867a Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages
Conflicts:
	js/checking.js
2014-07-04 12:48:44 -04:00
Garrett Finucane
f03a822d52 clock to hex 2014-07-04 12:47:37 -04:00
lengstrom
ea2f8f0d3c removed merge files 2014-07-04 12:46:42 -04:00
lengstrom
88c1ac2607 fixed merge conflicts 2014-07-04 12:45:51 -04:00
Garrett Finucane
109edf092e Clock to Hex 2014-07-04 12:42:44 -04:00
lengstrom
55dcf3af02 replaced comboMultiplier -> comboTime 2014-07-04 12:42:22 -04:00
Garrett Finucane
1291e53d2a Fixed the small text 2014-07-04 09:46:14 -04:00
lengstrom
dfb5e5ef46 added custom fonts to Text() object 2014-07-03 19:07:51 -04:00
lengstrom
2b528bb592 Merge branch 'gh-pages' of https://github.com/teamsnowman/hextris into gh-pages 2014-07-03 18:25:30 -04:00
lengstrom
cb488e0425 fixed block initialization animation playing during pause 2014-07-03 18:25:15 -04:00
Garrett Finucane
604dc44acb fixed tiny text issue 2014-07-03 17:51:13 -04:00
lengstrom
4609a35332 Replaced raw unicode with String.fromCharCode() 2014-07-03 16:39:29 -04:00
lengstrom
3ae89724cb changed delay length 2014-07-03 16:31:45 -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
lengstrom
140f0614e9 added drawKey(key, x, y) to draw any key at any given (x,y) 2014-07-03 01:24:35 -04:00
lengstrom
a614f5aec7 Merge branch 'gh-pages' of https://github.com/teamsnowman/hextris into gh-pages 2014-07-02 23:51:43 -04:00
lengstrom
13caa4c48e removed entities.js from index.html 2014-07-02 23:51:34 -04:00
Garrett Finucane
bc864ea20a Fixed flickering after pause 2014-07-02 11:10:36 -04:00
Garrett Finucane
47664aa63c Title screen fades in and out 2014-07-02 10:58:02 -04:00
lengstrom
ae6ef6690a Merge branch 'gh-pages' of https://github.com/teamsnowman/hextris into gh-pages 2014-07-01 22:30:13 -04:00
lengstrom
8c4dd05427 standardized block fall speed on hexagon 2014-07-01 22:30:01 -04:00
Garrett Finucane
a231dd8a77 unhid all the buttons 2014-07-01 11:18:13 -04:00
Garrett Finucane
95c0816557 Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages 2014-07-01 11:03:06 -04:00
Garrett Finucane
352988ab4a no more -2 gameState 2014-07-01 11:02:52 -04:00
lengstrom
26260747ff Merge branch 'gh-pages' of https://github.com/teamsnowman/hextris into gh-pages 2014-06-30 22:45:14 -04:00
lengstrom
508002d16e fixed issue in which waves would restart after resuming the game 2014-06-30 22:45:00 -04:00
Garrett Finucane
d83d0c50be fixed clicking in hextris 2014-06-30 21:56:14 -04:00
Garrett Finucane
14e1f662cc new comboTimer 2014-06-30 21:31:54 -04:00
Garrett Finucane
9a3ac314c6 restart icon shown on resume 2014-06-30 13:34:55 -04:00
Garrett Finucane
ad48ad0a40 added restart button 2014-06-30 12:29:26 -04:00
Garrett Finucane
ea179a7292 Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages 2014-06-30 12:13:50 -04:00
Garrett Finucane
b2abf7dabd new combotimer 2014-06-30 12:13:21 -04:00
lengstrom
36ec1a9b64 Removed spacebar speedup 2014-06-29 14:35:10 -04:00
lengstrom
4297dffefa fixed bug in which pause btn didn't show up after resuming a game 2014-06-29 14:25:40 -04:00
lengstrom
a5fe95443f removed useless opacity settings 2014-06-28 15:33:31 -04:00
lengstrom
5004a5cf34 fixed demo level faultily calling the game over after start 2014-06-28 14:42:55 -04:00
lengstrom
13be0a5db8 reverted changes around transition from start screen -> gameplay 2014-06-28 14:34:30 -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
8ad952b379 fixed white gaps, added saveState to .unload handler 2014-06-28 12:01:41 -04:00
lengstrom
6304f410c9 fixed white gaps caused by constant, needless scaling during export 2014-06-28 11:57:22 -04:00
lengstrom
a7293a1d48 fixed start btn not starting saved games, removed useless debugging lines 2014-06-28 11:48:45 -04:00
lengstrom
2f2ad3b7ae fixed clicking on btn, started adding start->play transition anims 2014-06-28 11:24:47 -04:00
lengstrom
0a1925bc89 converted animLoop to a switch case 2014-06-27 22:15:16 -04:00
lengstrom
71dd048738 combo lines now match the faded blocks during menu screen play 2014-06-27 22:09:36 -04:00
lengstrom
57b6f21e89 converted completely to hex, added legacy support 2014-06-27 21:39:32 -04:00
lengstrom
38e417b704 fixed issues surrounding checking and faulty hex -> rgb translations 2014-06-27 21:31:59 -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
lengstrom
916cff498d fixed issue in which imported data would continue to play after startup and the hexagon would not be cleared 2014-06-26 22:19:41 -04:00
Garrett Finucane
28515ab67c moved incrementing MainClock.ct from render to update 2014-06-24 13:41:40 -04:00
Garrett Finucane
83152a24ea timer drawn beneath blocks and goes backwards 2014-06-24 13:22:47 -04:00
Garrett Finucane
fc426f46dc fixed the whole weird stuff 2014-06-24 13:16:46 -04:00
Garrett Finucane
4b434de3ef Line Wraps around now 2014-06-24 11:44:40 -04:00
Garrett Finucane
8a78a4e6c5 Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages 2014-06-24 10:53:53 -04:00
Garrett Finucane
1a8ee2388a boundary lines denote comboTimer 2014-06-24 10:53:26 -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
lengstrom
0715056fe0 fixed issue in which blocks were added twice (init was called twice) 2014-06-24 09:23:43 -04:00
Garrett Finucane
04c553d46d minor fixes 2014-06-24 00:15:03 -04:00
Garrett Finucane
48217a7940 falling blocks dont continue falling on refresh 2014-06-23 23:12:38 -04:00
Garrett Finucane
5b41abcb02 refreshing no longer clears at start 2014-06-23 22:31:25 -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
4936b76940 merged 2014-06-23 20:58:07 -04:00
lengstrom
b153107bdc added start screen 2014-06-23 20:55:04 -04:00
Garrett Finucane
5f25d1de37 re-whitened text 2014-06-23 20:18:32 -04:00
Garrett Finucane
b84e8c48f0 text inverts 2014-06-23 19:21:09 -04:00
Garrett Finucane
7b16ffc85a faded to immediate background 2014-06-23 18:47:29 -04:00
Garrett Finucane
6eb3d17f1c different timeout tone 2014-06-23 18:40:41 -04:00
Garrett Finucane
a5788fcc0c tints to show combo timeout 2014-06-23 18:35:28 -04:00
Garrett Finucane
55684e9abd added fading to denote combo timeout 2014-06-23 17:59:51 -04:00
Garrett Finucane
8637950d12 fixed importing 2014-06-23 15:46:14 -04:00
lengstrom
30260e25ef added intro.json 2014-06-23 15:31:48 -04:00
lengstrom
3fdde47bc9 updated settings for mobile version 2014-06-22 22:58:15 -04:00
lengstrom
a0f49f6040 reduced rate at which fading text is scaled relative to the size of hte canvas 2014-06-22 22:53:36 -04:00
lengstrom
03436dfe9f cleaned up some variable declarations 2014-06-22 16:52:51 -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
lengstrom
6c105fd460 fixed merge conflicts 2014-06-22 15:17:00 -04:00
lengstrom
e690de3251 removed for-in loops, fixed issue in which the text would fade/blur too fast 2014-06-22 15:16:28 -04:00
Garrett Finucane
ee27fb8a73 Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages 2014-06-22 13:25:33 -04:00
Garrett Finucane
921bb49023 no pausing at game over 2014-06-22 13:25:20 -04:00
lengstrom
91e89502aa removed for-in loops; cleaned up syntax 2014-06-22 12:49:27 -04:00
lengstrom
8cab632d4a fixed hexagon not being centered in the y axis during pauses 2014-06-22 12:32:23 -04:00
lengstrom
01c1e8c00e added scaling text, fits to y dimension; formatted js 2014-06-22 00:26:46 -04:00
Garrett Finucane
a9ac49e734 reworked endgame 2014-06-21 16:58:18 -04:00
Garrett Finucane
e07609fd48 now fancy blurs 2014-06-21 16:06:23 -04:00
lengstrom
936694355f reformatting 2014-06-04 14:33:40 -04:00
lengstrom
03b67f3f4b scaled difficulty, fixed issuei n which blocks don't fall after blocks below them are destroyed 2014-06-01 18:48:28 -04:00
lengstrom
2249b03cf1 raised difficulty 2014-05-31 22:32:02 -04:00
lengstrom
eefb0b6288 increased spawn time delta 2014-05-31 22:21:27 -04:00
lengstrom
ef4c496b44 lowered difficulty 2014-05-31 22:00:25 -04:00
lengstrom
1432a9ea8d raised difficulty 2014-05-31 21:56:52 -04:00
lengstrom
d18ce36bed lowered difficulty 2014-05-31 21:54:23 -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
269f79232f made spacebar pressing make blocks spawn twice as fast as well as go twice as fast 2014-05-31 15:32:01 -04:00
lengstrom
089a5029c6 changed magnitude to scale with the actual scale of the canvas, fixed fontawesome issues 2014-05-31 15:22:23 -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
f5c27aad26 fixed issues with savestate around rendering old text 2014-05-31 11:04:57 -04:00
lengstrom
8d1bc380d2 trying to fix issue around savestate 2014-05-31 10:55:36 -04:00