Code Monkey home page Code Monkey logo

consolation's Introduction

At the intersection of entertainment and technology. Game / film / web dev.

I studied computer science at the University of Waterloo and filmmaking at Vancouver Film School. I founded a startup and worked at several others creating immersive experiences and tools to build them. Unity and Unreal enthusiast.

M in comedy duo The S&M Experience.

consolation's People

Contributors

ccglp avatar jhocking avatar liorbanaikama avatar mminer avatar robinnorth avatar sonnybsj avatar uchar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

consolation's Issues

Suggestion: scale font size if shakeToOpen

The text size was unreadable on my iPhone so I added a scaling factor, implicitly for iOS as I hope no one is shaking their laptops:

        void Start()
        {
            if (openOnStart)
            {
                isVisible = true;
            }

            // new line 
            logFontSize = shakeToOpen ? logFontSize * 3 : logFontSize;
        }

A small thing but could be helpful for new users.

Toggle log types

Unity's editor console allows you to toggle which types of logs are visible. This is useful when, for example, you only want to see errors when they're thrown. A similar option for the in-game console would be useful.

high resolution problem

Hi
How can i increase the size of buttons and scrolls?
It is very small in high resolution screens.

Difficult to open console by shaking

This feature is very useful, although I wonder, have you tried to use it?

I rarely manage to shake device to open console, or to close it again. Phone registers several shakes, which results in opening console and closing it again in a split second. To solve this issue, I added Thread.sleep

// Shake it again to hide console
            if (shakeToOpen && Input.acceleration.sqrMagnitude > shakeAcceleration)
            {
                isVisible = !isVisible;
                Thread.Sleep(500);
            }

Now I have half a second to give my phone a good shake, and it registered as one shake. Similar with closing console.

Build error when included in player

EditorGUIUtility.whiteTexture is referenced regardless of whether UNITY_EDITOR is defined, causing player builds to fail.
Maybe replace with Texture2D.whiteTexture ?

collpasing multip logs

The unity editor log system would collapse multip repeating logs. While this in game console only collpase last one. Not a big problem, just something to improve.

Add count badge to collapsed messages

Unity's editor console has a nice feature that displays the number of messages logged when the Collapse option is turned on. Doing this in the console would be useful.

Add shake-to-open option

The hotkey cannot open the console window on mobile devices. An alternative might be to shake the device to open it.

Namespace class

To avoid Console clashing with a developer's already-defined name, the class should be placed in a namespace. This will prevent the script from working in Unity 3 (it lacks support for MonoBehaviour classes in namespaces), but I doubt Unity 3 is used much at all any longer.

Show stack traces

So maybe this is the question not to the developers of this, but maybe you know the answer.
What should I do (is it possible) to display stack traces for exception messages?

Font resize?

I know this is not an issue, but I was wondering if it was possible to resize the text.
Awsome work and many thanks!
Have a nice day,
nikoskon

Consolation for UI (VR)

I like to use the consolation to display debug messages in a VR canvas text field, e.g., world space. The default GUI of consolation does not display anywhere in VR with the XR Interaction Toolkit.

Is there a (simple) way to adapt consolation to work with the new UI system?

Scroll To End

How can I get it to scroll to the last entry automatically?

Answer: Change line 79-ish to...
scrollPosition = GUILayout.BeginScrollView(new Vector2(0, 999999));

Open on Awake and ScriptExcution Order

I added flag to open on Awake cos you can't be so quick opening manually and also
[ScriptOrderAttribute(-9999)]//execute before all (Search for ScriptOrder Manager :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.