import{_ase,cast,oasa,a4asi,a6aso,a7ass,a8asr,a9asn,aaash,abasl,acasc,adasd,aeasp}from"./chunks/framework.CsM8T_AH.js";constq=JSON.parse('{"title":"Dice Armor","description":"","frontmatter":{"public":"true","slug":"dice-armor","tags":["My Projects"],"title":"Dice Armor","prev":false,"next":false},"headers":[],"relativePath":"garden/dice-armor/index.md","filePath":"garden/dice-armor/index.md"}'),m={name:"garden/dice-armor/index.md"},u=i('<h1 id="dice-armor" tabindex="-1">Dice Armor <a class="header-anchor" href="#dice-armor" aria-label="Permalink to "Dice Armor""></a></h1><blockquote><p>Referenced by: <a href="/garden/babble-buds/">Babble Buds</a></p></blockquote><blockquote><p>Tags: <a href="/garden/my-projects/">My Projects</a></p></blockquote><p>Download it <a href="https://drive.google.com/open?id=18rwqEIdMChdGtB-9LdI4wiqeM5C5ViOL" target="_blank" rel="noreferrer">here</a></p><p>Dice Armor is a game that started development as a semester-long project by a team of nine: a producer, a creative director, a narrative writer, an artist, two programmers, and 3 game designers. The information here is about my contributions as the lead programmer over the semester because I can show off stuff like the editor scripts I wrote. I was doing everything from interface coding, editor scripts, integrating Babble Buds, and of course, everything related to the gameplay itself. To date I'm still the lead programmer for the game; for more up-to-date information on the current state of the game please visit the official site.</p><p>The build available here was created for showing off at the end of the semester, and as such has some buttons present to make the game easier to skip parts of the game to see all the content: You start with all the dice in the game already in the shop, there's a button to give yourself free money to buy these dice with, and in the duel, there are buttons to force a win or a loss, which can be used to skip the tutorial (not recommended for first-time players).</p><p><img src="'+o+'" alt="Tutorial"></p><p>Dice Armor is a dice dueling game. Players can use abilities, flip dice, and attack each other to win in a dice game that puts chance into the hands of the players. This is what the dueling scene looks like, with a tutorial cutscene happening on top to guide the player through the basics. Also, all the dice are constructed dynamically, using quaternion math to figure out the placement of each component relative to the face it is going on. The die in the middle has one of the player' and opponents' portraits on each of its sides.</p><p><img src="'+s+'" alt="Editors"></p><p>For many of the objects I've created, I've made scriptable objects so that game designers can add and modify them easily. Additionally, I would create custom inspectors for the objects to help make them as easy to understand and edit as possible. The opponent's artificial intelligence is made up of many strategies, in a prioritized list. When it is the opponents' turn they go through each strategy and check if they can be run, and if so then the opponent performs the strategy and starts back over at the top of the list of strategies. The + sign under the list of strategies opens an organized dropdown of all the various strategies.</p><p><img src="'+r+'" alt="Simulator"></p><p>Inadditiontocustominspectorcode,I'vecreatednewtoolsfortheeditorforourgamedesignerstouse.Thisisaduelsimulatorthatwilltaketwoopponentsandsimulateanarbitrarynumberofduelsbetweenthem,andoutputtheresultsandsummarizethemforyou,muchmuchquickerthanmanuallygoingthroughtheduels,evenwithanabsurdlyhightimeScale.Thiswillbecomeincrediblyusefulinmakingbalancechangesandtestingnewdiceagainstexistingsets.Thisisascreenshotofitineditmode,butinplaymodeitremovesthe"DuelingManagers"fieldandwillusewhateverthecurrentduelbalancesettingsare,allowingfortheGDstotestfreelyinplaymodewithoutworryingab