J-Fry [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=11158 Feature idea: online rankings <p>Hi, </p> <p>i've been thinking about something for pico-8 that could be nice: Having a kind of online high score rankings by game on the website.</p> <p>Let's say the easiest way to do it first would be just in the web player on that site with logged in users.</p> <p>API can be as minimal as <em>score(value)</em>. The advantage of the opaque function is that it can redirect score anywhere (online db for webplayer, local file when ran from pico-8 sdk, silently ignored...)</p> <p>This kind of feature is cool as it gives game dev more feedbacks on their games as well as increasing their replay value. Plus the community will benefit from that as it gives another axis to consolidate it.</p> <p>I'm aware it is not that trivial to implement and it requires some work but I love the idea!</p> https://www.lexaloffle.com/bbs/?tid=2720 https://www.lexaloffle.com/bbs/?tid=2720 Tue, 03 Nov 2015 08:16:31 UTC Hyperspace 1.1.1 <h2> <table><tr><td> <a href="/bbs/?pid=15939#p"> <img src="/bbs/thumbs/pico17003.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=15939#p"> Hyperspace 1.1.1</a><br><br> by <a href="/bbs/?uid=11158"> J-Fry</a> <br><br><br> <a href="/bbs/?pid=15939#p"> [Click to Play]</a> </td></tr></table> </h2> <h2><strong>New Version 1.1.1:</strong><br /> Oops I introduced a bug with previous version. Fixed!</h2> <hr /> <h2><strong>Version 1.1:</strong><br /> As I was asked several times, I added options to allow manual fire and non inverted Y axis.<br /> I also slightly lowered the laser sound as it was a bit annoying (It is still but lower :D)</h2> <p>I finally found the time to finish my shooter.</p> <p>Here is Hyperspace, a 3D shooter with endless enemy waves. Try to beat your score during your last stand! Dodge through asteroids, resist enemy waves and defeat the bosses.</p> <p>The barrel roll (with X) allows you to be untouchable for a short period of time.<br /> The time is accelerating continuously so kill all enemies the fastest possible to get the best score.</p> <p>I struggled a lot with token limit and I couldnt implement all i wanted. The code is messy as hell as I had to hardcode everything to save tokens<br /> More sfx/music can still be added if I find some more tokens.</p> <p>Looking forward to seeing your feelings about the game! And dont hesitate to share your highscores!</p> <p>PS: The webplayer may have some slowdowns from time to time, the game in pico 8 client should run at a stable 30fps</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/11158/hyperspace.gif" width=256 height=256 alt="" /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/11158/shooter3d.gif" width=256 height=256 alt="" /> https://www.lexaloffle.com/bbs/?tid=2688 https://www.lexaloffle.com/bbs/?tid=2688 Tue, 27 Oct 2015 20:34:24 UTC Terrain Renderer <p> <table><tr><td> <a href="/bbs/?pid=15116#p"> <img src="/bbs/thumbs/pico15137.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=15116#p"> Terrain 1.01</a><br><br> by <a href="/bbs/?uid=11158"> J-Fry</a> <br><br><br> <a href="/bbs/?pid=15116#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi, </p> <p>This is my first contribution and it is not a game. It is a small terrain renderer I made to see what was possible to do with pico 8 and how far.</p> <p>The terrain definition is based on height maps of 32x32. The cartridge goes with 4 different maps.</p> <p>The rendering has two modes:<br /> <em> a real time one, sort of voxel based that allows to move camera/lighting<br /> </em> an actual rasterization that is computed in background when the camera/lighting stays still</p> <p><strong>controls</strong>:<br /> <em> <strong>arrows</strong>: in camera mode, move the orbital camera, in lighting mode, move the directional camera<br /> </em> when in camera mode, pressing <strong>x/v</strong> while moving allows zooming in/out<br /> <em> <strong>z/c</strong>: switch camera / lighting mode<br /> </em> <strong>a/q</strong>: hide/show info (current mode, mem and cpu usage)<br /> _ <strong>w</strong>: access to the menu to change settings</p> <p>As it is a technical demo/test there's not much to do except moving around. you can play around with settings to change maps, palettes. I also included 5 different filters to dither lighting and terrain.</p> <p>I have optimized quite a lot but there is still some room. The stable 30fps when moving near terrain is hard without implementing occlusion (because it is limited by rectfill) which will eat a lot too.</p> <p>I've cleaned the code a bit so that it should be readable.</p> <p>I dont know if I will work on this again later on but possible upgrades can be:<br /> <em> ingame height map editor<br /> </em> free camera and collision with terrain<br /> <em> optimizations<br /> </em> rendering improvement (shadow cast, sun and specular on water...)<br /> _ animation in renders (waves, birds, clouds...)</p> <p>hope you'll enjoy !</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/11158/animation.gif" width=256 height=256 alt="" /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/11158/arctic.png" width=256 height=256 alt="" /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/11158/volcano.png" width=256 height=256 alt="" /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/11158/island.png" width=256 height=256 alt="" /> <p><strong>Change log</strong><br /> Version 1.01<br /> <em> added perspective correction in rasterizer<br /> </em> optimize rasterizer (back face culling)<br /> _ somes fixes in dithering sprites</p> https://www.lexaloffle.com/bbs/?tid=2582 https://www.lexaloffle.com/bbs/?tid=2582 Wed, 07 Oct 2015 19:57:35 UTC Cache a frame in RAM <p>Hi, I was trying to cache an entire frame in ram to be able to blit it later on on screen.</p> <p>However the user defined memory is not big enough to hold an entire frame (lacks 1kB)</p> <p>Fair enough, as I was not using sfx at all, i tried to overlap on that memory but for some reasons some bytes in that area seem to be masked and cannot take value greater than 0x7F</p> <p>So my question is: Is there a place in RAM where i can safely read/write the extra 1024 bytes i need to cache an entire screen frame ? </p> https://www.lexaloffle.com/bbs/?tid=2568 https://www.lexaloffle.com/bbs/?tid=2568 Tue, 06 Oct 2015 05:41:05 UTC