Log In  


This is a game I've been coding for a bit, Linecraft! This is my first and biggest demake (though I've been working in other non-published projects before) so I'm very excited that other people will try it!
Also, I'll keep it updated, so if you find any bug, leave it down below on the comments! I'll check them out and fix them in the following versions.

The sounds and music were made by Munchkin (thank you :D) and the code and graphics were made by me.

Thanks to kallanreed for his tline rotation function I used for the splash text in the game.

Thanks to Felice for their implementation of the OpenSimplex noise generator on PICO-8 that I used for the world generation in the game. The code may look a little different in my cart, but that's due to changes in development (back when I thought this game could be made in a single cart!).

Thanks to shiftalow for their 140-token trifill function, fast and very light!

So have fun playing it! I hope you like it :)

(mouse support is funky when playing on website, so you might need to click on the game screen every time you load a world or save it)

WARNING IF PLAYING ON WEBSITE: Your worlds will get deleted once you reload the page/close it. Export your worlds by selecting your world, going to the options menu and clicking "Export World". It will send the world data to your clipboard. Mobile players cannot press CTRL-C to allow the copy to go through, so sadly they cannot preserve any worlds they save.

Cart #linecraft-20 | 2024-12-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
83

Version Log


V2.0
Added: Polygon renderer. (Devkit only!)
Added: Red skybox when submerged in lava.
Removed: Variable FPS feature.

V1.7
Added: Player hand.
Optimized: World saving algorythm to reduce storage space.
Optimized: Improved the speed of saving and loading worlds when transferring the map between carts.
Optimized: Variable FPS feature now uses less CPU time.
Changed: Increased the speed of the scrollbar in the world list.
Changed: Lava buckets now leave an empty bucket behind instead of air when consumed in a furnace.
Fixed: Glitchy flight toggling in creative mode.
Fixed: Water and Lava Buckets wrongfully draining in creative mode when placed.
Fixed: World corruption occuring during the first game session.
Added: "Fix" button for worlds corrupted by the first game bug. Note: this will not repair worlds by other causes.

V1.6
Added: World porting to Minecraft. (see this)
Added: Transparency to glass.
Added: Smarter item redraw system (decreased cart I/O when moving items around the inventory).
Added: Smoke on lit furnaces.
Added: AutoJump (automatically enabled for button control).
Changed: World generation algorythm (Made it more likely for coal and lapis ores to spawn, leaves can no longer replace blocks that block it).
Changed: Created a prettier in-game saving screen.
Fixed: Credits having broken text.
Fixed: Saplings not dropping an item when broken.
Fixed: World corruption on superflat worlds after saving the world and re-entering.
Fixed: Giant lag spike when it turns day (Many mobs die at once, so made poofs less CPU-heavy).
Fixed: Many, many bugs with the liquid system. (sourceless liquids not draining, a liquid falling on another not updating correctly, etc)

V1.5
Added: Creative mode.
Added: Furnaces, along with Glass, Cooked Porkchop, Beef, Cooked Chicken.
Changed: Cheats menu; deleted old options in favor for an item list and to switch to Creative mode.
Changed: Stone Bricks are now crafted with Stone instead of Cobblestone.
Fixed: Wooden and Stone Pickaxes being able to drop blocks such as Diamond Ore, Gold Ore, etc.
Fixed: Blocks such as Iron Block, Gold Block, Emerald Block being able to be mined with a shovel instead of a pickaxe.
Fixed: Beds and chests not getting internally deleted when a creeper explodes on them. This may still be an issue in older worlds, of which they will have less than 32 chests available for storage and/or an invisible bed.

V1.4
Added: Even more 3D engine optimizations, plus some small collision optimizations that in total halves total CPU usage.
Changed: Increased default render distance to 9x9x9 blocks, thanks to the better 3D engine.
Fixed: Random number generation being deterministic on a world load.
Fixed: Loads of issues with the block highlighting code. (placing on air, red highlights not following player's crosshair, rendering overflow issues, etc)
Fixed: Credits cannot be stopped with a mouse click.

V1.3
Fixed: Minor typing mistakes on the launcher cart.
Fixed: Water "replicating" on different requirements as the actual game (all this means, it could replicate with no floor below).
Added: Debug text (coordinates, seed, CPU usage).
Added: More optimizations on the 3D engine, removing 2-9% off the CPU usage.

V1.2
Fixed: Sandstone dropping the wrong item when broken.
Added: One more optimization on the 3D engine, removing 8-20% off the CPU usage.

V1.1
Fixed: Trees spawning no matter if the setting on the superflat world was set as 'No'.
Fixed: Mouse sensitivity incorrectly set on first load.
Fixed: Creating a new world and exiting without saving creates a "phantom world" in the launcher cart.
Fixed: Sound bug occurs when grabbing an item with a full inventory.
Fixed: Audio becomes garbled when saving while a song is playing.
Changed: Mobs can now attack you (or shoot arrows) while they're on the hurt cooldown.
Added: Cheats option in the Create World menu (+ three rudimentary cheat options in the inventory)
Added: Colored faces on top and bottom of ores so it can be spotted better.

V1.0
First game version

83


1

this is so sick how did you even make this also the fact that this is playable on mobile makes it even more impressive but its very hard to play xd
anyways i found gold and lapis but i couldnt find diamonds :(


3

It took me a year of pain to code it all together since I kept running out of tokens (literally the game cart is pure gibberish from how optimized I had to make it) this game pretty much goes over every limit set in pico-8, but I guess in the end it was possible lol

Also yeah, playing with buttons is kinda hard since there's not a lot of them, I tried making the best combination to be the most comfortable but there isn't much I could do, it will always be finicky to play, and pure hell to fight a mob lol. You can always change the layout in the settings if you want to, if you found a more comfortable setting


2

I am surprised this is even possible


2

Me: "Why's the ground in the sky? and what's this pole thing doing h- oh wait it's a tree" 🤣
So far I managed to craft a workbench, make stone tools, make a tiny house on a hill, slay my first zombie + chicken + pig + sheep, and run away from my first skeleton. This is an amazing demake.


The second I enter a world while using the pico-8 app, keyboard and mouse support seems to stop working. I'm facing directly down and can't rotate the camera at all, with mouse or arrow keys. I can walk forwards and backwards but that's about it. If I pause then I can't use the mouse to select any buttons and if I use arrow keys, the cursor jumps all the way to the corners of the screen.


ooooggll I think that is an issue with mouse configuration... Going to the mouse settings and fiddling with the sensitivities should fix that up.


1

Good to see this project being released!

Excellent work and polish.

note: got a bug where I'd insta-die on a new level I just reloaded.


Hi freds :) thank you, I will look into that too. I might do an update soon just to fix all the broken stuff.


1

Impressive. But the button controls are weird.


Awesome game, tryna play form release day so I can have the oldest world 😇 (I’m in a cave mining away)


Found a small bug, seems like it might be an overflow issue. Only seems to happen standing at this angle.


Oh that's funny, it's indeed an overflow bug! One side of a block highlighter is getting rendered at one end the number limit (32767) and the other side of it is getting rendered at the other end of the number limit (-32768). I don't know how to fix it, as it requires remaking some stuff from my renderer and highlight system... I might fix it in the future, though it might stay with us for a bit :P (also I should've mentioned it in the post, but you can increase the render distance! it's by going to the options > video settings)

EDIT: Fixed this issue! And a whole lot of other issues.


This is why I love pico-8. I'm surprised you even got fluid mechanics in there and mobs too. Fantastic job and I'm having fun with this!


Can you use the player 2 controls as a way to have extra buttons? It would make it a whole lot easier because my devkit mouse does not work


2

Well I wanted to, but then I got told it would break compatibility with mobile and handheld console users, since they only allow one player support. I could maybe add it as an optional feature but that would need a rewrite on the game cart which would require even more tokens, and a launcher rewrite too which just looks like too much work for the small chance that people have two-player button support but not devkit


for some reason i am unable to keyboard and mouse


Are you playing on the BBS that you have that issue? On the BBS devkit is broken, as it uses mouse delta which isn't supported on web, but if it's on another platform I'd like to see which one just so I can try to fix it.


Pico-8 Minecraft is crazy.


1

this is awesome good job!


would it be possible for you to share all of the p8 files for this? i kinda wanna try it on a few consoles i have that can emulate pico 8


Sure! I'm making an update to the game so when I publish it, I'll give you an offline version of it

EDIT: Done! Download these files from the BBS and save them to a folder. The files must have these names:

  • #linecraftoffline-0 → linecraft.p8
  • #linecraftoffline_devkitgame-0 → wdevkit.p8
  • #linecraftoffline_buttongame-0 → wbutton.p8
  • #linecraftoffline_compdecomp-0 → wcomp.p8

1

sweet! thank you so much dude, amazing demake btw


.... zee_scott, when is the sugary spire demake?


1

A Minecraft port with no Sniffer?? What's even the point?!

jk this is the most impressive Pico-8 game I've ever played. The movement physics feel surprisingly close to the real deal. I found diamonds and built a house and fell in lava. Good game :)



[Please log in to post a comment]