{"id":123,"date":"2018-04-20T20:04:38","date_gmt":"2018-04-20T20:04:38","guid":{"rendered":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/?p=123"},"modified":"2018-05-03T00:48:22","modified_gmt":"2018-05-03T00:48:22","slug":"weekly-blog-post-week-13-leading-up-to-softs","status":"publish","type":"post","link":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/?p=123","title":{"rendered":"Weekly Blog Post: Week 13 &#8211; Leading up to Softs"},"content":{"rendered":"<p>This week has seen a lot of progress as parts of the game that have been in the making started to come together. We had improvements to our movement system, UI, implementation of the defense system, multi-ship fleets and new paint jobs.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Movement:<\/strong><\/p>\n<p>In our previous movement build we had the ability to select a ship, drag a ghostly projection where you want your ship to go. Unfortunately, there was no restriction implemented yet to where you could fly in a given turn. This week we added movement cones, that expand ahead of your ships, constraining your new position to the volume inside. When you try to drag the projection outside the reachable area the ship stops at the edge and can be picked up and adjusted again. In addition, while adjusting the projection, the player has 3 sliders onscreen to make fine adjustments to pitch, yaw and roll.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>UI:<\/strong><\/p>\n<p>Previously, our UI flow has been that the designer creates guides and mockups and the programmers implement them. This week the UI designer learned how to put screens and buttons into Unity himself and the programmers hooked up scripts to them afterwards. This way, the programmers could spend more of their time building and debugging and the designer could make sure things looked just right.<\/p>\n<p>Our new UI uses Unity\u2019s animator system to make buttons flash when pressed and grey out when not selectable which is important to let players know which actions they can and can\u2019t take in their current situation. We also added a more consistent layout. The top color bar lets players know whether they are in movement phase or action phase and whose turn it is. Below that is always instruction text for the player\u2019s current situation.<\/p>\n<p>We also added mode select buttons at the bottom edge of the screen. During the action phase, whether it\u2019s your turn or not you can switch between viewing the action menu, the AR view and your ship\u2019s status readout (which shows your health, shields and cargo hold).<\/p>\n<p>Another nice usability fix is the addition of faction logos on the ground plane beneath the ships. These are connected to the ship with a visible vertical line, making it easier to find and identify your own ships in the space.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Defending<\/strong><\/p>\n<p>We now have the \u201cdefend\u201d action in the game. This raises your ship\u2019s shields to protect your ship from attack. Each ship has different angles of shield coverage and different shield strengths. Any incoming shot that hits the shield panels deals damage to a separate shield health bar instead of the ship. Once shields are depleted you can take an action to raise them again.<\/p>\n<p>Since shields are activated from the action menu, we added a popup to give players feedback when their shields activate. We used the same template to add popups when cargo is gathered.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>New Map<\/strong><\/p>\n<p>Previously, we had a map with several planets and space stations with asteroids scattered all between on a horizontal plane. We revisited this with an eye toward encouraging good player vs. player moments. Our new map puts a planet in the center, surrounded by 4 loops of asteroids equidistant between the player starting points, with a space station at the outer edge of each loop. We also redesigned the asteroid models to look like they were laced with shining gold.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3-ship fleets<\/strong><\/p>\n<p>Maybe the biggest change is something we\u2019ve been planning for a long time and only now have brought into the game. Each player now controls a fleet of three ships. During the movement phase you can project the courses of your ships in any order, then see them all fly at once. In the action phase players first select the ship then choose an action for it to complete. Play passes back and forth between players until each ship has taken 1 action, then players go back to the movement phase.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>6 ship designs in the game<\/strong><\/p>\n<p><strong>New paint jobs<\/strong><\/p>\n<p>The 6 ships that we\u2019ve been designing are now in the game. To accomplish this, we created a better pipeline. The designers balance the ships\u2019 qualities, stats and arcs in an excel \u00a0spreadsheet, which exports a data file of all the variables for Unity to read.<\/p>\n<p>We also designed the ships and textures to get a lot out of a few assets. Each ship is built from standardized modules like engines and cargo pods plus hull pieces. These were all designed using a standardized multipurpose texture. For our MVP we simply put colored stripes on this texture and used the non-colored version as a specular map. This worked well, but we got feedback that the ships didn\u2019t look different enough from each other and we also felt that they looked a little too \u201cfactory standard\u201d.<\/p>\n<p>This week, we designed faction-specific paint jobs for the ships. This was difficult because the UV maps were already set and we didn\u2019t have time to iterate on them. Once the textures were painted though, they were very painless to implement. Because all parts of the ships were mapped to a standard texture layout and because the prefabs were set up in Unity with a material for each faction, we were able to apply the new paint jobs simply by loading the new images into the materials, without touching the models or UV maps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week has seen a lot of progress as parts of the game that have been in the making started to come together. We had improvements to our movement system, UI, implementation of the defense system, multi-ship fleets and new paint jobs. &nbsp; Movement: In our previous movement build we [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-weekly-blog-posts"],"_links":{"self":[{"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=\/wp\/v2\/posts\/123"}],"collection":[{"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=123"}],"version-history":[{"count":1,"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=\/wp\/v2\/posts\/123\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projects-old.etc.cmu.edu\/space-pirates\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}