{"id":5253,"date":"2020-05-19T18:40:08","date_gmt":"2020-05-19T15:40:08","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5253"},"modified":"2020-05-19T18:40:08","modified_gmt":"2020-05-19T15:40:08","slug":"sources-unfinished-2d-snooker-test","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2020\/05\/19\/sources-unfinished-2d-snooker-test\/","title":{"rendered":"[Sources] Unfinished 2D Snooker test"},"content":{"rendered":"\n<p>Uploaded sources for this old unfinished 2D pool scene. Its using <a rel=\"noreferrer noopener\" aria-label=\"GL extension (opens in a new tab)\" href=\"https:\/\/forum.unity.com\/threads\/drawline-with-gl.235793\/\" target=\"_blank\">GL extension<\/a> to draw &#8220;debug&#8221; lines (works in runtime also) , and 2D circlecast to find predicted collision lines.<\/p>\n\n\n\n<p><strong>Sources:<\/strong><br><a href=\"https:\/\/github.com\/unitycoder\/Snooker2D\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/github.com\/unitycoder\/Snooker2D (opens in a new tab)\">https:\/\/github.com\/unitycoder\/Snooker2D<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"476\" data-attachment-id=\"5254\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2020\/05\/19\/sources-unfinished-2d-snooker-test\/snooker2d\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/05\/snooker2d.gif?fit=800%2C476&amp;ssl=1\" data-orig-size=\"800,476\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"snooker2d\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/05\/snooker2d.gif?fit=800%2C476&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/05\/snooker2d.gif?resize=800%2C476&#038;ssl=1\" alt=\"\" class=\"wp-image-5254\"\/><figcaption>unity snooker \/ pool 2D test<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uploaded sources for this old unfinished 2D pool scene. Its using GL extension to draw &#8220;debug&#8221; lines (works in runtime also) , and 2D circlecast to find predicted collision lines. Sources:https:\/\/github.com\/unitycoder\/Snooker2D<\/p>\n","protected":false},"author":1,"featured_media":5254,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[613,660],"tags":[65,106,1177,1176],"class_list":["post-5253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-games","category-opensource","tag-2d","tag-game","tag-pool","tag-snooker"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/05\/snooker2d.gif?fit=800%2C476&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1mJ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=5253"}],"version-history":[{"count":1,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5253\/revisions"}],"predecessor-version":[{"id":5255,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5253\/revisions\/5255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5254"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}