Giter Site home page Giter Site logo

webcraft's People

Contributors

abdullabest avatar ad2018 avatar davedee avatar excuseme avatar exponenta avatar ivanpopelyshev avatar kamilgarey avatar kr0n4ik avatar kunapyanov avatar kutuluk avatar levlups avatar sciner avatar shatkoff avatar uniqueuuid 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

Watchers

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

webcraft's Issues

Broken bee model

When i try spawn bee by command:
Game.player.chat.sendMessage('/spawnmob 3880 71 2527 bee base');

I receive error in console:

mob_model.js:246 Uncaught TypeError: Cannot read properties of null (reading 'quat')
    at MobAnimation.head (mob_model.js:246)
    at MobAnimator.applyAnimation (mob_model.js:207)
    at MobAnimator.update (mob_model.js:189)
    at MobModel.update (mob_model.js:384)
    at MobModel.draw (mob_model.js:390)
    at Renderer.drawMobs (render.js:523)
    at Renderer.draw (render.js:434)
    at GameClass.loop (game.js:351)

License file

Hello, can you please add a License file and use a license for your Project?
Maybe the same as prismarineJS (MIT License)?

Thank you.

Problem with playing the demo

Hey, so when I try to play the demo on the website, it says bad gateway and everything’s fine but it says host error in so I’m trying to figure out what’s going on

Block mining lag & see through

When you mine blocks, they disappear slowly and you can see through the whole world.
Also when you mine blocks under another player, the player is not falling down to the blocks underneath.

getting error when running

Debugger listening on ws://127.0.0.1:9229/b3cf079b-097c-4cbd-ba79-7dba6f75138a
For help, see: https://nodejs.org/en/docs/inspector
file:///C:/Users/nabil/OneDrive/Bureau/webcraft-dev-chunk-batch/node_server/index.js:16
import features from "../www/vendors/prismarine-physics/lib/features.json" assert { type: "json" };
^^^^^^

SyntaxError: Unexpected identifier
←[90m at Loader.moduleStrategy (internal/modules/esm/translators.js:145:18)←[39m
←[90m at async link (internal/modules/esm/module_job.js:47:21)←[39m
Press any key to continue . . .

Error this.getDirectoryCTime undefined when run on macOS

Hi @sciner
I checkout the latest commit and run but i got this error on macOS:

Last login: Fri Sep  3 23:38:13 on ttys000
apple@Apples-iMac webcraft % go run ./main.go 
# whiteframe.ru/webcraft/Type
Type/World.go:37:24: this.getDirectoryCTime undefined (type *World has no field or method getDirectoryCTime)
apple@Apples-iMac webcraft % 

How to run webcraft on MacOS

Hi
I am trying to run: go run ./main.go
But I have this error on the terminal, please help

# runtime/cgo
In file included from gcc_darwin_amd64.c:6:
/usr/local/include/pthread.h:331:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/usr/local/include/pthread.h:200:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
/usr/local/include/pthread.h:331:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/usr/local/include/pthread.h:200:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
/usr/local/include/pthread.h:540:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/usr/local/include/pthread.h:200:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
/usr/local/include/pthread.h:540:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/usr/local/include/pthread.h:200:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'

go version
go version go1.16.6 darwin/amd64

getting error when destroying my first block and whole game gets stuck

Uncaught TypeError: lastBuffer.destroy is not a function
at TrivialGeometryPool.alloc (GeometryPool.js:28:24)
at Chunk.applyVertices (chunk.js:262:65)
at ChunkManager.prepareRenderList (chunk_manager.js:282:27)
at Renderer.update (render.js:516:12)
at GameClass.loop (game.js:477:25)

Jesus

Lets take a moment to admire how smart this sciner kid is. This is a massive project that runs completely in the web and uses java texture packs. He wrote all of the shaders which are ridiculously complicated, and decided to not even use a library like threejs. I am in awe

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.