Giter Site home page Giter Site logo

jessefreeman / unityrunner Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 3.0 1.99 MB

The PV8 Runner is any code that bridges the core engine to a host platform. This is an example of how to create a simple runner to play the demos in Unity.

License: Microsoft Public License

C# 99.79% HTML 0.04% Lua 0.17%

unityrunner's People

Contributors

jessefreeman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

unityrunner's Issues

Runner should use boot and load tools

Need to bundle the boot and load into the resources and have them part of the build so they can be displayed when embedding the runner in the browser.

Unity to be unable to persist setting changes

Symptoms:
Unity shows multiple warnings on project load "Ignoring asset refresh of [each setting file] because that file or it's directory couldn't be found"
Settings do not persist when you click save project
Settings to not persist when you exit Unity

Reproduce:
Change project settings, such as package name for Android.
Exit Unity.
Reload the project, observe that the original setting value is back.

A build and play works fine but the original settings still return after reloading the project.

This occurs on multiple Unity versions and multiple PCs

Resolution:
This can be resolved by deleting all .meta files from the /ProjectSettings directory

Unable to point Lua Runner to .pv8 file

Throws error that data.json file can't be found:

Exception: Can't find 'data.json' file
PixelVisionRunner.Services.LoadService.LoadSystem (System.Collections.Generic.Dictionary`2 files) (at Assets/PixelVisionSDK/Runner/Services/LoadService.cs:405)
PixelVisionRunner.Services.LoadService.ParseFiles (System.Collections.Generic.Dictionary`2 files, IEngine engine, SaveFlags saveFlags) (at Assets/PixelVisionSDK/Runner/Services/LoadService.cs:103)
PixelVisionRunner.Runner.ParseFiles (System.Collections.Generic.Dictionary`2 files, Nullable`1 flags) (at Assets/PixelVisionSDK/Runner/Runner.cs:151)
PixelVisionRunner.Runner.ProcessFiles (IEngine tmpEngine, System.Collections.Generic.Dictionary`2 files, Boolean displayProgress) (at Assets/PixelVisionSDK/Runner/Runner.cs:91)
BaseRunner.ProcessFiles (System.Collections.Generic.Dictionary`2 files) (at Assets/Scripts/BaseRunner.cs:195)
BaseRunner.LoadFromDir (System.String path) (at Assets/Scripts/BaseRunner.cs:290)
PixelVisionRunner.Demos.LuaDemoRunner.RestartGame () (at Assets/Demos/Scripts/LuaDemoRunner.cs:66)
PixelVisionRunner.Demos.LuaDemoRunner.Start () (at Assets/Demos/Scripts/LuaDemoRunner.cs:45)

Need to convert mask color to background color

When the DisplayTarget caches the colors it needs to make sure that any colors in the ColorChip that equal the mask color is set to the background color. In smaller colors palettes like black and white, shifting the color offset renders magenta to the display when it should default to the background color.

image

The final image rendered to the display shouldn't show the mask color or transparent.

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.