{"id":311,"date":"2024-06-07T09:46:30","date_gmt":"2024-06-07T09:46:30","guid":{"rendered":"https:\/\/alfredlofving.com\/?page_id=311"},"modified":"2024-06-07T10:12:46","modified_gmt":"2024-06-07T10:12:46","slug":"box-game","status":"publish","type":"page","link":"https:\/\/alfredlofving.com\/index.php\/box-game\/","title":{"rendered":"Box Game"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"311\" class=\"elementor elementor-311\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b3fdf2a e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"b3fdf2a\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-069ec63 elementor-widget elementor-widget-image\" data-id=\"069ec63\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.21.0 - 26-05-2024 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"992\" height=\"350\" src=\"https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Box-Game-Top-Header.jpg\" class=\"attachment-full size-full wp-image-16\" alt=\"\" srcset=\"https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Box-Game-Top-Header.jpg 992w, https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Box-Game-Top-Header-300x106.jpg 300w, https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Box-Game-Top-Header-768x271.jpg 768w\" sizes=\"(max-width: 992px) 100vw, 992px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-9370fd9 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"9370fd9\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cf35ae8 elementor-widget elementor-widget-text-editor\" data-id=\"cf35ae8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.21.0 - 26-05-2024 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<h2>Description<\/h2>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-84e1608 elementor-widget elementor-widget-text-editor\" data-id=\"84e1608\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2 style=\"font-family: Roboto, sans-serif; color: rgb(52, 218, 0);\">Video walkthrough<\/h2>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-0848981 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"0848981\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-44136bd e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"44136bd\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-df39ed6 elementor-widget elementor-widget-text-editor\" data-id=\"df39ed6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><span style=\"color: #ffffff;\">Box Game is a 2D Platformer prototype I created in Unity on my own in two weeks. It features fast-paced gameplay and is designed around its central and empowering mechanic &#8211; Blink.<\/span><\/p><p><span style=\"color: #ffffff;\">The player can move, double jump, swing a sword, and most importantly use &#8220;blink&#8221; to teleport a short distance forward. The goal is to reach the end of the level while avoiding or defeating enemies and collecting stars along the way.<\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-06a1e3e elementor-widget elementor-widget-video\" data-id=\"06a1e3e\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=YPrvohDmzf0&quot;,&quot;autoplay&quot;:&quot;yes&quot;,&quot;mute&quot;:&quot;yes&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.21.0 - 26-05-2024 *\/\n.elementor-widget-video .elementor-widget-container{overflow:hidden;transform:translateZ(0)}.elementor-widget-video .elementor-wrapper{aspect-ratio:var(--video-aspect-ratio)}.elementor-widget-video .elementor-wrapper iframe,.elementor-widget-video .elementor-wrapper video{height:100%;width:100%;display:flex;border:none;background-color:#000}@supports not (aspect-ratio:1\/1){.elementor-widget-video .elementor-wrapper{position:relative;overflow:hidden;height:0;padding-bottom:calc(100% \/ var(--video-aspect-ratio))}.elementor-widget-video .elementor-wrapper iframe,.elementor-widget-video .elementor-wrapper video{position:absolute;top:0;right:0;bottom:0;left:0}}.elementor-widget-video .elementor-open-inline .elementor-custom-embed-image-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:50%}.elementor-widget-video .elementor-custom-embed-image-overlay{cursor:pointer;text-align:center}.elementor-widget-video .elementor-custom-embed-image-overlay:hover .elementor-custom-embed-play i{opacity:1}.elementor-widget-video .elementor-custom-embed-image-overlay img{display:block;width:100%;aspect-ratio:var(--video-aspect-ratio);-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center}@supports not (aspect-ratio:1\/1){.elementor-widget-video .elementor-custom-embed-image-overlay{position:relative;overflow:hidden;height:0;padding-bottom:calc(100% \/ var(--video-aspect-ratio))}.elementor-widget-video .elementor-custom-embed-image-overlay img{position:absolute;top:0;right:0;bottom:0;left:0}}.elementor-widget-video .e-hosted-video .elementor-video{-o-object-fit:cover;object-fit:cover}.e-con-inner>.elementor-widget-video,.e-con>.elementor-widget-video{width:var(--container-widget-width);--flex-grow:var(--container-widget-flex-grow)}<\/style>\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-bfa7a63 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"bfa7a63\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e9bd0fb elementor-widget elementor-widget-text-editor\" data-id=\"e9bd0fb\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2 style=\"font-family: Roboto, sans-serif; color: #34da00;\">Blink<\/h2>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-f5a4522 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"f5a4522\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a1d775b elementor-widget elementor-widget-text-editor\" data-id=\"a1d775b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Blink teleports the player forwards, to the point indicated by the small, black dot. It can be used to get to the other side of walls,\u00a0 clear difficult jumps, or just to get to where you&#8217;re going a lot faster.<\/p><p>When used, blink freezes the player&#8217;s position for a very brief moment (even in mid-air) to create anticipation, and to give the player a better sense of their timing. At the same time, a worm hole-like particle effect is created before teleporting the player forwards. Upon arrival, another particle effect creates the effect of the box character having teleported at the speed of light. The camera moving\u00a0 quickly towards the player&#8217;s new position enhances the effect and adds to the sense of speed.<\/p><p>Blink can be used at any time and has a very short cooldown time, indicated by the box character&#8217;s &#8220;nose&#8221; turning red when the ability is charging.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-77447fd elementor-widget elementor-widget-image\" data-id=\"77447fd\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"485\" height=\"317\" src=\"https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Blink.gif\" class=\"attachment-large size-large wp-image-317\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-731b0c5 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"731b0c5\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b3f12a1 elementor-widget elementor-widget-text-editor\" data-id=\"b3f12a1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2 style=\"font-family: Roboto, sans-serif; color: #34da00;\">Jump<\/h2>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c33a7b7 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"c33a7b7\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cb6b46b elementor-widget elementor-widget-text-editor\" data-id=\"cb6b46b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>The game&#8217;s gravity is very high to increase the\u00a0 speed of the gameplay, the tension of its verticality, and the difficulty of the platforming. The blink\u00a0 mechanic is very useful because of the high gravity and makes it not only easier but also more rewarding to clear certain gaps and obstacles.<\/p><p>Because jumping is faster and more difficult than in most platformers I decided to clearly communicate the amount of jumps the player has left on their disposal. The cube&#8217;s main body changes color from green to blue when the player jumps once, and from blue to gray when jumping in mid-air.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-744fc4f elementor-widget elementor-widget-image\" data-id=\"744fc4f\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"485\" height=\"317\" src=\"https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Jumping.gif\" class=\"attachment-large size-large wp-image-318\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-e0d6781 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"e0d6781\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1454f20 elementor-widget elementor-widget-text-editor\" data-id=\"1454f20\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2 style=\"font-family: Roboto, sans-serif; color: #34da00;\">Melee attack<\/h2>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-04e58c5 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"04e58c5\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7aa24fb elementor-widget elementor-widget-text-editor\" data-id=\"7aa24fb\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>The melee attack is an instantaneous sword swing reaching a short distance forward. In line with the high gravity and already fast gameplay, I wanted this attack to feel like a super fast assassination sword stab that the player can use just as fast as they can click.<\/p><p>Its short distance makes it necessary to get very close to enemies in order to hit them, promoting heavy use of the game&#8217;s movement mechanics in order to defeat enemies.\u00a0 It\u00a0 has no cooldown other than only being usable once per frame, which makes it very fast and very easy to use.<\/p><p>\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6085243 elementor-widget elementor-widget-image\" data-id=\"6085243\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"317\" src=\"https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Melee-attack.gif\" class=\"attachment-large size-large wp-image-319\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b518117 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"b518117\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4546753 elementor-widget elementor-widget-text-editor\" data-id=\"4546753\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2 style=\"font-family: Roboto, sans-serif; color: #34da00;\">Blink + jump<\/h2>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-0832936 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"0832936\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c67301a elementor-widget elementor-widget-text-editor\" data-id=\"c67301a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Combining blink with jumping is what makes traversing the game fast and fun. Blink also makes it possible for the game to feature brief puzzle-platformer segments.<\/p><p>For instance, in this area of the game, blinking and double jumping has to be used in the right order to get to the star. Since the player can not get past the wall without blinking first, they have to use their first jump to gain height, blink past the wall, and finally use their double jump to reach the next platform.<\/p><p>\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-88b4928 elementor-widget elementor-widget-image\" data-id=\"88b4928\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"317\" src=\"https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Blink-Jumping.gif\" class=\"attachment-large size-large wp-image-315\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-950700b e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"950700b\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f300849 elementor-widget elementor-widget-text-editor\" data-id=\"f300849\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2 style=\"font-family: Roboto, sans-serif; color: #34da00;\">Blink + melee attack<\/h2>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-0d7f9a1 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"0d7f9a1\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-70a5a7d elementor-widget elementor-widget-text-editor\" data-id=\"70a5a7d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Blink is a great tool when engaging enemies as it can be used both offensively and defensively.\u00a0<\/p><p>\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-208144b elementor-widget elementor-widget-image\" data-id=\"208144b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"317\" src=\"https:\/\/alfredlofving.com\/wp-content\/uploads\/2024\/06\/Blink-Melee-attack.gif\" class=\"attachment-large size-large wp-image-316\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ffd4867 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"ffd4867\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-12c8e6d elementor-widget elementor-widget-spacer\" data-id=\"12c8e6d\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.21.0 - 26-05-2024 *\/\n.elementor-column .elementor-spacer-inner{height:var(--spacer-size)}.e-con{--container-widget-width:100%}.e-con-inner>.elementor-widget-spacer,.e-con>.elementor-widget-spacer{width:var(--container-widget-width,var(--spacer-size));--align-self:var(--container-widget-align-self,initial);--flex-shrink:0}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container,.e-con>.elementor-widget-spacer>.elementor-widget-container{height:100%;width:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer{height:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner{height:var(--container-widget-height,var(--spacer-size))}.e-con-inner>.elementor-widget-spacer.elementor-widget-empty,.e-con>.elementor-widget-spacer.elementor-widget-empty{position:relative;min-height:22px;min-width:22px}.e-con-inner>.elementor-widget-spacer.elementor-widget-empty .elementor-widget-empty-icon,.e-con>.elementor-widget-spacer.elementor-widget-empty .elementor-widget-empty-icon{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;padding:0;width:22px;height:22px}<\/style>\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Description Video walkthrough Box Game is a 2D Platformer prototype I created in Unity on my own in two weeks. It features fast-paced gameplay and is designed around its central and empowering mechanic &#8211; Blink. The player can move, double jump, swing a sword, and most importantly use &#8220;blink&#8221; to teleport a short distance forward. The goal is to reach the end of the level while avoiding or defeating enemies and collecting stars along the way. https:\/\/www.youtube.com\/watch?v=YPrvohDmzf0 Blink Blink teleports the player forwards, to the point indicated by the small, black dot. It can be used to get to the other side of walls,\u00a0 clear difficult jumps, or just to get to where you&#8217;re going a lot faster. When used, blink freezes the player&#8217;s position for a very brief moment (even in mid-air) to create anticipation, and to give the player a better sense of their timing. At the same time, a worm hole-like particle effect is created before teleporting the player forwards. Upon arrival, another particle effect creates the effect of the box character having teleported at the speed of light. The camera moving\u00a0 quickly towards the player&#8217;s new position enhances the effect and adds to the sense of speed. Blink can be used at any time and has a very short cooldown time, indicated by the box character&#8217;s &#8220;nose&#8221; turning red when the ability is charging. Jump The game&#8217;s gravity is very high to increase the\u00a0 speed of the gameplay, the tension of its verticality, and the difficulty of the platforming. The blink\u00a0 mechanic is very useful because of the high gravity and makes it not only easier but also more rewarding to clear certain gaps and obstacles. Because jumping is faster and more difficult than in most platformers I decided to clearly communicate the amount of jumps the player has left on their disposal. The cube&#8217;s main body changes color from green to blue when the player jumps once, and from blue to gray when jumping in mid-air. Melee attack The melee attack is an instantaneous sword swing reaching a short distance forward. In line with the high gravity and already fast gameplay, I wanted this attack to feel like a super fast assassination sword stab that the player can use just as fast as they can click. Its short distance makes it necessary to get very close to enemies in order to hit them, promoting heavy use of the game&#8217;s movement mechanics in order to defeat enemies.\u00a0 It\u00a0 has no cooldown other than only being usable once per frame, which makes it very fast and very easy to use. \u00a0 Blink + jump Combining blink with jumping is what makes traversing the game fast and fun. Blink also makes it possible for the game to feature brief puzzle-platformer segments. For instance, in this area of the game, blinking and double jumping has to be used in the right order to get to the star. Since the player can not get past the wall without blinking first, they have to use their first jump to gain height, blink past the wall, and finally use their double jump to reach the next platform. \u00a0 Blink + melee attack Blink is a great tool when engaging enemies as it can be used both offensively and defensively.\u00a0 \u00a0<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/alfredlofving.com\/index.php\/wp-json\/wp\/v2\/pages\/311"}],"collection":[{"href":"https:\/\/alfredlofving.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/alfredlofving.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/alfredlofving.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alfredlofving.com\/index.php\/wp-json\/wp\/v2\/comments?post=311"}],"version-history":[{"count":25,"href":"https:\/\/alfredlofving.com\/index.php\/wp-json\/wp\/v2\/pages\/311\/revisions"}],"predecessor-version":[{"id":343,"href":"https:\/\/alfredlofving.com\/index.php\/wp-json\/wp\/v2\/pages\/311\/revisions\/343"}],"wp:attachment":[{"href":"https:\/\/alfredlofving.com\/index.php\/wp-json\/wp\/v2\/media?parent=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}