Skip to content

2023년 UNIST HeXA 스터디 - Rust 기초 프로그래밍 + 마인크래프트 만들기

License

Notifications You must be signed in to change notification settings

utilForever/2023-UNIST-Rust-Minecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2023-UNIST-Rust-Minecraft

2023-UNIST-Rust-Minecraft is the material(lecture notes, examples and assignments) repository for learning Rust programming language and making simple Minecraft clone game that I'll teach the club 'HeXA' at UNIST in the winter of 2023.

Contents

  • Week 0 (1/11) [Lecture]
    • Introduction
  • Week 1 (1/18) [Lecture] [Assignment] [Solution]
    • A Tour of Rust, Part 1
    • Assignment #1
  • Week 2 (1/25) [Lecture] [Assignment] [Solution]
    • Explain Solution of Assignment #1
    • A Tour of Rust, Part 2
    • Assignment #2
  • Week 3 (2/1)
    • A Tour of Rust, Part 2
    • Assignment #2
  • Week 4 (2/8)
    • Explain Solution of Assignment #2
  • Week 5 (3/1) [Lecture] [Assignment] [Solution]
    • A Tour of Rust, Part 3
    • Assignment #3
  • Week 6 (3/10) [Lecture]
    • A Tour of Rust, Part 4
  • Week 7 (3/15) [Assignment] [Solution]
    • A Tour of Rust, Part 4
    • Assignment #4
  • Week 8 (3/22)
    • A Tour of Rust, Part 5
    • Assignment #5
  • Week 9 (5/10) [Code]
    • Making Minecraft, Part 1
      • Project Setup
      • Make a Simple Window using gl and glfw
        • The Main Loop
        • Double Buffering
        • Event Pooling
  • Week 10 (7/18)
    • Making Minecraft, Part 2
      • Color Batch Rendering
        • Drawing a Quad
        • Make a Shader
          • Vertex Shader
          • Fragment Shader
      • Event Processing
  • Week 11 (8/1)
    • Making Minecraft, Part 3
      • Texture Batch Rendering
        • Create a Texture
        • Texture Mapping
      • Debugging
      • Show FPS
  • Week X (1/24) [Code]
    • Making Minecraft, Part X
      • Chunk Manager for Improving Performance
        • Reduce the draw call for regenerating the chunk
  • Week X (1/31) [Code]
    • Making Minecraft, Part X
      • Improve Performance
        • Block Face Culling
  • Week X (2/16) [Code]
    • Making Minecraft, Part X
      • Simplex Noise
      • Improve Performance
        • Use raw pointers for the VBO instead of Vec
  • Week X (2/23) [Code]
    • Making Minecraft, Part X
      • Support for different textures per block side
      • Code Refactoring
        • Move some type aliases to another files
  • Week X (2/28) [Code]
    • Making Minecraft, Part X
      • Transparent Blocks
      • Trees
      • Code Refactoring
        • Delete unused files
      • Improve Performance
        • Reinitialize the VBO each time a chunk has been invalidated
  • Week X (3/6) [Code]
    • Making Minecraft, Part X
      • AABB Collision Detection
      • Fix bugs with the player movement
        • Jump key spam issue
  • Week X (3/13) [Code]
    • Making Minecraft, Part X
      • Fixed Timestep Physics
  • Week X (3/21) [Code]
    • Making Minecraft, Part X
      • Fix bugs with the player movement
        • Make player physics framerate independent
      • Code Refactoring
        • Replace magic numbers with constants
        • Extract all useful constants to a separate file
  • Week X (4/7) [Code]
    • Making Minecraft, Part X
      • Code Refactoring
        • Split main into multiple files
        • Move some functions for readability
        • Rename some symbols
  • Week X (4/28) [Code]
    • Making Minecraft, Part X
      • Code Refactoring
        • Replace triple for loops with BlockIterators
      • Add a crosshair in the center of the screen
        • Implement a base system for GUI
  • Week X (5/4) [Code]
    • Making Minecraft, Part X
      • Add Block Outline
        • The block that the player is looking at
      • Draw The Hotbar Texture at the bottom of the screen
      • Add Basic Lighting System
  • Week X (5/12) [Code]
    • Making Minecraft, Part X
      • Implement Hotbar and Inventory System
      • Refactor GUI rendering code
  • Week X (5/19) [Code]
    • Making Minecraft, Part X
      • Implement Ambient Occlusion
      • Fix lag spike when updating chunks
  • Week X (6/1) [Code]
    • Making Minecraft, Part X
      • Implement Interpolation System using trait Interpolatable
      • Apply interpolation to the physics system and FOV
      • Implement Timer for global time management and pause/resume
      • Implement flying trigger interval
  • Week X (6/30) [Code]
    • Making Minecraft, Part X
      • Implement Particle System
      • Spawn white particles when breaking blocks

References

How To Contribute

Contributions are always welcome, either reporting issues/bugs or forking the repository and then issuing pull requests when you have completed some additional coding that you feel will be beneficial to the main project. If you are interested in contributing in a more dedicated capacity, then please contact me.

Contact

You can contact me via e-mail (utilForever at gmail.com). I am always happy to answer questions or help with any issues you might have, and please be sure to share any additional work or your creations with me, I love seeing what other people are making.

License

The class is licensed under the MIT License:

Copyright © 2023 Chris Ohk.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

2023년 UNIST HeXA 스터디 - Rust 기초 프로그래밍 + 마인크래프트 만들기

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published