Skip to content

pachuru/Minecraft-in-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft-in-Unity

My First personal project in order to Learn Unity and C#.

In this Project I'll try to create a Voxel Game from Scratch using Unity and not having any knowledge about the Game engine and C#, only knowing a little bit about C++.

First Result

The first "Successfull" result that I've got is this attempt of creating an abstraction of a "Minecraft world" by creating three clases: Block, Chunk and World. This is the final result:

As you can see I've been able to create separate Chunks of variable Size in different positions wich is actually a result that I'm very proud of at this moment taking in account that I had no idea about anything.

But there's a huge problem.

It only exist one Mesh which is actually the World Mesh that contains every vertex of every block inside every Chunk, that's actually a huge problem because I can't modify each block mesh characteristics (for example, textures). I had to make that because I haven't found a way yet to successfully interact between two MonoBehaviour derived classes.

I've to figure out how to create different meshes for different type of blocks so I can change any of those blocks during the execution of the program, and how to merge those individual meshes in order to create a Chunk and eventually a World.

About

First little project in order to learn Unity and C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages