Help with Things

Ohhhh wow I am stupid :rofl:

Is this right and do I need to do anything for deleting data or saving and loading?

You should remove the clear data block. It has no practical use and can erase data from other games too. Replace it with two remove key blocks instead for money and money_per_click
image

I did.

Hi, do you have a project where you use it so i can figure how it work ?

For polling: https://snap.berkeley.edu/project?user=programmer_user&project=snap%20chat

i like it but can you tell me how to setup my repl.it account for a game.

example, i want to share my position (x,y) and my direction to another app

Oh: i'm beginner...

For WebSocket meshing:
https://snap.berkeley.edu/project?user=18001767679&project=ws

I don't know what to do with this... i need explanations...

what is the purpose of websocket ?

It is just to send and receive messages in the cloud
you have to get these blocks to make it work:ws script pic
these to send a message:ws script pic (1)
these to close the system:ws script pic (2)
and these to get ready to receive a message.

Thank's

Can i share this websocket between 2 differents apps ?

Yess.

it does'nt work for me in the second app...

i open the same app into 2 different tab in the browser and the message canno't reach the second app

Did you accidentally close one socket?Browsers only run code in the current tab.

no, i don't close the socket

i'm able to send/receive in first app but the message not reached the second app (in another tab or another browser : i try with chrome and firefox)

I tryed.It's just very laggy to handshake,not completely unoperatable
Hmm...I think I did a non laggy one before.

Not laggy for me in the first app, the problem is : i don't receive the message in the second app...

If you find it, share with me plz.

I am surprised bh hasn’t responded about the bugs.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.