{"id":879,"date":"2023-01-16T15:01:38","date_gmt":"2023-01-16T15:01:38","guid":{"rendered":"http:\/\/mycours.es\/egd\/?page_id=879"},"modified":"2025-04-08T12:08:05","modified_gmt":"2025-04-08T12:08:05","slug":"resources-alteroid","status":"publish","type":"page","link":"https:\/\/mycours.es\/egd\/resources-alteroid\/","title":{"rendered":"Resources: Alteroid"},"content":{"rendered":"<p><a href=\"http:\/\/mycours.es\/egd\/files\/2023\/01\/Image-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-887\" src=\"http:\/\/mycours.es\/egd\/files\/2023\/01\/Image-3-1024x573.png\" alt=\"\" width=\"840\" height=\"470\" srcset=\"https:\/\/mycours.es\/egd\/files\/2023\/01\/Image-3-1024x573.png 1024w, https:\/\/mycours.es\/egd\/files\/2023\/01\/Image-3-300x168.png 300w, https:\/\/mycours.es\/egd\/files\/2023\/01\/Image-3-768x430.png 768w, https:\/\/mycours.es\/egd\/files\/2023\/01\/Image-3-1200x671.png 1200w, https:\/\/mycours.es\/egd\/files\/2023\/01\/Image-3.png 1432w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p><strong>The Asteroid template<br \/>\n<\/strong><a href=\"https:\/\/github.com\/molleindustria\/asteroids-unity\">https:\/\/github.com\/molleindustria\/asteroids-unity<\/a><\/p>\n<p><strong>The video tutorials<\/strong><\/p>\n<ul dir=\"auto\">\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=OKabhihxPXw\" rel=\"nofollow\"><strong>part 1 &#8211; project anatomy, Unity intro, game object, components, assets, prefabs<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=On_N27cRQt0\" rel=\"nofollow\"><strong>part 2 &#8211; scripting in Unity, controls, instantiation, components<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=DnOX7eGqPxI\" rel=\"nofollow\"><strong>part 3 &#8211; randomization, end condition, screen and camera, sound<\/strong><\/a><\/li>\n<\/ul>\n<h3>Assignment<\/h3>\n<p>Watch the 3 videos in their entirety (they are about 3 hours total) and familiarize with the code by incorporating as many of the following features:<\/p>\n<ul>\n<li>Tweak the ship controls to make them more &#8220;tight&#8221; and less prone to inertia like in this <a href=\"https:\/\/freeasteroids.org\/\">implementation\u00a0<\/a><\/li>\n<li>Make it so you can shoot by holding the button down but limit the rate of bullets so it doesn&#8217;t get too easy<\/li>\n<li>The game currently has a bug: the asteroids only split once instead of going through big, medium, and small sizes. Fix it (it just needs one inspector tweak).<\/li>\n<li>Reskin the game by replacing graphics, font, animations, effects, and sounds. Come up with a visually consistent style\/theme, eg: claymation, insects, pencil drawn etc&#8230;<\/li>\n<li>Implement a different kind of bullet that changes the asteroids clearing dynamic<\/li>\n<li>Implement a shield triggered by the &#8220;down&#8221; input that makes the ship invulnerable and able to destroy asteroids on contact. The shield has an energy that runs out in 2 seconds and takes about 20 seconds to recharge completely. Add a bar on the interface that visualizes the shield energy.<\/li>\n<li>Make the game two player, either competitive or cooperative, by tweaking input mapping, spawn points, and end conditions.<\/li>\n<li>Add a flying saucer like in this <a href=\"https:\/\/freeasteroids.org\/\">implementation\u00a0<\/a><\/li>\n<li>If you already have a gameplay variant that is easy to prototype, do it (you may want to create a copy of the project to be able to present the features above)<\/li>\n<\/ul>\n<p>Delivery: see if you can build it for WebGL and upload it somewhere so it can be played from the browser. Otherwise make a build that runs on your computer.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Asteroid template https:\/\/github.com\/molleindustria\/asteroids-unity The video tutorials part 1 &#8211; project anatomy, Unity intro, game object, components, assets, prefabs part 2 &#8211; scripting in Unity, controls, instantiation, components part 3 &#8211; randomization, end condition, screen and camera, sound Assignment Watch the 3 videos in their entirety (they are about 3 hours total) and familiarize with &hellip; <a href=\"https:\/\/mycours.es\/egd\/resources-alteroid\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Resources: Alteroid&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":11,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-879","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mycours.es\/egd\/wp-json\/wp\/v2\/pages\/879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mycours.es\/egd\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mycours.es\/egd\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mycours.es\/egd\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mycours.es\/egd\/wp-json\/wp\/v2\/comments?post=879"}],"version-history":[{"count":14,"href":"https:\/\/mycours.es\/egd\/wp-json\/wp\/v2\/pages\/879\/revisions"}],"predecessor-version":[{"id":1027,"href":"https:\/\/mycours.es\/egd\/wp-json\/wp\/v2\/pages\/879\/revisions\/1027"}],"wp:attachment":[{"href":"https:\/\/mycours.es\/egd\/wp-json\/wp\/v2\/media?parent=879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}