Coder Social home page Coder Social logo

iajwastooshort / pycraft Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 4.0 29.78 MB

PyCraft is a recreation of Minecraft in Python 3 made with PyGame

Home Page: https://iajwastooshort.github.io/PyCraft

License: GNU General Public License v3.0

Python 100.00%
python minecraft python-minecraft pycraft

pycraft's Introduction

PyCraft Tweet

PyCraft is a recreation of Minecraft in Python 3 made with PyGame.

Table of Contents

Installing

Download the latest release, extract the zip, and run the exe.

Or run it locally

$ git clone https://github.com/IAJWasTooShort/PyCraft.git
$ cd PyCraft
$ pip install -r requirements.txt
$ python3 main.py

Contributing/Issue Reporting

Make an issue with any bugs you have found.

Feel free to make a pull request with updates you have made.

Todo:

Task Not Started Doing Done Buggy
Main Menu
Loading Screen
Tree Rendering
Crafting
TNT Timer
Capitalise Item Names
Fall Damage
Make To-Do List

Controls

Key Function
W Move Forward
S Move Backward
A Move Left
D Move Right
Space Jump
E Open Inventory
U Choose an Item
P Get The Item
1-9 HotBar Slots
F3 Debug (laggy)

pycraft's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pycraft's Issues

ModuleNotFoundError: No module named 'memory_profiler'

I am getting this ModuleNotFoundError when i run main.py file in powershell and the same in command promt

To Reproduce
Steps to reproduce the behavior:

  1. clone The Git Repo
  2. Cd in to the folder
  3. and run with python mian.py
  4. See error

Expected behavior
I expected to see a window appear

Screenshots
pygame 2.0.1 (SDL 2.0.14, Python 3.9.2) Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "C:\Users\user\PyCraft\main.py", line 19, in <module> from game.entity.Player import Player File "C:\Users\user\PyCraft\game\entity\Player.py", line 5, in <module> from game.Scene import Scene File "C:\Users\user\PyCraft\game\Scene.py", line 1, in <module> from game.items.ItemHandler import ItemHandler File "C:\Users\user\PyCraft\game\items\ItemHandler.py", line 2, in <module> from game.world.worldGenerator import worldGenerator File "C:\Users\user\PyCraft\game\world\worldGenerator.py", line 8, in <module> from memory_profiler import profile ModuleNotFoundError: No module named 'memory_profiler'

Desktop (please complete the following information):

  • OS: Winodws 11
  • Version I do not know what to put here

Additional context
Add any other context about the problem here.

Hello, I recommend an update of...

I managed to get your game working again and it's incredible, how long did it take you?

  1. Delete opengles from the imports, it is useless and it no longer exists, 2. replace:
    image = pyglet.image.load(d + '/' + file) texture = image.get_mipmapped_texture()
    with:
    if file!="pycrafthd.png": image = pyglet.image.load(d + '/' + file) texture = image.get_mipmapped_texture()
  2. Replace the main font with another (for me it did not load (uner error)) and finally (important) put an alternative to the vision control with the arrows (the mouse barely works and it's very annoying), sorry if my English is not very good I use google translate (I'm French)

Thanks

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.