Browse Source

Reworked README

pull/2/head
Ryan Reed 1 month ago
parent
commit
db7fcac173
1 changed files with 2 additions and 17 deletions
  1. +2
    -17
      README.md

+ 2
- 17
README.md View File

@ -2,22 +2,7 @@
## Overview
Building something similar to Minecraft
Building a Minecraft clone of sorts to learn Godot.
Based on Sable Spirit Studio's YT series
This was initially based on Sable Spirit Studio's YT series but has evolved to be quite a bit different.
## Notes
My code tends to diverge quite heavily at times as I worked out better methods of performing certain actions.
For instance, he went through a lot of work creating collision shapes for each block face and then using that to determine what face the player was looking at. However, I found the following basically removed any need for such complicated collision shapes and code:
```
if Input.is_action_just_pressed("right_click_interact"):
EntityManager.create_block.emit("001", collider.position + get_collision_normal())
```
1 line of code replaced a very large amount of code and changes that were implemented in his `Create Blocks` video.
I also moved some actions to signals as I prefer this method.

Loading…
Cancel
Save