Commit graph

485 commits

Author SHA1 Message Date
lengstrom
a56f47c9b7 centered, resized canvas. made system to augment different aspects of the game for different devices. 2014-05-25 01:11:24 -04:00
garrettdreyfus
3c84813469 better scoring 2014-05-25 00:59:56 -04:00
garrettdreyfus
671ff6c0f2 added back the enter key 2014-05-25 00:44:25 -04:00
garrettdreyfus
31727a9f9e Merge branch 'master' of http://github.com/teamsnowman/hextris into gh-pages
Conflicts:
	js/main.js
2014-05-25 00:41:01 -04:00
garrettdreyfus
268d55db14 fixed checking 2014-05-25 00:39:23 -04:00
garrettdreyfus
ab2ca381b3 better input 2014-05-24 22:44:23 -04:00
lengstrom
7cb65b2d20 readded pausing onblur, removed debugger statements 2014-05-24 22:10:12 -04:00
lengstrom
047ca6833d removed false gameovers, added css for local fonts 2014-05-24 21:12:12 -04:00
lengstrom
9c5ed782eb changed ramping in difficulty 2014-05-24 19:50:57 -04:00
lengstrom
050cb49d21 fixed issues surrounding white blocks 2014-05-24 18:28:32 -04:00
lengstrom
c1ffee24c2 added ability to restart game at any time using enter, removed logging 2014-05-24 16:39:25 -04:00
lengstrom
78f020dd1b started to add ability to restart game at any time by pressing enter 2014-05-24 16:39:04 -04:00
lengstrom
cf574f8599 added ability to turn hexagon during startup 2014-05-24 16:35:32 -04:00
lengstrom
014b110321 fixed conflicts around input.js and pausing 2014-05-24 16:04:57 -04:00
lengstrom
0ce1d424b3 fixed speeding up used to create an additional concurrent game loop when enter was pressed 2014-05-24 16:02:14 -04:00
Michael Yang
f002726b23 hacky fix to drop blocks on gameover 2014-05-24 16:01:24 -04:00
Michael Yang
c981196677 ended spawning blocks on gameover 2014-05-24 15:59:13 -04:00
lengstrom
b2bb34bbfb set paused to always call requestAnimFrame 2014-05-24 15:56:29 -04:00
Michael Yang
81f04c93b5 Merge branch 'master' of https://github.com/teamsnowman/hextris 2014-05-24 15:52:38 -04:00
Michael Yang
071b072c7e center hex snaps on gameover 2014-05-24 15:52:25 -04:00
garrettdreyfus
8fe0c0f09b Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages 2014-05-24 15:51:32 -04:00
lengstrom
567f212f37 Merge branch 'master' of https://github.com/teamsnowman/wastedtime 2014-05-24 15:51:13 -04:00
garrettdreyfus
6ade58139f Merge branch 'master' of http://github.com/teamsnowman/hextris
Conflicts:
	js/main.js
2014-05-24 15:51:03 -04:00
garrettdreyfus
a5539ae7be deleting is back 2014-05-24 15:50:01 -04:00
lengstrom
635993dccb fixed block detection 2014-05-24 15:48:48 -04:00
lengstrom
41d37b24d7 removed debugger statements 2014-05-24 15:46:35 -04:00
Michael Yang
c11cd336fe fixed restart bug 2014-05-24 15:42:40 -04:00
lengstrom
dcf4a38dd8 made anim slower 2014-05-24 15:41:44 -04:00
lengstrom
36a1c2b924 boundary renders below hex 2014-05-24 15:39:27 -04:00
lengstrom
b02759df23 merged boundary systems 2014-05-24 15:37:21 -04:00
lengstrom
bd65f6da30 added new block initialization animation 2014-05-24 15:35:38 -04:00
garrettdreyfus
320ba2c046 outline 2014-05-24 15:31:57 -04:00
Michael Yang
b1a39795fa whoops, now properly merged 2014-05-24 15:10:28 -04:00
Michael Yang
82d4ab6f67 merge conflict resolved 2014-05-24 15:07:58 -04:00
Michael Yang
9c2abda142 improved drawPolygon, changed inner hex 2014-05-24 15:06:57 -04:00
garrettdreyfus
dc63b76cb3 Merge branch 'master' of http://github.com/teamsnowman/hextris
Conflicts:
	js/main.js
2014-05-24 14:53:22 -04:00
garrettdreyfus
2a3b9c08ac pauses when you leave the tab 2014-05-24 14:52:21 -04:00
lengstrom
d61f35e64d added fade in for hexagonal boundary 2014-05-24 14:41:14 -04:00
garrettdreyfus
a4ee273e8b Merge branch 'master' of http://github.com/teamsnowman/hextris 2014-05-24 14:38:36 -04:00
garrettdreyfus
626d0ca3ad not sure 2014-05-24 14:38:35 -04:00
Michael Yang
7a84ee597a Merge branch 'master' of https://github.com/teamsnowman/hextris 2014-05-24 14:37:55 -04:00
Michael Yang
f304010964 fixed height vs originalHeight drawing 2014-05-24 14:37:29 -04:00
garrettdreyfus
0641df1492 wavegen back to normal 2014-05-24 14:15:07 -04:00
garrettdreyfus
ece80f89b8 Merge branch 'master' of http://github.com/teamsnowman/hextris 2014-05-24 14:12:44 -04:00
garrettdreyfus
c464192afe blocks fade in on shoot 2014-05-24 14:12:33 -04:00
lengstrom
54c0d53a35 Merge branch 'master' of https://github.com/teamsnowman/wastedtime 2014-05-24 14:12:19 -04:00
lengstrom
af3bc9ce1b Merge branch 'gh-pages' 2014-05-24 14:12:13 -04:00
lengstrom
adac2c4425 fixed importing and exporting game data 2014-05-24 14:12:01 -04:00
garrettdreyfus
99fca37ea4 better boundry line 2014-05-24 14:08:40 -04:00
garrettdreyfus
0474c270cf pausing fixed 2014-05-24 13:59:01 -04:00
garrettdreyfus
5ff998146d no undefined colors 2014-05-24 13:56:41 -04:00
garrettdreyfus
7f969d2302 checking working again 2014-05-24 13:25:33 -04:00
garrettdreyfus
39cfa47837 blocks being generated no checking happening 2014-05-24 13:24:03 -04:00
garrettdreyfus
0b7e749d67 better modular arithmetic 2014-05-24 13:11:17 -04:00
lengstrom
d4314cca00 Merge branch 'gh-pages' of https://github.com/teamsnowman/wastedtime into gh-pages 2014-05-24 12:57:38 -04:00
lengstrom
ca8936e385 fixed pausing 2014-05-24 12:57:27 -04:00
garrettdreyfus
71eda56c77 thread safe(lol :)) light ui 2014-05-24 12:48:46 -04:00
lengstrom
01ac3a9553 fixed issues around blocks not revolving + updated generation mehcanics 2014-05-24 12:21:29 -04:00
lengstrom
f1ee299a16 made timing for wavegeneration iteration rather than time based 2014-05-24 12:09:46 -04:00
lengstrom
3c3dd63124 Merge branch 'master' into gh-pages 2014-05-23 23:28:44 -04:00
lengstrom
0e010bf3d5 generations of waves start at a faster speed but reach mins slower 2014-05-23 23:27:58 -04:00
lengstrom
869e37e100 made # of sides more dynamic 2014-05-23 22:46:01 -04:00
lengstrom
eac2ec4271 added more variety in block generation 2014-05-23 22:41:55 -04:00
garrettdreyfus
4774b021d1 less consolidateBlocks 2014-05-23 21:36:59 -04:00
lengstrom
2782e1b401 changed randomGEneration function to have faster rampup, longer amount of time in the more fun zone 2014-05-23 20:49:57 -04:00
lengstrom
63dbd47ee7 added beginnings of new wave system 2014-05-23 20:23:31 -04:00
lengstrom
2a56b01c0b added bouncing anim v2 2014-05-23 16:50:18 -04:00
lengstrom
163f0570a4 added new startanim 2014-05-23 16:13:28 -04:00
Noah Moroze
f943487d1f Properly set default highscores 2014-05-23 13:01:51 -04:00
Michael Yang
2c5dd782a8 added localStorage highscores 2014-05-23 01:51:16 -04:00
Michael Yang
b0868afc1b added high score displaying 2014-05-23 01:10:12 -04:00
Michael Yang
cbcd95b85b added navbar, added pausing, changed score rendering 2014-05-23 00:51:03 -04:00
lengstrom
13b51a61a6 added analytics v2 2014-05-22 21:06:52 -04:00
garrettdreyfus
b0cb91272c Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris 2014-05-22 20:44:25 -04:00
garrettdreyfus
af167cf28f faster fade 2014-05-22 20:44:14 -04:00
Noah Moroze
4dcd2a3508 Removed space-to-speed-up until we figure out an alternative 2014-05-22 20:36:48 -04:00
lengstrom
9481fb277c added new waves system, starting to redo start screen 2014-05-22 20:22:20 -04:00
lengstrom
49f149ae5b merged 2014-05-22 19:32:58 -04:00
lengstrom
07c19ca2bb added more extensive shaking + cleaned up some code 2014-05-22 19:30:40 -04:00
garrettdreyfus
82c03cbb99 fixed scoring 2014-05-22 19:30:01 -04:00
garrettdreyfus
542f3bed67 no more disappearing blocks 2014-05-22 19:08:08 -04:00
lengstrom
fd5af81e17 added shaking when the hexagon is hit by blocks 2014-05-22 19:01:39 -04:00
lengstrom
a740f1b60d added recording system 2014-05-22 17:04:57 -04:00
lengstrom
62326305f1 merged 2014-05-22 16:38:32 -04:00
lengstrom
6a6eceec06 added import/export system 2014-05-22 16:36:32 -04:00
Garrett Finucane
ade0eaca68 fixed combos and added wavegen 2014-05-22 15:42:05 -04:00
Garrett Finucane
283cbbe281 minor fixes wavegen a thing now 2014-05-22 15:29:35 -04:00
Garrett Finucane
1079b91329 added combo detecting 2014-05-22 14:19:58 -04:00
Garrett Finucane
8c85aa684a got rid of cruft 2014-05-22 13:53:24 -04:00
lengstrom
ed81b5fca9 fixed falling mechanics, tint and opacity no longer conflict 2014-05-22 13:26:44 -04:00
lengstrom
71ebf63215 now, only blocks that need to fall go into a state of falling after
blocks below them are destroyed
2014-05-22 13:10:26 -04:00
lengstrom
e805ea7230 blocks now fade out based on their opacity before being destroyed 2014-05-22 13:01:39 -04:00
lengstrom
5ffff58acc added opacity / tint properties 2014-05-21 18:39:02 -04:00
lengstrom
6164ef001d removed innerhtml scoring statement 2014-05-21 17:44:34 -04:00
lengstrom
04be3e6433 removed useless translation + did some jslinting 2014-05-21 17:41:18 -04:00
lengstrom
03368ec4b5 Merge branch 'master' into gh-pages 2014-05-21 17:39:49 -04:00
Michael Yang
4e88f3e5ce fixed merge conflicts 2014-05-21 17:31:19 -04:00
Michael Yang
846a850c2d changed shadow to gradient 2014-05-21 17:18:18 -04:00
garrettdreyfus
e6b6b6664a Merge branch 'master' of http://github.com/teamsnowman/hextris into gh-pages
Conflicts:
	js/checking.js
2014-05-20 22:39:03 -04:00
garrettdreyfus
1d6045c19d NO LAG ctx.shadowBlur=25 2014-05-20 22:33:50 -04:00
Noah Moroze
f04b75a312 Got rid of extraneous debugger call 2014-05-20 20:39:19 -04:00
Noah Moroze
8a7ff8d9ad Merge branch 'master' of https://github.com/teamsnowman/hextris 2014-05-20 20:33:51 -04:00
Noah Moroze
5e3af346bd Render score on canvas for better performance 2014-05-20 20:33:44 -04:00
Garrett Finucane
03a3df032d Delete hey.js 2014-05-20 19:56:58 -04:00
garrettdreyfus
dade745ef6 no debugger 2014-05-20 17:52:57 -04:00
garrettdreyfus
491a0cc1dc no diagonals for real 2014-05-20 17:09:39 -04:00
garrettdreyfus
a113cf15bf no diagonals 2014-05-20 16:59:58 -04:00
garrettdreyfus
06d328372c Merge branch 'master' of http://github.com/teamsnowman/hextris into newFlow
Conflicts:
	js/checking.js
	js/entities.js
2014-05-20 16:50:21 -04:00
garrettdreyfus
3d415cae05 Mark and sweep ftw 2014-05-20 16:48:11 -04:00
lhs local
efbfbe18b0 kinda working 2014-05-20 14:34:02 -04:00
Noah Moroze
13e417bf5b Split loop into game update and render, separated graphics-related code 2014-05-20 08:30:14 -04:00
Noah Moroze
716234ece2 Fixed boundary hexagon 2014-05-20 08:05:21 -04:00
garrettdreyfus
be3b296334 spiral shooting 2014-05-20 07:13:32 -04:00
Garrett Finucane
e711fce7e7 better sounds two at a time 2014-05-19 22:28:27 -04:00
Michael Yang
d078dbd72d Merge branch 'master' of https://github.com/teamsnowman/wastedtime 2014-05-19 22:17:06 -04:00
Michael Yang
d04972140a added shadows 2014-05-19 22:16:43 -04:00
lengstrom
6d260ae38a made blocks smaller. still have to update the boundary to reflect this. 2014-05-19 21:52:31 -04:00
lengstrom
07c5a18ddb (hopefully) made canvas lines crisper 2014-05-19 21:21:16 -04:00
Garrett Finucane
9663294e1e why you no work 2014-05-19 20:47:19 -04:00
lengstrom
4ca5d26df8 made keys fire on keydown rather than keyup 2014-05-19 17:07:18 -04:00
lengstrom
f3fd1afc07 fixed white gaps + added gravity back in 2014-05-19 16:36:28 -04:00
lengstrom
c9dbd9c403 Merge branch 'master' of https://github.com/teamsnowman/wastedtime 2014-05-19 16:31:24 -04:00
Garrett Finucane
2b41ef77be always use var kids 2014-05-19 16:27:50 -04:00
lengstrom
c5dfd749c1 added index 2014-05-19 16:22:30 -04:00
lengstrom
3eea6af2a4 added angular velocity 2014-05-19 15:49:05 -04:00
Garrett Finucane
676dfe1e57 Merge branch 'master' of http://github.com/teamsnowman/hextris 2014-05-19 13:25:31 -04:00
Garrett Finucane
310e907b83 some nice sounds 2014-05-19 13:25:20 -04:00
Noah Moroze
0558ba2193 Added rotation animation for hexagon 2014-05-19 13:18:49 -04:00
Garrett Finucane
6e9d12b94f Fixed checking as far as I can tell 2014-05-19 10:36:13 -04:00
Garrett Finucane
d4edd7399a more sensible timing 2014-05-18 23:35:11 -04:00
Garrett Finucane
20765f1032 more sensoble timing 2014-05-18 23:34:05 -04:00
Noah Moroze
bc322f2dfb Fixed the WHITTEEEE GAPS 2014-05-18 23:14:55 -04:00
Mathew Huusko V
addfc956db Support retina displays (multiple X rendering) 2014-05-18 14:48:50 -04:00
Mathew Huusko V
66eba573d1 Some simple reformatting, fix a couple linting errors 2014-05-18 14:15:13 -04:00
Mathew Huusko V
8f3d2e3797 Organize project slightly, clean html 2014-05-18 14:12:33 -04:00