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

Texture Loading adding "www/" to path and reading from Assets #17

Open
cmcalfaro opened this issue Jan 17, 2014 · 0 comments
Open

Texture Loading adding "www/" to path and reading from Assets #17

cmcalfaro opened this issue Jan 17, 2014 · 0 comments

Comments

@cmcalfaro
Copy link

I was trying to use the FastCanvas plugin within PhoneGap Build, copying the code from the https://github.com/phonegap/phonegap-app-fast-canvas example, and I was unable to run the game.

I dug into the plugin code and figured out two issues that are preventing the game to work when inside PG Build.
First, in FastCanvasRenderer.java, on both texture loading sections, the value "www/" is added to the path that is passed to the plugin, without being needed and/or explained why.
Second, the images are being read from theActivity.getAssets() list, that do not contain the web assets used by the HTML5 application.

I would really like to use this plugin in my PGB HTML5 application, can you please look into these two issues to check what can be done to make it possible?

Thank you for all your work on this plugin!

@cmcalfaro cmcalfaro reopened this Jan 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant