CannonTheWildWulf [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=50899 Pico-GUI <p> <table><tr><td> <a href="/bbs/?pid=115165#p"> <img src="/bbs/thumbs/pico8_picogui_demo-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=115165#p"> Pico-GUI Demo</a><br><br> by <a href="/bbs/?uid=50899"> CannonTheWildWulf</a> <br><br><br> <a href="/bbs/?pid=115165#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=115165#p"> <img src="/bbs/thumbs/pico8_picogui_ball_demo-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=115165#p"> Pico-GUI Ball Demo</a><br><br> by <a href="/bbs/?uid=50899"> CannonTheWildWulf</a> <br><br><br> <a href="/bbs/?pid=115165#p"> [Click to Play]</a> </td></tr></table> <br /> Updated Release 1.1</p> <hr /> <p><strong>About</strong><br /> Pico-GUI is an object based ui library useful for debugging games or creating development tools. This was made in just one day, and there may be some bugs or important missing features.</p> <p><em>Currently the system is at 891 tokens. I'm not the best at crunching down token counts, so if someone manages to save more tokens, let me know and I'll probably update the main post with that version</em></p> <hr /> <p><strong>Widgets</strong><br /> Widgets are any interactable UI element.<br /> By default, Pico-GUI supports Panels (windows), Sliders, Buttons and Toggles.</p> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <hr /> <p><strong>Core</strong> - <strong>ui_core( )</strong><br /> Can be used for storing all GUI elements. Allows for focusing widgets and easy widget management</p> <p>Functions:</p> <ul> <li><strong>add( widget, widget, ... )</strong></li> <li><strong>render( )</strong></li> </ul> <p>Attributes:</p> <ul> <li><strong>[content]</strong><br /> Table of all widgets contained within the panel</li> </ul> <hr /> <p><strong>Panels</strong> - <strong>new_panel( x, y, width, height, [col] )</strong></p> <p>Functions:</p> <ul> <li><strong>add( widget, widget, ... )</strong></li> </ul> <p>Attributes:</p> <ul> <li> <p><strong>[content]</strong><br /> Table of all widgets contained within the panel</p> </li> <li> <p><strong>[col]</strong><br /> Background color of the panel </p> </li> <li> <p><strong>[border]</strong><br /> Color of the border (false for no border)</p> </li> <li> <p><strong>[moveable]</strong><br /> Decides if the panel can be moved</p> </li> <li> <p><strong>[resizable]</strong><br /> Decides if the panel can be resized</p> </li> <li> <p><strong>[locked]</strong><br /> Toggles if panel can be resized/moved</p> </li> <li> <p><strong>[min_width]</strong><br /> Minimum panel width</p> </li> <li> <p><strong>[min_height]</strong><br /> Minimum panel height </p> </li> <li><strong>[title]</strong><br /> Name to be displayed</li> </ul> <hr /> <p><strong>Sliders</strong> - <strong>new_slider( x, y, width, min, max, default, [col] )</strong></p> <p>Attributes:</p> <ul> <li> <p><strong>[col]</strong><br /> Color of slider notch</p> </li> <li> <p><strong>[_min]</strong><br /> Minimum value slider can be set to</p> </li> <li> <p><strong>[_max]</strong><br /> Maximum value slider can be set to</p> </li> <li> <p><strong>[_range]</strong><br /> Range between minimum and maximum value (max - min)</p> </li> <li><strong>[_value]</strong><br /> Value slider is currently set to</li> </ul> <hr /> <p><strong>Checkboxes</strong> - <strong>new_checkbox( x, y, [col], [toggled?] )</strong></p> <p>Attributes:</p> <ul> <li> <p><strong>[col]</strong><br /> Color of toggle when enabled</p> </li> <li><strong>[toggle]</strong><br /> Stores the state of the toggle</li> </ul> <hr /> <p><strong>Buttons</strong> - <strong>new_button( x, y, width, height, [sprite], [col], [rounded?], [callback] )</strong></p> <p>Attributes:</p> <ul> <li> <p><strong>[col]</strong><br /> Background color of button</p> </li> <li> <p><strong>[sprite]</strong><br /> Image displayed on button</p> </li> <li> <p><strong>[rounded]</strong><br /> Enable rounded corners</p> </li> <li><strong>[callback]</strong><br /> Function to call when pressed</li> </ul> <p></div></div></div></p> https://www.lexaloffle.com/bbs/?tid=48740 https://www.lexaloffle.com/bbs/?tid=48740 Tue, 02 Aug 2022 19:09:35 UTC Death in CBTT <h2> <table><tr><td> <a href="/bbs/?pid=99511#p"> <img src="/bbs/thumbs/pico8_kahiyubudu-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=99511#p"> Death in CBTT</a><br><br> by <a href="/bbs/?uid=50899"> CannonTheWildWulf</a> <br><br><br> <a href="/bbs/?pid=99511#p"> [Click to Play]</a> </td></tr></table> </h2> <p><a href="https://www.lexaloffle.com/bbs/?tid=44815">Celeste Break the Targets</a> by <a href="https://twitter.com/M33pinator?s=20">Meep</a><br /> Death from <a href="https://www.lexaloffle.com/bbs/?tid=45217">Death Dungeon</a></p> <hr /> <h3>Controls</h3> <p>Arrows - Move<br /> Z, C, or N - Jump<br /> X, V, or M - Action</p> <hr /> <h3>Death</h3> <p>Death has 4 health points<br /> Using the Action key will fire a ball of energy and spend 1 health point<br /> Shooting downwards will give you a small amount of upwards momentum<br /> He can jump off of balloons for 2 health points and targets for 1<br /> Running out of health will result in a death</p> https://www.lexaloffle.com/bbs/?tid=45227 https://www.lexaloffle.com/bbs/?tid=45227 Tue, 02 Nov 2021 16:27:30 UTC Death Dungeon <p> <table><tr><td> <a href="/bbs/?pid=99479#p"> <img src="/bbs/thumbs/pico8_suparihum-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=99479#p"> Death Dungeon</a><br><br> by <a href="/bbs/?uid=50899"> CannonTheWildWulf</a> <br><br><br> <a href="/bbs/?pid=99479#p"> [Click to Play]</a> </td></tr></table> </p> <h2>-- Death Dungeon --</h2> <p>Originally Created for the Mini Jam 92: Death, this is an updated version.</p> <p>Programming and Art: <a href="https://twitter.com/WulfCannon">Cannon</a><br /> Level Designs: <a href="https://twitter.com/Snycent">Snycent</a><br /> Music: Lark</p> <hr /> <p>Original jam version is is <a href="https://snycent.itch.io/death-dungeon">here</a></p> https://www.lexaloffle.com/bbs/?tid=45217 https://www.lexaloffle.com/bbs/?tid=45217 Mon, 01 Nov 2021 21:12:53 UTC