{"id":8311,"date":"2021-11-28T03:06:06","date_gmt":"2021-11-28T03:06:06","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=8311"},"modified":"2021-11-28T03:07:17","modified_gmt":"2021-11-28T03:07:17","slug":"solved-how-to-make-a-batch-game-have-movement","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/how-to-make-a-batch-game-have-movement\/29662.html","title":{"rendered":"Solved How To Make a Batch Game Have Movement"},"content":{"rendered":"<p>I know you have to make a grid and set x and y to something, but I don&#8217;t know how to do it.<br \/>\nI want to make a game that has an object bouncing off of the walls and a little platform that the player would control, and when the ball hits certain objects those objects will disappear and all that stuff. I&#8217;m really lost here and would greatly appreciate some help.<\/p>\n<p>I&#8217;m talking about a game like this:<\/p>\n<p>_________________<br \/>\n|&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.| The O would be the ball.<br \/>\n|&#8230;.###&#8230;&#8230;&#8230;&#8230;&#8230;..| and it would be able to<br \/>\n|&#8230;&#8230;#&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. | bounce off of the walls<br \/>\n|&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.| and break the objects<br \/>\n|&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.O&#8230;&#8230; | (#) when it hits them.<br \/>\n|&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.|<br \/>\n|&#8230;&#8230;&#8212;&#8212;&#8230;&#8230;&#8230;&#8230;&#8230;| &#8212;&#8212; = platform<br \/>\n|________________|<\/p>\n<p>&nbsp;<\/p>\n<p align=\"right\"><span style=\"font-size: xx-small;\"><i>message edited by Person23<\/i><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":4},"question-category":[55],"question_tags":[],"class_list":["post-8311","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/8311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=8311"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=8311"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=8311"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=8311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}