Skip to content

I am a beginner to Ebiten #1525

Answered by hajimehoshi
DAT4 asked this question in Q&A
Mar 4, 2021 · 1 comments · 14 replies
Discussion options

You must be logged in to vote

Hi, thank you for using Ebiten!

Would it be better just to send the actual coordinates of the player over the websocket, and use them and in that case. Is there a function I can use to put the player in that spot instead of translating all the time?

This sounds like a general game system design question, rather than a question about Ebiten. I don't have a good answer but I'd make the server have the master data and each client render them as the easiest way.

Also I had some problems when I was trying to compile to wasm. Most of the time I got errors in the browser, and then when I got it to work then it didn't register me pressing the buttons for movement.

What kind of error did you get?

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@DAT4
Comment options

@AWachtendorf
Comment options

@hajimehoshi
Comment options

@hajimehoshi
Comment options

@DAT4
Comment options

Answer selected by hajimehoshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants