Skip to content

use ex.Engine without canvas (disable all drawing processes) #3033

Answered by eonarheim
plemnoooooo asked this question in Q&A
Discussion options

You must be logged in to vote

@plemnoooooo Good question! A more official feature is planned to support a headless mode, but unfortunately it's a fair amount of work to untangle the drawing/browser dependencies from the core loop.

A few folks have had luck providing a shim for the draw to effectively disable it #2759 (reply in thread)

Other folks have taken the approach re-implementing physics/movement on the server for the purposes of multiplayer, they also wind up running at a slower tick rate as well.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by plemnoooooo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants