Giter Site home page Giter Site logo

microcraft's Introduction

MICROCRAFT

A Minicraft remake with some neat extras. Beat the fearsome AIR WIZARD to win the game!

screenshot

Some of the neat extras:

  • Mithril (new material)
  • Iron/Gold/Mithril armor
  • Fancy lighting system
  • Skeleton archers
  • Blue and red slimes
  • Cool new air wizard powers
  • Character customization
  • and much more...

Running

See Releases

See below to build and run for yourself or try to run it out of any decent Java IDE.

Please note that in order to run the .jar file directly you will need at least the Java 14 runtime installed.

Building

  • Mac: $ ./package.sh creates Microcraft-1.0.dmg which contains the application MICROCRAFT.app.
  • Windows: package.bat creates MICROCRAFT-1.0.exe file which installs MICROCRAFT.exe to C:\Program Files\MICROCRAFT.
  • With any OS and a valid JDK 14+ install, both package.{sh, bat} create out\artifacts\Microcraft_jar\Microcraft.jar which can be run on its own with java -jar out\artifacts\Microcraft_jar\Microcraft.jar

microcraft's People

Contributors

jdah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microcraft's Issues

Breaking chest doesn't drop items

I put some items into a chest, and then when I broke the chest the items didn't break. Not sure if that is intentional, but it may be a bug.

[Java 15] Can't run game with source code

image
Line 56 - Window.java

I tried to run this game with Java 15 but I recevied this error, I have checked function com.jdh.microcraft.Renderer.generatePalette() but nothing was wrong.

won't open??

hi there! i ran the "Microcraft_10.exe" and the setup ran fine however nothing else happens :( i can't open the game and can't find the game through file explorer to try and run

wont run

it just wont load when i try to run the .exe

Running Microcraft in a container

I watched the series of videos on Youtube and wanted to give this a try. I don't have java installed on my system and as a personal preference I really like to keep it that way ;-)
So I setup a Dockerfile and script based on the other scripts I use to run GUI applications in containers. This my preference but it might help someone else setup their own Docker environment to run this game.

Right now the only thing I see missing is saved game files, but it looks like that feature isn't there yet. ;-) If there are any save files generated in the future, it is pretty easy to setup a volume in the script to save them to the host.

I thought I would share the files here and you can include it if you want to.
microcraft-in-docker.zip

Tested on Ubuntu 20.04 using Docker 19.03.8

[NOT A BUG]

I don't know where to give ideas but, make a video on adding multiplayer player to the game.

How do you plant seeds?

Using a hoe on grass just digs up the ground like a shovel. Not sure how to cultivate it to plant seeds.

Compatibility problems on Linux

Greetings,

I've tried running the jarfile on both Debian and Void Linux. Unfortunately, in either case, I get a similar error on startup:

$ java -jar Microcraft_10.jar 
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jdh/microcraft/Main has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 52.0

On Void at least, my Java version is:

$ java -version
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b02)

I might have better luck compiling the source myself, but I thought I should raise the issue nonetheless.

climbed stairs twice and got index out of bounds

java.lang.ArrayIndexOutOfBoundsException: Index -257 out of bounds for length 65536
at com.jdh.microcraft.level.Level.tick(Level.java:492)
at com.jdh.microcraft.GameState.tick(GameState.java:128)
at com.jdh.microcraft.Main.tick(Main.java:79)
at com.jdh.microcraft.util.Window.loop(Window.java:177)
at com.jdh.microcraft.Main.run(Main.java:54)
at java.base/java.lang.Thread.run(Thread.java:832)

immediately upon returning to the surface. I was carrying a lantern. sometimes a damage number appears when I climb stairs...

I also have trouble de-equipping iron armor to equip gold.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.