Open Hacker1254 opened 3 years ago
Remember you disabled the flying code, you can just reuse that.
They are a LOT of bugs tho
let me try
But we can iron them out l8r
💯
I will make a git respository
ok?
Go to https://github.com/Hacker1254/MineKhan-Modded, and you can see the flywater.html.
ok, ima test it out
One small problemo, you can fly if you don't touch any other block.
ok i see the main bug, this is what causes the water to be wonky, the game thinks your still in/ over water, i speed up a part of the game to combat this ( it really improved the xyz cords!),
ye.
But I think we can leave it like this 4 now
yea
how did you put that in?
It makes a variable called liquid, and if that variable is true, it makes you able to jump infinitely.
Nice
We can make the water physics better later.
yea
whats next
Flowers?
Yes!
how do you think we are gonna do this?
You just make an "X" shape in the js.
oh, uh
Like in real minecraft.
ok, do you think you can code it and i get the textures, i dont know were to start with that 😓 im not good at Js sorry
That's ok. but remember, the textures have to be symettrical.
I have a texture for poppies.0g0gd000000004jkcu704k17nj04k6txb05oxatb0fjd9mn0iv8e7z0qmx1q712uf5rz13ydk3j1f22ygv1lpt7nj1vpem7z0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa000000000000a78ab0000000000bb56990000000000ccb99000000000000b310000000000000004000000000000000400000000000000040000000000003404044000000000030230000000000000313000000
yea, on my home pc i have all of the MC textures ripped, but i forgot to copy em on my school Chrombook
lmao what if we had this as the Minekhan textures https://github.com/jasonjgardner/jg-rtx
Oh god...
Full RTX
for (let i = 0; i < 16; i++) {
for (let k = 0; k < 16; k++) {
ground = this.tops[k * 16 + i]
if (trees && random() < 0.04 && this.getBlock(i, ground, k)) {
top = ground + Math.floor(4.5 + random(2.5))
this.setBlock(i, ground + 1, k, blockIds.poppy | FLOWER)
}
}
}
for (let i = 0; i < 16; i++) {
for (let k = 0; k < 16; k++) {
ground = this.tops[k * 16 + i]
if (trees && random() < 0.02 && this.getBlock(i, ground, k)) {
top = ground + Math.floor(4.5 + random(2.5))
this.setBlock(i, ground + 1, k, blockIds.dandelion | FLOWER)
}
}
}
for (let i = 0; i < 16; i++) {
for (let k = 0; k < 16; k++) {
ground = this.tops[k * 16 + i]
if (trees && random() < 0.009 && this.getBlock(i, ground, k)) {
top = ground + Math.floor(4.5 + random(2.5))
this.setBlock(i, ground + 1, k, blockIds.vines| FLOWER)
}
}
Thanks
That be it for generation.
All I have to do now, is to make an "X" shape.
oo now that we are adding more blocks, we need to add scrolling and a search bar to the inv
Ye, but that should be done automatically.
oh, well than i guess just the search bar
Oooh, that's going to be hard!
VERY hard!
yea
We can just experiment first before doing that.
Brb switching classes
Ok. What was the class?
I have a writing assiment, so it will be a bit also its Spanish
ok. I guess that's it for today. Bye!
ok im back
Sorry, I can't join you for today. also, do u live in america? because I live in england
yea
Ok this is where we now chat