Skip to content
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

Play-mode console support #1

Open
ZimM-LostPolygon opened this issue Jul 28, 2015 · 13 comments
Open

Play-mode console support #1

ZimM-LostPolygon opened this issue Jul 28, 2015 · 13 comments

Comments

@ZimM-LostPolygon
Copy link

Lunar looks great. But I'm really curious - are there plans for adding a console feature to the actual game builds, not just as an Editor window? That'd be really helpful and increase the use number of use cases Lunar can be used in.

@weeeBox
Copy link
Member

weeeBox commented Jul 28, 2015

The answer is "yes"!

This feature is incubating and will be released soon. On top of that, mobile phones will use a powerful native UI.

@ZimM-LostPolygon
Copy link
Author

Great! :)
Will the in-game console UI be based on IMGUI or on the newer uGUI stuff?

@weeeBox
Copy link
Member

weeeBox commented Jul 28, 2015

I'm trying to build a prototype with immediate mode GUI: still not sure about the final result. I want to have a minimal impact on production titles and an easy way to take the plugin from release builds.

@ZimM-LostPolygon
Copy link
Author

That's understandable. Still, I can think of the use case of leaving the console in the release builds to allow the end-user fine-tune the configuration, the way it is in Quake III.
Oh, and just a hint, in case you didn't know: scene GameObjects with "EditorOnly" tag are not included in the release builds.

@weeeBox
Copy link
Member

weeeBox commented Jul 28, 2015

Thanks for the hint!

I'll keep you posted as progress goes!

p.s. which platforms do you target?

@ZimM-LostPolygon
Copy link
Author

Desktop, mostly. Can't really think of a convenient way to use the console on a mobile device.

Unless... Here's an idea: remote console. You type the commands in the editor, the commands are executed on the remote device, and you get the output back to the Editor console.

@weeeBox
Copy link
Member

weeeBox commented Jul 28, 2015

This feature was in the early prototype but was never released :)

@ZimM-LostPolygon
Copy link
Author

Well, it'd be nice to have it reborn someday :) Typing in commands on a mobile device would be a real pain if you are testing a lot of different stuff, and this feature could solve it easily.

@weeeBox
Copy link
Member

weeeBox commented Jul 28, 2015

Just wait for mobile part to be released ;)

@cxbxmxcx
Copy link

I have converted the Editor console to an in game player console with a UGUI interface.

image

There is a screen shot showing the console running in a built version on Windows desktop but it should support other platforms as well.

If there is interest let me know and I can either provide the source.

Cheers,

JS

@weeeBox
Copy link
Member

weeeBox commented May 14, 2016

That's great!

I haven't been working on the plugin for a long time: was drown in other projects and VR. Sure, create a pull request when you're done and I can publish the update on the Asset Store! If you have any sources on the code base - feel free to ping me.

@cxbxmxcx
Copy link

I had to remove the Editor in order to get it to work quickly as a runtime console. The use of statics in the code was causing too many conflicts when I tried to run unattached in a built version.

I could push my extension in as an example of a standalone runtime player console?

JS

@weeeBox
Copy link
Member

weeeBox commented May 16, 2016

Hey JS

I'm not quite sure about the statics issues but we can figure it out. Share
your code!

On Sun, May 15, 2016 at 11:39 AM, cxbxmxcx notifications@github.com wrote:

I had to remove the Editor in order to get it to work quickly as a runtime
console. The use of statics in the code was causing too many conflicts when
I tried to run unattached in a built version.

I could push my extension in as an example of a standalone runtime player
console?

JS


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants