Giter Site home page Giter Site logo

gast's People

Contributors

ahujadishaan avatar m4gr3d avatar

Stargazers

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

Watchers

 avatar

gast's Issues

Cannot get core plugin working with Godot Android build template

Note: I edited this issue since the first time I submitted this, because it was ranty and not very reproducible.

I have been unable to reproduce the "edit text sample" from this project in a separate Godot project, using Godot's own Android build template as a starting point. I am probably missing some key puzzle piece here.
It would be nice to have this working and then turn it into some steps described in GAST's documentation, because I expect that most people will want to use it in this way. Using Godot's built-in build template has advantages such as:

  • starting the app from within the Godot editor and being able to adapt properties such as the app name in there
  • using remote tree view in the editor.
  • Godot lib AAR is automatically provided in the build process, no need to build it yourself.

Steps taken:

  • create an empty Godot project.
  • create an Android run configuration with custom build (installed build template from within the editor)
  • copied the Godot project contents (scenes, resources, ...) from the Edit text sample Godot project in this repo
  • copied the Kotlin activity and app files from the Edit text sample (renamed to GodotApp) and put in the src folder in the custom build
  • some tweaks to the build.gradle of the custom build folder:
    • add dependency on gast-core .aar file built from this repo
    • add JNI path to .gdns files of GAST so they can be found

By this point, it is possible to run/debug the project on an Oculus Quest 2, both from Android Studio and from the Godot editor itself. however, the GAST nodes look black instead of having the expected contents shown on them.

Further investigation yielded that the onDraw callbacks to Gast views are never called.

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.