#Chess (multiplayer)

1 messages · Page 1 of 1 (latest)

hazy edge
jolly igloo
#

Chess in a realm would be crazy lmfao

hazy edge
jolly igloo
hazy edge
#

yes

fresh socket
#

I love it

jolly igloo
silk pelican
#

WOAH. How did you manage to play the move instantly without a slight flickering? I’ve already made a few chess computers for MCPE, but I’ve never seen that happen before in any of my experiments.

drifting arch
#

npc ui

#

I guess

#

or disabled screen anims - form

silk pelican
#

It’s not that tho, that would still have the flicker

drifting arch
#

bruh

#

I see this flickering

#

look on phone buttons on top to pause chat emote

#

he could use e.g. form values and then use them in HUD

dark shuttle
#

Action forms I presume?

dusty cypress
# hazy edge

how do you update the form without any player interaction

hazy edge
dark shuttle
#

It is multiple forms right?

hazy edge
#

yeah 3, black side, white side and spectator

dark shuttle
#

So all the logic for moving the pieces is in the JSON UI?

hazy edge
dark shuttle
#

All the pieces are buttons, and places to move to are form buttons right?

hazy edge
#

all the pieces are just HUD images, but the places to move and movements are form.buttons

dark shuttle
#

So are you adding/removing buttons? If yes then how are you opening a new form each time?

hazy edge
#

it will first render the board and both players will see the piece when moved

#

then when interacting with it will first update the form then make the move

dark shuttle
#

So it is opening a new form each time an interaction happens?

hazy edge
#

yeah

dark shuttle
#

And you removed the animations and stuff with JSON UI so it looks instant?

hazy edge
#

since i also added "suggested moves"

dark shuttle
#

Ah, ok cool thanks

#

One more thing, would that break other custom ui forms?

hazy edge
#

no dont worry

#

as long as they dont name the form Chess:black or Chess:white

dark shuttle
#

So it uses modifications?

hazy edge
dark shuttle
#

So if I had a different form where the UI relied on the name being "Stats", both addons could work fine?

hazy edge
#

yes

dark shuttle
#

Ah cool

hazy edge
#

same things for the actionform

next narwhal
eager stratus
#

Amazing

rugged cave
hazy edge
rugged cave
#

oh, so you are using HUD to update a board?

hazy edge
#

yes

rugged cave
#

oh i get it now

#

really coool

hazy edge
#

thank you

rugged cave
#

so somehting like title or what?

hazy edge
#

exactly

rugged cave
#

coool, really powerful

#

i wish the JSON-ui stuff were more easy or better documented

hazy edge
rugged cave
#

I have learned like just 5% of it and i am done

#

💀

#

at least some kind of conditional rendering i know

#

you are the true hero here lol

hazy edge
#

no it's not me it's @neat anchor

#

the one who taught me everything

dusty cypress
#

when the other player moves their piece

#

does that close the previous form?

#

cuz it didnt do that when i tried from what i remember

#

had to interact with it to close it and open a new one

hazy edge
#

it doesnt close the form made with scriptapi

dusty cypress
#

then how do you update the form

#

?

#

wdym

#

do you like send a title or a chat message or something and use that to conditionally render a different image or something

#

orrr what

#

im confused

dusty cypress
#

ah

#

wish we could communicate with json ui more easily

rugged cave
#

its really coool

dusty cypress
#

thought it was something like this but hoped they found a different way

hazy edge
#

it took me 5 sleepless nights so now my brain is not capable of handling a normal conversation

dusty cypress
#

understandable

#

json ui makes me want to

hazy edge
#

same

vocal hazel
#

I think it’s worth designing the Minecraft chess style. You can make not just pixel figures, you can make them in the form of mobs, for example, black: king - evoker, rook - vindicator, horse - rаvager, bishop - pillager. But still, what you did is truly brilliant, it especially seems impossible for those who do not understand scripts (like me)

hazy edge
#

this is still a work in progress

#

but i would prefer replicating the original game so that people who dont play minecraft dont get confused

neat anchor
#

looks beatiful!

hazy edge
#

Now, A.I implementation was made possible thanks to @silk pelican , who generously contributed to the project out of love for itsv_heart_mini

#

I'll probably post it tomorrow since i havent fully converted to his Chess engine

summer vortex
#

How did you live update the form

#

Without reset

#

@hazy edge

silk pelican
summer vortex
#

thx for tryn to explain it