Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fredboy/cavedroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | Русский

CaveDroid

Android CI Ktlint GitHub Tag

CaveDroid is a 2D Minecraft-inspired game for Android, Desktop (Windows, Linux, macOS), and potentially iOS. Explore, mine, and build in a looped world.

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6


Features

  • 2D world, looped horizontally
  • Craft, mine, and explore
  • Procedurally generated world
  • Cross-platform: Android, Desktop (Windows/Linux/macOS), iOS (untested)
  • Single-player mode (multiplayer not available yet)

Controls

Action Touch / Mobile Keyboard / Mouse
Move left/right Drag joystick on left half A / D
Jump Tap left side or press jump button Space (jump mid-air in Creative = fly)
Move cursor / aim Drag on right side Move mouse
Break block Hold right side LMB while aiming at block
Place block (background layer) Hold right side while aiming empty cell RMB while aiming empty space
Activate / Use / Place active block Tap right side RMB click
Attack mob Tap while aiming at mob LMB click
Open inventory Chest button E
Inventory: pick up / move Drag-n-drop, tap Click to pick up, Right-click for half stack or place single item
Inventory: move single item (touch) Hold item with one finger + tap target cell with another N/A

Binary Releases

You can download APK and JAR builds from the releases page.


Build Instructions

Android

./gradlew android:assembleDebug

Desktop

./gradlew desktop:dist

On Windows, use gradlew.bat instead of ./gradlew, though it will fail because of symlinks used to reference assets directory, so some tweaks are required.

Setting up the keystore for signing

To build an android release and enable the desktop:generateSignedJar task for release builds, you need a keystore.properties file in the root of the project.

Create a file named keystore.properties with the following properties:

# Path to your Java keystore file
releaseKeystorePath=/path/to/your/keystore.jks

# Keystore password
releaseKeystorePassword=yourKeystorePassword

# Alias of the key to use
releaseKeyAlias=yourKeyAlias

# Password for the key
releaseKeyPassword=yourKeyPassword

License

Code

CaveDroid is licensed under the MIT License. See LICENSE for details.

Assets

  • Textures: Pixel Perfection by XSSheep, licensed under CC BY-SA 4.0
  • On-screen joystick: CC-0 from OpenGameArt.org
  • Font: LanaPixel by eishiya, licensed under CC BY 4.0
  • Scripts: Various scripts from Stack Overflow are distributed under their applicable licenses

Licensed assets have an attribution.txt file in their directories with applicable attributions.


Contributing

Contributions are welcome! Please open issues or pull requests for suggestions, bug fixes, or improvements.

About

2D Minecraft clone for Android and desktop

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Languages