-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add initial communication between game and editor #1320
Add initial communication between game and editor #1320
Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1320 +/- ##
==========================================
- Coverage 37.51% 37.41% -0.10%
==========================================
Files 409 410 +1
Lines 33059 33195 +136
==========================================
+ Hits 12403 12421 +18
- Misses 20656 20774 +118 ☔ View full report in Codecov by Sentry. |
db5872a
to
d32e758
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't do an in-depth review because I don't wanna delay it, but after skimming through, it looks good to me.
d32e758
to
a076aaf
Compare
a076aaf
to
6732168
Compare
Description
Adds remote debugging to Cubos. Basically, the Cubos class now parses its incoming command line arguments.
If
--debug <port>
is passed, then, instead of immediately starting and running the game, it waits for a TCP connection on that port. When a connection is accepted, it listens for commands, such as:run
- makes the application resume running.pause
- makes the application stop and wait for further commands.update <N>
- makes the application run its update systemsN
times.close
- closes the application.disconnect
- closes the connection. The application starts listening again for another connection.Also adds a simple UI tool to test this functionality inside Tesseratos.
Checklist
Ensure test coverage.(too troublesome to test right now, we don't have time for that in 0.4 😔)Write new samples.(works with any existing sample)