{"id":204,"date":"2015-06-17T02:27:33","date_gmt":"2015-06-16T23:27:33","guid":{"rendered":"http:\/\/headbangames.com\/devblog\/?p=204"},"modified":"2018-06-07T15:50:59","modified_gmt":"2018-06-07T15:50:59","slug":"devblog-part-9-a-new-alpha-version-with-some-new-cool-stuff","status":"publish","type":"post","link":"https:\/\/headbangames.com\/devblog\/devblog-part-9-a-new-alpha-version-with-some-new-cool-stuff\/","title":{"rendered":"Devblog part #9 \u2013 A new alpha version with some new cool stuff"},"content":{"rendered":"<p>Bad Pad &#8211; Alpha version 0.2 has been released today!<\/p>\n<p>There are now 39 levels to play, the new levels incorporate most of the platforms and game mechanics mentioned in my previous posts.<\/p>\n<p>Remember you can now swim in some area, swim up with the JUMP\u00a0button, swim down with the DOWN\u00a0arrow, obviously you can swim left and right and you can also swim faster with the RUN\u00a0button held down.<\/p>\n<p>You will also need to use the bash drop on one level, this is done by holding the DOWN key while jumping or falling then pressing the JUMP button.<\/p>\n<p>And now for the new stuff, level 39 is a new boss level, on this level I used a completely different system of controls and level design, on all the previous levels I had built the layout in advance and the player is moving around it, like in this screenshot<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/headbangames.com\/devblog\/wp-content\/uploads\/2015\/06\/screen4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-153\" src=\"https:\/\/i0.wp.com\/headbangames.com\/devblog\/wp-content\/uploads\/2015\/06\/screen4.png?resize=300%2C102\" alt=\"screen4\" width=\"300\" height=\"102\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Level 39 is built more like a mobile run game with an infinite layout, first lets take a look on how the layout really looks like.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/headbangames.com\/devblog\/wp-content\/uploads\/2015\/06\/endlessLevel.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-212\" src=\"https:\/\/i0.wp.com\/headbangames.com\/devblog\/wp-content\/uploads\/2015\/06\/endlessLevel.png?resize=300%2C58\" alt=\"endlessLevel\" width=\"300\" height=\"58\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>So, we basically have 1 layout in the size of the whole screen and it is duplicated 3 times, the character\u00a0is always in the center of the screen on the X axis and instead I am moving everything else to the left or right, this gives the feeling that the character\u00a0is moving around the level.<\/p>\n<p>Now lets say you move right, then what I am really doing is moving all the background to the left, so you&#8217;re walking from layout 1 into layout 3, once you reach layout 3 I take layout 2 in place it to the right of layout 3 creating an endless loop, I do the same when you walk to the other direction and this is how it looks like.<\/p>\n<div style=\"width: 476px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-204-1\" width=\"476\" height=\"256\" loop preload=\"auto\" controls=\"controls\"><source type=\"video\/mp4\" src=\"http:\/\/headbangames.com\/devblog\/wp-content\/uploads\/2015\/06\/endless.mp4?_=1\" \/><a href=\"http:\/\/headbangames.com\/devblog\/wp-content\/uploads\/2015\/06\/endless.mp4\">http:\/\/headbangames.com\/devblog\/wp-content\/uploads\/2015\/06\/endless.mp4<\/a><\/video><\/div>\n<p>Try it yourself on level 39!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bad Pad &#8211; Alpha version 0.2 has been released today! There are now 39 levels to play, the new levels incorporate most of the platforms and game mechanics mentioned in my previous posts. Remember you can now swim in some area, swim up with the JUMP\u00a0button, swim down with the DOWN\u00a0arrow, obviously you can swim &hellip; <a href=\"https:\/\/headbangames.com\/devblog\/devblog-part-9-a-new-alpha-version-with-some-new-cool-stuff\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Devblog part #9 \u2013 A new alpha version with some new cool stuff&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1437,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/headbangames.com\/devblog\/wp-content\/uploads\/promo-copy.png?fit=1920%2C1080&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7AvTt-3i","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":3,"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":57798,"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/posts\/204\/revisions\/57798"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/media\/1437"}],"wp:attachment":[{"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/headbangames.com\/devblog\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}