npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

paradr01d-deamdung

v1.5.0

Published

yet another 2D Minecraft clone

Downloads

4

Readme

DeamDung

DeamDung is yet another 2D Minecraft clone :(.

This time a better one. (Yes I know I say this every time but trust me)

What and why

So, this game is what DrillCraft was meant to be.

At that time (in January 2024) I was just experimenting with the stuff, so that code was pretty much garbage.

I am not a professional game developer, so don't expect anything real.

Technical specification

A chunk is 200 blocks wide, and 128 blocks deep (the same as in Paper Minecraft).

The chunks are stored as GZIP-compressed raw data with the corresponding coordinates.

The terrain is generated using a one dimensional Perlin noise, while the caves are generated using the 2D noise.

I am trying to write the game with mod support in mind, and by mod I mean module.

Each mod can add blocks and items, and in the future maybe biomes and dimensions.

Press "F" to render your chunk to an image. Press "H" to do the same, but with shadows. The latter one is a bit broken.

Press "R" to render the whole world to an image. Press "Y" to render it with shadows.

Why Java

DrillCraft was written in C, and it was a mistake.

Writing DC was a pain, especially only to find out that some functions I used for level saving aren't available on windows.

Faq windows.

With Java I have classes, inheritance, proper save tools etc.

And the performance is rather good.

Name

The name DeamDung comes from Diamond Dung, which is a play on "RubyDung", the original name for early versions of Minecraft (as well as a previous game of Notch).

Libraries

It uses Jaylib/Raylib for graphics.

The noise code is from https://gist.github.com/alksily/7a85a1898e65c936f861ee93516e397d

Features (TODO)

It will have a system of mods/modules.

And I think I will port the Lord of the Rings mod to it if I finish it.

I am trying to get infinite levels on board.

The infiniteness of the world

Because my brain does not quite understand how to put this all together, for now the game will use a system like that of Paper Minecraft, where there is one huge chunk loaded at a time, and it gets switched as soon as you reach its border.

But it still generates infinite.