{"id":56,"date":"2023-12-04T16:10:02","date_gmt":"2023-12-04T16:10:02","guid":{"rendered":"https:\/\/blog.lit-up.io\/?p=56"},"modified":"2023-12-07T20:08:56","modified_gmt":"2023-12-07T20:08:56","slug":"simplified-controls","status":"publish","type":"post","link":"https:\/\/blog.lit-up.io\/index.php\/2023\/12\/04\/simplified-controls\/","title":{"rendered":"Simplified drop"},"content":{"rendered":"\n<p>One idea and challenge that I had was to make the games fast-natured, without relying on excessive gravity.<\/p>\n\n\n\n<p>I feel that a fast falling speed puts pressure on the player to make a decision and, while pro-players will be ok with it, new starters will surely struggle.<\/p>\n\n\n\n<p>Other games provide the possibility to hard-drop a piece, docking it into place right after the fall, or soft-drop &#8211; increase the pace of falling. But this introduces an issue &#8211; having docked pieces with spaces underneath will result in a time penalty because of being force to soft-drop to pad the gap, or continue the game without immediately completing the line.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"233\" height=\"158\" src=\"https:\/\/blog.lit-up.io\/wp-content\/uploads\/2023\/12\/piece-with-debt.png\" alt=\"\" class=\"wp-image-57\"\/><\/figure>\n\n\n\n<p>Also, there is also the challenge of being able to play accurately on mobile, where you can mostly use swipes and taps. So having 2 ways of dropping the piece could be cumbersome.<\/p>\n\n\n\n<p>To keep the game quick, I&#8217;ve decided introduce a hard drop, with the ability to move the piece for about 100ms, before it becomes fully docked. This allows you to fill the under-gaps quite quick after creating them, and stay in the game, even if you were forced to place a piece inaccurately. This is how it looks, if you press &#8220;down arrow&#8221; followed by &#8220;left&#8221; or &#8220;right&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Lit-up.io How drop and move works\" width=\"640\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/FxBUVe1a568?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>I&#8217;ve removed the &#8220;space&#8221; key for hard dropping, and relying only on &#8220;down-arrow&#8221;, but I&#8217;m pondering whether to add it back, with the same function as &#8220;down-arrow&#8221;, since many users might be used to it.<\/p>\n\n\n\n<p>For mobile, this effect is achieved by &#8220;swipe down&#8221; followed by quick left or right swipe.<\/p>\n\n\n\n<p>Let me know what you think, and if you miss hard and soft drops.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One idea and challenge that I had was to make the games fast-natured, without relying on excessive gravity. I feel that a fast falling speed puts pressure on the player to make a decision and, while pro-players will be ok with it, new starters will surely struggle. Other games provide the possibility to hard-drop a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-controls"],"_links":{"self":[{"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":4,"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":72,"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/posts\/56\/revisions\/72"}],"wp:attachment":[{"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lit-up.io\/index.php\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}