Update: Removed faulty game loop library, sped up game by 1000%
Up - Space
Down - Left or Right Shift
Horizontal Movement - wasd
Camera Movement - Mouse
Switch Blocks - Number Keys
Place Block - Right Click
Destroy Block - Left Click
If the repl won't load use this URL instead: https://minecraft.repl-account.repl.co/
LOL looks like we got competition. In our (Ok, tussiez mostly made it, I just helped him make it work offline and such) minecraft (sortacraft), we are making gravitational pull (with terminal velocity), as well as light blocks. We are planning to add other cool stuff too!
Ok@tussiez come check out our competition!
Btw, nice! My school blocks anything with minecraft in the url (not this post tho...), but from what I have seen in the pics gives the impression hard work.
Keep it up!
(DISCLAIMER: NOT WORKING WELL YET).
I wouldn't say the game is laggy.. it typically runs about 30-40 fps on Chromebooks, but works fine on more powerful devices. Keep in mind Chromebooks can't handle Minecraft very well (They've released Education Edition for the Chromebook, but it's a very "lightweight" version of the game)
Thanks for the feedback!
The reason why I put EST is because I don't know what time zone @lilpeen is in.. 2 EST = 1 CST
Sorry about all the confusion, I'm in school right now
srcdocattribute XD (ofc I can't load external file resources, but good for reading articles).
Nice. I created and a proxy server myself. It would not work in your case though, because in you need to put the url you want to go to in the URL. (such as https://proxy.sojs.repl.co/proxy/https:/slither.io)
You also cant log into stuff with google on it, because google is very particular about what sites you are able to login to it [email protected] Also super glitchy if u r playing multiplayer. Cant guarantee it will work.
I've made one like that at https://repl.it/@sojs/chromium-browser-1. The problem with chromium unblockers is that if u dont have hacker plan it you cant load to many sites on it otherwise it crashes (repl memory used up)[email protected] And the shift key doesnt work so you have to look up "lowercase to capitol letters to get what you want lol.
As JR says, I am indeed using WebGL for it. I store every visible block face in 1 buffer for each chunk. The faces are stored as world coordinates so that I don't need to perform any translations or transformations on them at render time.
Textures are stored in what's called a "texture atlas", which is 1 giant texture with all the other textures arranged in a grid inside it. Then when I'm building my buffers, I pass in the coordinates of the specific block texture I want to render.
At render time, I set uniforms for the camera matrix and player position (for the fog) once at the beginning of the frame. After that, I don't touch uniforms again because they're so slow. WebGL is very interesting in that it can render millions of textured triangles per frame, but it maxes out between 1,000 and 10,000 function calls per frame. So the trick is to render as much as possible in as few draw calls as possible.
Sorry about the ping, but this situation escalated really quickly. Afaik, JRStudios4 plagiarized Willard21's MineKhan?
Plus, why all the swearing? I thought Repl.it was kid-friendly..
@Unzor "tuss didn't even make it" - no I didn't make @lilpeen's game, I wrote https://sortacraft-1.tussiez.repl.co
.htaccessfiles but I might make it somehow integrated with repl so you will be able to use either.
This appears to be copied from https://notblockedgames.cf/games/minecraft-updraded.html. Can you provide an explanation as to how these two are the same?