-
Notifications
You must be signed in to change notification settings - Fork 79
Code for episode 14 #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
yay |
|
Can you please add a menu and infinite worlds too? |
|
And maybe multiplayer? |
Infinite worlds are quite trivial to do, the problem is rather with chunk generation performance. I don't know if menus will be covered by a tutorial per se, but the one on 2D interface elements will come soon (right after episode 13 on mobs).
That's planned, but not for the moment ;) |
|
This pull request introduces 18 alerts when merging 5f57e91 into 8ee716a - view on LGTM.com new alerts:
|
|
how about a villager mob? |
|
maybe you can set a trading system |
|
yeah that would be fun, once a UI system is in place! maybe to be added in the community directory because that's a bit out of scope for the episodes. |
|
Obiwac didn't add a bottom texture or smt is true :) i checked the texture folder |
|
of the torch i mean |
|
@obiwac i cannot spawn mobs, i tried to press p continuously |
|
hey, E is the key to press to spawn a mob, P doesn't do anything |
|
@obiwac Includes: OBJ model loader (could possibly be split into a separate tutorial?). (Instead, there's currently a converter script to convert Bedrock models to MCPY block model files. I might change my mind on this again though...) |
|
@obiwac |
|
you have to add them as new entity types |
@obiwac How to add new entity types? |
To note: this was originally intended to be episode 13. Now, this will be episode 14, and episode 13 will be about general code cleanup and optimization.
Includes:
OBJ model loader (could possibly be split into a separate tutorial?).(Instead, there's currently a converter script to convert Bedrock models to MCPY block model files. I might change my mind on this again though...)data/entities.mcpy). They can be spawned by pressing P.An instanced rendering system for rendering entities.(In the end, the bottleneck is by far from computing physics & collisions for entities, not from draw calls. Also incompatible with animation model.)(may end up in a future episode).The different entities include the player, pigs, zombies, skeletons, creepers,
spiders, sheep, giants, slimes,and cows.Will merge when the episode comes out on my YouTube channel!