{"id":5741,"date":"2024-01-29T22:39:05","date_gmt":"2024-01-29T20:39:05","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5741"},"modified":"2024-01-30T15:54:28","modified_gmt":"2024-01-30T13:54:28","slug":"pong-wars-in-unity","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2024\/01\/29\/pong-wars-in-unity\/","title":{"rendered":"Pong-Wars in Unity"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1023\" height=\"631\" data-attachment-id=\"5743\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2024\/01\/29\/pong-wars-in-unity\/sspong2024-01-28_21-37-06-small\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?fit=1023%2C631&amp;ssl=1\" data-orig-size=\"1023,631\" 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;1&quot;}\" data-image-title=\"sspong2024-01-28_21-37-06-small\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?fit=300%2C185&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?fit=1023%2C631&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?resize=1023%2C631&#038;ssl=1\" alt=\"\" class=\"wp-image-5743\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?w=1023&amp;ssl=1 1023w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?resize=300%2C185&amp;ssl=1 300w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?resize=768%2C474&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<p>Converted this javascript thing into unity c#<br><a href=\"https:\/\/github.com\/vnglst\/pong-wars\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/vnglst\/pong-wars<\/a><br><br><strong>source code:<\/strong> *might have some bugs still (and not optimized at all).<br><a href=\"https:\/\/gist.github.com\/unitycoder\/a10c215ec9c477ff0e04c964dff3208f\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/gist.github.com\/unitycoder\/a10c215ec9c477ff0e04c964dff3208f<\/a><br><br><strong>usage:<\/strong><br>&#8211; attach script to Quad with Unlit material<br>&#8211; assign some soundclip or disable the audio in code<br><br><strong>making of video:<\/strong><br><a href=\"https:\/\/www.youtube.com\/watch?v=EP5QwyGdN70\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.youtube.com\/watch?v=EP5QwyGdN70<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converted this javascript thing into unity c#https:\/\/github.com\/vnglst\/pong-wars source code: *might have some bugs still (and not optimized at all).https:\/\/gist.github.com\/unitycoder\/a10c215ec9c477ff0e04c964dff3208f usage:&#8211; attach script to Quad with Unlit material&#8211; assign some soundclip or disable the audio in code making of video:https:\/\/www.youtube.com\/watch?v=EP5QwyGdN70<\/p>\n","protected":false},"author":1,"featured_media":5743,"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":false,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[546,1272,701],"class_list":["post-5741","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unity3d","tag-pixel","tag-pong","tag-texture2d"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/01\/sspong2024-01-28_21-37-06-small.jpg?fit=1023%2C631&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1uB","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5741","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=5741"}],"version-history":[{"count":5,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5741\/revisions"}],"predecessor-version":[{"id":5752,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5741\/revisions\/5752"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5743"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}