Skip to content

raymon-zhang/Cube-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 

Repository files navigation

Cube-Game

This is a 3d voxel game made I made during covid, using Processing. It is heavily based off of Minecraft.

Playing the game

To play the game, visit the releases. Download the correct zip according to your operating system. Once downloaded, extract the files, and go inside the game folder, RaymonGame, and run the executable.

Hi

Hello

Screenshots

Screenshot (1) Screenshot (2) Screenshot (3) Screenshot (5) Screenshot (7)

Instructions for adding blocks

To add a block, follow these steps:

  • Add block texture to texture atlas.
  • Go to the blocks folder and create a file with the name of the block.
  • File Format:

    • Line 1: Block id
    • Line 2: Block id of dropped block
  • Go to items folder and create a new file with the name of the item.
  • File Format:

    • Line 1: Item id
    • Line 2: Stack amount size
    • Line 3: Left click functionality
    • Line 4: Right clock functionality
    • (Optional) Line 5: Breaking speed
  • Go to code, add texture coordinates of the block.
  • Add an icon for the item of the block in the icons folder.