Agent's Minecraft Mechanics Example

I’ve seen so many people try and make minecraft clones, so here’s an example on how to make block breaking that let’s you only break blocks that are near you, and more specifically in your field of vision

All the important behaviors are in “Block Parent” and then when you want to make a new block it should be a child of “Block Parent” and have a durability set like this

image

The lower the durability to faster a block breaks, obviously

6 Likes

If anyone has any other simple mechanics they think I should add I’m open to suggestions

(blocks dropping and an inventory would probably be too much but other things perhaps)

3 Likes

I already know a simple way to make blocks drop and I could give you the bundle

If I want to make it, I’ll figure it out myself thanks

1 Like

Made it looks swag

1 Like

You could treat this example as a sandbox test and have a building mechanic as well. I probably wouldn’t focus on an entire inventory system, unless you plan to make this an entire Minecraft Base pack, since that would basically make up the entire game.

With the idea of being able to break blocks within your peripheral vision, you could include another mechanic that allows you to place blocks in an open space within your field of view as well. The only downside is that Sand is a gravity block, so it would technically fall until it hits another solid block unlike the rest.

Another slightly more complicated thing is that you already have two variations of solid blocks and a gravity block (once falling is added), then you could add water or a block with liquid properties. I don’t know if it’s ever been done in a platformer game before, but I’m sure a Terraria style water system wouldn’t be impossible to make.

1 Like

the walk animation is SOOO smooth

I love it!

1 Like

I didn’t make it but thanks

1 Like

Yeah that would be cool

1 Like

If I could like this 50 times, I would.

As a big time Minecraft player, this is Big stuff right here!

The walking is SO smooth and the block’s animations are amazing too!

Like I said in the description I didn’t make their of those things, it’s a terraria texture-pack that replaces with guide with Steve and the blocks and breaking animation are from the Faithless minecraft texture pack

3 Likes

Added falling blocks, only sand and gravel right now but I can add more easily

Blocks also drop “items” now, it’s only one item but it’s just a test

1 Like

How did you do the black outline for the terrain? Its really good.

You have to make a sprite with a lower display value and have it be basically a black version of said sprite but make it 1 pixel bigger.

3 Likes

Yeah what he said, you can look at the objects, it’s called Block Outline.

2 Likes

May you please add Creative mode and settings to switch to Creative or Survival?

I’ve barely even added any game mechanics and you already want modes? Chill out

2 Likes

He was just asking. :slight_smile:

Making a sidscroller Minecraft simulation isn’t easy. It could be fun to add in the future. (Fun for the player, of course.)

Where is it spawned? I am having trouble digging through the code, sorry.
(The outline)