SmallTestAccount [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=33570 Simple Noise Mapped onto a Cylindar <p> <table><tr><td> <a href="/bbs/?pid=67361#p"> <img src="/bbs/thumbs/pico8_boginrufi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=67361#p"> boginrufi</a><br><br> by <a href="/bbs/?uid=33570"> SmallTestAccount</a> <br><br><br> <a href="/bbs/?pid=67361#p"> [Click to Play]</a> </td></tr></table> </p> <p>Alright, the title explains what this is really. So I mapped a random &quot;&quot;&quot;heightmap&quot;&quot;&quot; to the sprite sheet (using poke), later in _draw() I SSPRed the whole sheet, giving 128 rows from the sprite sheet on the screen. Then I offset the Y using the function &radic;1-x^2 modified to look more visually appealing, and hacking off the sides so weird noise wasn't visible. Offsetting the source of the SSPR on the X-axis allowed me to scroll what was visible to the user.</p> <p>You might say, &quot;Hey, that noise looks like sh!t&quot;, and yeah you're right. This is not quality noise. but I coded the noise in like 2 hours, so cut some slack, please. My current project doesn't need noise thats anymore complex than this. I don't need a fancy system of noise. Also, please ignore how bad my code is, I can be a bit of a spaghetti coder.</p> <p>(Btw: Z/X to rotate the cynlindar, i submitted this to share less as a resource so i didnt include user interface text)</p> https://www.lexaloffle.com/bbs/?tid=35285 https://www.lexaloffle.com/bbs/?tid=35285 Sat, 07 Sep 2019 17:01:00 UTC