craft
craft copied to clipboard
Top-down 2D game engine for the Craft app type. See NOTICE for restrictions on use.
Hi My son just completed the hour of coding. It is really helpful. Just wonder if you are planning to develop the feature allowing python coding for further improvement.
Resurrect the changes in [PR #529](https://github.com/code-dot-org/craft/pull/529/files#diff-894dfbadc994764b5b510d470f495021L675) to draw the underwater overlay without the WebGL shader. Not clear yet if the shader is causing issues on low-end Chromebooks, but creating this...
I don't think we'll want to merge this until we _also_ ship the unbuild files to npm. Otherwise we'll double-include the `babel-polyfill` when importing the built `dist/main.js` in the main...
Prereq for https://github.com/code-dot-org/craft/issues/459
In all other versions of craft, the blocks highlight as they are executed. In Aquatic, however, the most-recently-selected block stays highlighted throughout runtime and the executing blocks do not highlight....
I've selected for refactoring 37 lines of code which are duplicated in 3 file(s) ([1](https://github.com/code-dot-org/craft/blob/9db1d6c80e8832e06ef0fdef4e092038b0a6b47a/src/js/game/Entities/Creeper.js#L33-L76), [2](https://github.com/code-dot-org/craft/blob/9db1d6c80e8832e06ef0fdef4e092038b0a6b47a/src/js/game/Entities/IronGolem.js#L32-L75), [3](https://github.com/code-dot-org/craft/blob/9db1d6c80e8832e06ef0fdef4e092038b0a6b47a/src/js/game/Entities/Zombie.js#L99-L142)). Addressing this will make our codebase more maintainable and improve [Better Code Hub](https://bettercodehub.com)'s...
Loops in Minecraft Designer are executed after all other code, regardless of where the loop appears in the program. Examples:  Expected: Turn...
Repro in Minecraft Designer:  Expected: Turn left, attack, move forward Observed: Turn left, move forward, attack
`gameControllerConfig.Phaser` is only used in GameController.js: https://github.com/code-dot-org/craft/blob/3c2fc9506136fd32164ea8c3cadd826acb53a07e/src/js/game/GameController.js#L45 But all of LevelView.js still references the global `window.Phaser`: https://github.com/code-dot-org/craft/blob/3c2fc9506136fd32164ea8c3cadd826acb53a07e/src/js/game/LevelMVC/LevelView.js#L30
Ref: https://github.com/code-dot-org/craft/blob/70e7f4f09f6ee9bc2ce011f89b5ec28f36fab949/demo/js/phaser.js