Log In  
Log In  

Cart [#vox_mine_28-1#] | Code | 2019-01-18 | No License | Embed
25

Mine your way to fame and fortune in a continuously generated 3D voxel world. But keep an eye on your energy level and make sure you can find your way back through the deep and twisted caves.

Build block fortresses with a variety of materials.

Use the Far-View 3D Map and GPS to stay safe.

Instructions:
s,f: turn left and right
e,d: move forward and backwards
lshift or z: jump (hold to jump higher if upgraded)

The mouse is required for mining and building.
Click on shop computer to enter store menu. Ore and gems will auto-sell.

With laser selected, click and hold on a block to mine it. Circular progress bar will indicate how long is left. Precious ores will take longer to mine.

With a placeable block selected, click on the side of an existing block to place a new block.

Energy will deplete when moving, jumping or mining. The battery can be recharged by standing on the glowing yellow charge squares near the shop. When your energy goes to zero, you will lose most of your money and be teleported back to the starting point.

Recommendations:

  • The GPS or Far View are good investments early on because it's easy to get lost.
  • Be very careful about falling into caves. They may go very deep and getting back home before energy runs out could prove a challenge.

Notes:
This game uses a modified ray-casting engine based on tutorials from (https://lodev.org/cgtutor/raycasting.html). This was extended to work with voxels, reading in a local 3-dimensional map array.

The map is generated dynamically as the player moves around. However, it is set up such that the same block will always exist at the same x,y,z coordinates. In addition, there is a user map that is used to store the locations of blocks that the user added or removed. These are essentially stored in a sparse matrix.

There is currently no way to save your constructions. It might be possible to save some aspects of the world with the persistent cart data, but I don't know that 256 bytes will be sufficient. Clipboard import and export might be a better way to allow folks to share creations.

The code is a dog's breakfast. Token count wasn't really a problem for me on this one, but it was a struggle to keep frame rate acceptable with the world rendering code. I'd love to be able to increase the view depth without dropping to 15 FPS.

-electricgryphon

P#60809 2019-01-14 06:52 ( Edited 2019-01-18 05:45)

Wow! Just getting into Pico-8, but it's incredible what you can do within the constraints!

P#60813 2019-01-14 08:55

Auggh! I broke the shop on accident! Is this a bug?

P#60815 2019-01-14 11:58
:: gruwl

Impressive! Nice work!

P#60818 2019-01-14 12:31

Holy crap - you de-made Minecraft! :-O
Amazing stuff!

P#60819 2019-01-14 12:48

Hi hwd2002, I’m positive it’s a bug. Can you describe how the store broke? There are a few tweaks that I need to make so the click menu selection is more robust.

P#60821 2019-01-14 15:20

No, I mean I broke the physical block that the store is on. The blocks around it instamine, then because the mining laser is already going, it also destroys the shop voxel. It is pretty easy to accidentally do it, then you can't place it back down, so that makes you need to restart. No problems with the GUI yet.

Still loving it though! and the far view looks really cool.

P#60823 2019-01-14 17:56 ( Edited 2019-01-14 17:59)

You are stealing the show, as usual :]

This game cannot go disapear from the front page - @electricgryphon, beef up the marketing!!

P#60828 2019-01-14 21:11 ( Edited 2019-01-16 21:29)
1

Thanks for the push Freds72!
Maybe I should join the year of the fruitbat and post things on the twitter. :-)

Update: Fixed the bug that hwd2002 pointed out.

P#60949 2019-01-18 05:48

wow, this is super impressive for a PICO-8 game! :O

P#60955 2019-01-18 10:42

That is so impressive Pico-8 coding. Wow.

P#60970 2019-01-18 18:03

Bumped for sheer awesomeness that this cart is!

(Also, glad to see EG on the dumpster-fire that is, Twitter!)
:D

P#61027 2019-01-20 12:02

electricgryphon strikes again! Stuff like this is a big part of why I love the Pico-8 community. It feels like you're breaking the confines of Pico-8's prison.

Also, if you made a Twitter, I would totally follow you. No pressure though.

P#61086 2019-01-22 07:51
1

If you started your game around the 10th of January (which I realize might be a stretch…) you should submit it to this game jam: https://itch.io/jam/minecraft-jam

P#61087 2019-01-22 09:03

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-05-24 07:59 | 0.047s | 4194k | Q:48