{"id":2001,"date":"2025-03-12T14:47:50","date_gmt":"2025-03-12T14:47:50","guid":{"rendered":"https:\/\/sites.wsagames.com\/ab15g23\/?p=2001"},"modified":"2025-03-19T12:58:47","modified_gmt":"2025-03-19T12:58:47","slug":"buttons","status":"publish","type":"post","link":"https:\/\/sites.wsagames.com\/ab15g23\/buttons\/","title":{"rendered":"Buttons"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When looking for references for buttons I found a community of people who create their own <a href=\"https:\/\/www.instructables.com\/How-to-Make-a-Custom-Control-Panel-for-Elite-Dange\/\">custom button panels<\/a> for games, one niche I found was for flight simulation games, <em>Elite Dangerous <\/em>in particular. I also had a snoop around itch.io and the asset packs that were available, I did this to get a feel for style and to get an idea of how to layout my own assets when I finish with the UI.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"2025\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-38.png\" alt=\"\" class=\"wp-image-2025\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-38.png 1024w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-38-300x225.png 300w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-38-768x576.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Custom button panel reference<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"769\" data-id=\"1963\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-26-1024x769.png\" alt=\"\" class=\"wp-image-1963\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-26-1024x769.png 1024w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-26-300x225.png 300w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-26-768x577.png 768w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-26.png 1181w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Control room machine reference<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d also gone around and taken pictures of buttons and panels I found that were good references for the design.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"450\" height=\"261\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-66.png\" alt=\"\" class=\"wp-image-2127\" style=\"width:382px;height:auto\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-66.png 450w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-66-300x174.png 300w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><figcaption class=\"wp-element-caption\">Buttons in the studio for the projector<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Itch.io packs that I most found interesting: <a href=\"https:\/\/dragoonwys.itch.io\/doomsday-button-panel-build-a-skin\">Doomsday Button Panel<\/a> and <a href=\"https:\/\/free-game-assets.itch.io\/sci-fi-ui\">Sci-Fi UI<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Round or Square?<\/h2>\n\n\n\n<figure class=\"wp-block-table alignwide\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Circular Buttons<\/strong><\/td><td class=\"has-text-align-left\" data-align=\"left\"><strong>Square\/rectangular Buttons<\/strong><\/td><\/tr><tr><td>\u2714 <strong>Best for:<\/strong> <br>Minimalist, futuristic, or touch-friendly interfaces<br>\u2714 <strong>Pros:<\/strong><br>&#8211; Looks sleek and modern<br>&#8211; Takes up less visual space<br>\u2714 <strong>Cons:<\/strong><br>&#8211; Less space for text\/icons<br>&#8211; Harder to align neatly<\/td><td class=\"has-text-align-left\" data-align=\"left\">\u2714 <strong>Best for:<\/strong> <br>Traditional, structured, or text-heavy UIs<br>\u2714 <strong>Pros:<\/strong><br>&#8211; More space for labels and icons<br>&#8211; Easier to arrange in menus<br>&#8211; More familiar and readable<br>\u2714 <strong>Cons:<\/strong><br>Can feel rigid or outdated if too sharp-edged<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To reflect the <strong>retro-industrial, analog machine aesthetic<\/strong> I&#8217;ve decided on <strong>square\/rectangular <\/strong>with rounded edges \u2013 like older industrial control panels with large mechanical buttons.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For design &amp; feel I&#8217;m going to aim towards:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Chunky, tactile-looking buttons<\/strong> with metallic or plastic textures.<\/li>\n\n\n\n<li><strong>Flickering indicator lights<\/strong> (light up for active, no light for inactive).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Following the tutorial below, I adapted the steps to create something more alike to what I was aiming for:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Illustrator Tutorial: 3D Illuminated Buttons\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/hxw07eGZGDM?start=603&#038;feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"304\" height=\"300\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-40.png\" alt=\"\" class=\"wp-image-2036\" style=\"width:162px;height:auto\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-40.png 304w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-40-300x296.png 300w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><figcaption class=\"wp-element-caption\">My take on the tutorial<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"127\" height=\"127\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-42.png\" alt=\"\" class=\"wp-image-2042\" style=\"width:176px;height:auto\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This looked too futuristic, and its dark colours would contrast way too much with the background I had made. I liked the roundness of the shapes edges but it was just a bit too &#8220;much&#8221;. I went ahead and lightened up the colour, removed the light effect and a couple of layers to further simplify the shape. I was able to retain that raised 3D effect by using dark to light gradients on the stroke.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I focused on the colours most commonly seen on control panels &#8211; white, grey, red, green and orange &#8211; and made duplicates with the different colourways.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To create the effect of a light behind the button I changed the fill to a radial gradient, keeping the central colour bright and building out to the original colour.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"176\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-39.png\" alt=\"\" class=\"wp-image-2035\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-39.png 984w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-39-300x54.png 300w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-39-768x137.png 768w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><figcaption class=\"wp-element-caption\">Lineup of the different button colours and states.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Last Steps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Being able to 9-slice assets means they can be scaled in however way and still retain their appearance, this is especially important for buttons in UI for reusability when implementing them into game engines.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Illustrator, the way I found to do this was by turning my buttons into symbols and enabling 9-slice guidelines. This worked perfectly for the most part, the issue I was having was with the buttons in their pressed light state. When the scale of the button was adjusted the radial gradient used to represent a light behind the button was stretching weirdly and just didn&#8217;t look good.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"207\" height=\"202\" data-id=\"2022\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-36.png\" alt=\"\" class=\"wp-image-2022\" \/><figcaption class=\"wp-element-caption\">Original button<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"298\" data-id=\"2021\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-35.png\" alt=\"\" class=\"wp-image-2021\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-35.png 547w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-35-300x163.png 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><figcaption class=\"wp-element-caption\">Scaled button<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I tried googling if anyone had a similar problem when scaling their gradients, while I didn&#8217;t find any exact answers, one suggestion was to expand the appearance the create a gradient mesh. I was skeptical because the gradient mesh purpose is to create shading effects.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"253\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-37.png\" alt=\"\" class=\"wp-image-2023\" style=\"width:364px;height:auto\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-37.png 540w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-37-300x141.png 300w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Progress! The gradient is behaving but now the outer shapes of the buttons are stretched incorrectly. Close enough. After taking a break and coming back, I made a couple more duplicates of the original and repeated the process of changing things ever so slightly. In all honesty, I&#8217;m not sure what I did or what I clicked but I was able to create a button that scaled properly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"685\" height=\"358\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-41.png\" alt=\"\" class=\"wp-image-2037\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-41.png 685w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-41-300x157.png 300w\" sizes=\"(max-width: 685px) 100vw, 685px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Fitting them in<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The buttons would look strange just being slotted ontop of the machine so to make them stand out more and to help ensure the player knows these buttons are interactable, I designed a quick panel that would go behind them. To further sell the look I repurposed the screw head I drew for the control machine background.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"125\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-58.png\" alt=\"\" class=\"wp-image-2063\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-58.png 572w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-58-300x66.png 300w\" sizes=\"(max-width: 572px) 100vw, 572px\" \/><figcaption class=\"wp-element-caption\">What the buttons look like with a screwed in back panel.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is also when I realised that the &#8220;End Week&#8221; button is <strong>green<\/strong>, this was a pretty silly mistake as the number 1 rule in the <a href=\"https:\/\/sites.wsagames.com\/thoseleftbehind\/2025\/02\/03\/art-bible\/\">art direction<\/a> is that the game is strictly meant to have NO green. Whatsoever. This was a case of choosing between red or blue as I wasn&#8217;t happy with the grey colours, orange had already been used and green was off of the table.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"120\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-59.png\" alt=\"\" class=\"wp-image-2065\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-59.png 556w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-59-300x65.png 300w\" sizes=\"(max-width: 556px) 100vw, 556px\" \/><figcaption class=\"wp-element-caption\">Blue button<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"120\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-60.png\" alt=\"\" class=\"wp-image-2066\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-60.png 558w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/03\/image-60-300x65.png 300w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><figcaption class=\"wp-element-caption\">Red button<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">My overall design already uses quite a bit blue for the panels and resource bars, the darker blue I used for the button made it so that there wasn&#8217;t enough contrast between the black text for my liking. My only concern with the red is that typically the colour red alludes to danger and a big red button usually signals the intiation of impending doom or destruction (especially one that literally says &#8220;END WEEK&#8221; on it) and I don&#8217;t want players to be influenced by that. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the end, I found that the better choice between the two was the red button. If changes need to be made, I&#8217;m happy to do so.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When looking for references for buttons I found a community of people who create their own custom button panels for games, one niche I found was for flight simulation games, Elite Dangerous in particular. I also had a snoop around itch.io and the asset packs that were available, I did this to get a feel [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[],"class_list":["post-2001","post","type-post","status-publish","format-standard","hentry","category-ui-ux"],"_links":{"self":[{"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/posts\/2001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/comments?post=2001"}],"version-history":[{"count":15,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/posts\/2001\/revisions"}],"predecessor-version":[{"id":2129,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/posts\/2001\/revisions\/2129"}],"wp:attachment":[{"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/media?parent=2001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/categories?post=2001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/tags?post=2001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}