Replies: 1 comment 2 replies
-
I'd run an Ebitengine application as a different process with os/exec. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A weird one, but humour me please! :) For me, Ebiten is not the main application - it's a sub-application within my application that should be stopped and started again when the user does something.
I notice that I cannot call
RunGame()
twice because of a global variable (isRunGameEnded_
) preventing this. Even after finishing the run loop by returning anerror
, and even with manually callingdefer atomic.StoreInt32(&isRunGameEnded_, 0)
after this in a fork, it doesn't work.Does anyone know of a way that I could to stop
ebiten
, and then continue running it at a later date? Doesn't have to go into the main repo, I'm okay with keeping this 'weird' one in a fork.Beta Was this translation helpful? Give feedback.
All reactions