gravitoid [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=16404 Sword Swing Demo <p> <table><tr><td> <a href="/bbs/?pid=121445#p"> <img src="/bbs/thumbs/pico8_ydodawpi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=121445#p"> ydodawpi</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=121445#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=50381 https://www.lexaloffle.com/bbs/?tid=50381 Sun, 27 Nov 2022 00:01:01 UTC SwordSwingTutorial <p> <table><tr><td> <a href="/bbs/?pid=121444#p"> <img src="/bbs/thumbs/pico8_bowazejame-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=121444#p"> bowazejame</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=121444#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=50380 https://www.lexaloffle.com/bbs/?tid=50380 Sat, 26 Nov 2022 23:59:48 UTC Collaborative Game <p> <table><tr><td> <a href="/bbs/?pid=112307#p"> <img src="/bbs/thumbs/pico8_collabgamething-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=112307#p"> collabgamething</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=112307#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here is a game that twitter.com/NerdOfGamers had invited me to help work on.<br /> The idea was that a number of people will take turns adding something to the code in Pico8 Education Edition, and share the URL with the next person in line. I was person number 9.<br /> When I got this, there was barely any space left, and it use 637 tokens.<br /> I cut that down by around 100 tokens while adding velocities to objects. I ended up getting back around close to their total.<br /> I had greater ambition, but sadly when I added more, it wouldn't compress to the 2k url char limit.<br /> So here's what I settled with making, before passing it on to the next dev.<br /> Excited to see what gets added on or modified.<br /> This whole project was supposed to be an hour of work before passing it on. But I took a bit longer than that. An hour or two to assess the existing code, then an hour or so to clean it up. Then another hour or so to create velocities for everything and simple physics updates, but then a half hour or so removing some of the features that put me over the limit.</p> <p>Here shortly I will upload a video on youtube of this, and will link to it.<br /> Hope you enjoy, and be sure to check out NerdOfGamers on Twitter!</p> https://www.lexaloffle.com/bbs/?tid=47916 https://www.lexaloffle.com/bbs/?tid=47916 Thu, 26 May 2022 06:18:10 UTC Carbon Update 3 <p> <table><tr><td> <a href="/bbs/?pid=94777#p"> <img src="/bbs/thumbs/pico8_carbon_0_3-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94777#p"> carbon_0_3</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=94777#p"> [Click to Play]</a> </td></tr></table> </p> <p><strong> <em>Controls:</em> </strong><br /> <strong>left, right = run</strong><br /> <strong>up = jump</strong></p> <p>Can wallslide when falling and pressing into a wall<br /> Can wall jump when pressing up next to a wall<br /> Can slide a bit when running then run in the opposite direction. Doing so on less frictious floors results in cooler effect.<br /> Enjoy.<br /> -Gravitoid</p> https://www.lexaloffle.com/bbs/?tid=43789 https://www.lexaloffle.com/bbs/?tid=43789 Tue, 13 Jul 2021 04:15:51 UTC Flatland Engine Demo <p> <table><tr><td> <a href="/bbs/?pid=92527#p"> <img src="/bbs/thumbs/pico8_flatland01-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=92527#p"> flatland01</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=92527#p"> [Click to Play]</a> </td></tr></table> </p> <p>I am going to work on this. Later I will remake this with actual line intersection code for raycast hits and vector objects. For now this is just a little 1D raymarching program that is a bit sluggish and uses the map for checking ray hits.<br /> But this is what it would look like living in a 2D universe. You would see a 1D image. I will later remake this, probably in Godot engine, as a high resolution stereoscopic 2D VR adventure game.</p> https://www.lexaloffle.com/bbs/?tid=43056 https://www.lexaloffle.com/bbs/?tid=43056 Tue, 25 May 2021 01:43:29 UTC Quad Mirror Sprite Tool <p> <table><tr><td> <a href="/bbs/?pid=84514#p"> <img src="/bbs/thumbs/pico8_quadmirrortool-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84514#p"> quadmirrortool</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=84514#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is the same as my other sprite tool, but it mirrors left and right and up and down.<br /> So it gives cool quad mirrored images.<br /> Fun for making flags and icons and other thingies.</p> <p>Basically, the top shows what percent black is likely to occur each sprite.<br /> X will refresh the image<br /> Up and Down change the height of sprites<br /> Left and Right change the width of sprites<br /> Z + Up/Down changes the black value.</p> https://www.lexaloffle.com/bbs/?tid=40505 https://www.lexaloffle.com/bbs/?tid=40505 Fri, 20 Nov 2020 03:28:25 UTC Random Sprite Tool <p> <table><tr><td> <a href="/bbs/?pid=84509#p"> <img src="/bbs/thumbs/pico8_spritetool-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84509#p"> spritetool</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=84509#p"> [Click to Play]</a> </td></tr></table> </p> <p>So this is my implementation of the random sprite thing I saw on <a href="https://2draw.me/random_ship_generator/index.en.htm">https://2draw.me/random_ship_generator/index.en.htm</a></p> <p>Basically, the top shows what percent black is likely to occur each sprite.<br /> X will refresh the image<br /> Up and Down change the height of sprites<br /> Left and Right change the width of sprites<br /> Z + Up/Down changes the black value.</p> <p>Have fun.<br /> Not sure how to export the images off the cart, but can be fun to play with a bit.</p> <p>Cheers.</p> https://www.lexaloffle.com/bbs/?tid=40501 https://www.lexaloffle.com/bbs/?tid=40501 Fri, 20 Nov 2020 01:57:25 UTC Bun Run Update <p> <table><tr><td> <a href="/bbs/?pid=82415#p"> <img src="/bbs/thumbs/pico8_bunrun12-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=82415#p"> bunrun12</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=82415#p"> [Click to Play]</a> </td></tr></table> </p> <p>This cart is still in progress. I just wanted to upload it to show a few people.<br /> So at the moment, tapping Z will increase your run speed ever so slightly, but it returns to normal after a moment.<br /> Later, running faster will be easier for wolves to hear, and attract their attention to you.<br /> X is used to show the path finding grid, but path finding isn't fully implemented yet, though the methodology is commented out in the wolf state system tab in the &quot;RESUME&quot; state. The grid is generated each time you enter a new room, and the wolves will really only use it to investigate sounds, or to find their way back to their regular patrol paths.</p> <p>Today, I got the bunny to hop, I removed moving backwards (as the down button will be reserved for throwing rocks), and I modified some of the sprites, and commented out the RESUME state.</p> https://www.lexaloffle.com/bbs/?tid=39766 https://www.lexaloffle.com/bbs/?tid=39766 Tue, 29 Sep 2020 01:41:03 UTC Heat Map path finding method <p> <table><tr><td> <a href="/bbs/?pid=81986#p"> <img src="/bbs/thumbs/pico8_heatmappath-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=81986#p"> heatmappath</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=81986#p"> [Click to Play]</a> </td></tr></table> <br /> I just finished this method for path finding that I will implement in my other projects.<br /> This method is resizable and really easy to implement and understand.<br /> I spent the last day concocting this.<br /> Essentially it creates a heat map/height map of costs that can be traversed by agents by referencing the node list.<br /> Controls:<br /> Press X to place walls or remove them.<br /> Press Z to set the end node to the nearest node to the on-screen cursor.<br /> Cursor controlled with arrow keys.</p> <p>The method works this way:<br /> Create an empty list for checked nodes. We will push nodes into and out of it. Any node inside is there only temporarily.<br /> We start with the first node, set it to visited, and put its neighbors into the checkedNodes list.<br /> While the length of list of checkedNodes is bigger than 0, check all neighbors of all nodes in list, and pop out nodes from list that were visited. Only new nodes get added in. Any node after checked is removed.<br /> This creates a cascade effect that fills the entire possible connected set of nodes with costs.</p> <p>To traverse it, simply find the nearest node in world space to your agent, and check the neighbors and find the one with the lowest cost, set that to your next movement target, and move to it. If you get to the end node, stop moving. If the node the agent is on has no neighbors, also don't do anything.</p> <p>I made it so you can give it a grid size at the top of the code using the SIZE variable, and it will make it just work.</p> <p>And there you go. Hope you like it.</p> https://www.lexaloffle.com/bbs/?tid=39641 https://www.lexaloffle.com/bbs/?tid=39641 Sat, 19 Sep 2020 10:12:09 UTC Kitty Path Test <p> <table><tr><td> <a href="/bbs/?pid=81985#p"> <img src="/bbs/thumbs/pico8_kittypath-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=81985#p"> kittypath</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=81985#p"> [Click to Play]</a> </td></tr></table> </p> <p>Slight modification of my path finding method, except this method is now modified to allow an arbitrary size grid to be instantiated. I invite you to open it up and fiddle with the code.<br /> The agent is the cat creature, and hopefully my code is readable enough. Simply changing the SIZE variable at the top should be enough to get a feeling for different grid sizes.</p> https://www.lexaloffle.com/bbs/?tid=39640 https://www.lexaloffle.com/bbs/?tid=39640 Sat, 19 Sep 2020 09:55:27 UTC Water Level Sim Test <p> <table><tr><td> <a href="/bbs/?pid=81891#p"> <img src="/bbs/thumbs/pico8_watertest-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=81891#p"> watertest</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=81891#p"> [Click to Play]</a> </td></tr></table> <br /> Controls:<br /> Z changes modes between drawing height for tiles, and simulating the water</p> <p>X when pressed or released, toggles the control scheme.</p> <p>In Draw mode, holding X allows you to change tile heights with the UP and DOWN arrows.<br /> In Sim mode, you control the Log object with the arrows, but holding X allows you to change the water's base height.</p> <p>The log will float up to meet the water level or fall with it. The log hasn't been programmed to interact with the tiles at the moment.<br /> This whole thing is just a test to show how a more 2.5D feel could be achieved through using a mask to determine the height values in an image and using that to determine where to draw water.</p> https://www.lexaloffle.com/bbs/?tid=39616 https://www.lexaloffle.com/bbs/?tid=39616 Wed, 16 Sep 2020 08:29:12 UTC Bun Run Update - AI toggle debugging <p> <table><tr><td> <a href="/bbs/?pid=76937#p"> <img src="/bbs/thumbs/pico8_bunrun-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=76937#p"> bunrun</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=76937#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=38042 https://www.lexaloffle.com/bbs/?tid=38042 Wed, 20 May 2020 09:11:15 UTC Brianna's Birthday <p> <table><tr><td> <a href="/bbs/?pid=76420#p"> <img src="/bbs/thumbs/pico8_zoyapiribi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=76420#p"> zoyapiribi</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=76420#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=37899 https://www.lexaloffle.com/bbs/?tid=37899 Tue, 12 May 2020 06:10:21 UTC Spinny Circles <p> <table><tr><td> <a href="/bbs/?pid=72250#p"> <img src="/bbs/thumbs/pico8_circlesss-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=72250#p"> Spinny Circles</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=72250#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=36596 https://www.lexaloffle.com/bbs/?tid=36596 Sun, 26 Jan 2020 08:50:22 UTC Snakey 2.0 <p> <table><tr><td> <a href="/bbs/?pid=70853#p"> <img src="/bbs/thumbs/pico8_zuzegusofi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70853#p"> Snakey 2.0</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=70853#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=36213 https://www.lexaloffle.com/bbs/?tid=36213 Tue, 10 Dec 2019 18:39:40 UTC Snakey Thingy <p> <table><tr><td> <a href="/bbs/?pid=70852#p"> <img src="/bbs/thumbs/pico8_gakigewiya-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70852#p"> Snakey Thingy</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=70852#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=36212 https://www.lexaloffle.com/bbs/?tid=36212 Tue, 10 Dec 2019 18:00:08 UTC Rooty tooty point and shooty <p> <table><tr><td> <a href="/bbs/?pid=66676#p"> <img src="/bbs/thumbs/pico8_bahemumizi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=66676#p"> Rooty tooty point and shooty</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=66676#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=35073 https://www.lexaloffle.com/bbs/?tid=35073 Wed, 14 Aug 2019 10:00:05 UTC Shooter Test <p> <table><tr><td> <a href="/bbs/?pid=66618#p"> <img src="/bbs/thumbs/pico8_depozewye-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=66618#p"> Shooter Test</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=66618#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=35050 https://www.lexaloffle.com/bbs/?tid=35050 Mon, 12 Aug 2019 18:38:14 UTC wallavoid <p> <table><tr><td> <a href="/bbs/?pid=66496#p"> <img src="/bbs/thumbs/pico8_wallavoid-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=66496#p"> wallavoid</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=66496#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=35007 https://www.lexaloffle.com/bbs/?tid=35007 Sat, 10 Aug 2019 10:25:32 UTC flipflap <p> <table><tr><td> <a href="/bbs/?pid=66493#p"> <img src="/bbs/thumbs/pico8_flipflap-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=66493#p"> flipflap</a><br><br> by <a href="/bbs/?uid=16404"> gravitoid</a> <br><br><br> <a href="/bbs/?pid=66493#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=35005 https://www.lexaloffle.com/bbs/?tid=35005 Sat, 10 Aug 2019 08:42:51 UTC