neonwarge04 Posted December 14, 2015 Share Posted December 14, 2015 HiI am having difficulty with PhoneGap with Pixi.js. I can't seem to see my renderer.view on the screen? It just show the text "Hello World and Hello Universe" and a whitescreen.This should be basically simple. I tried to modify the files and trim the bloatware scripts that I don't even need. It is working, but I can't see the renderer, my game for that matter.What else I missed? Documentation is not helping me either anyway:<!DOCTYPE html><!-- Copyright (c) 2012-2014 Adobe Systems Incorporated. All rights reserved. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.--><html> <head> <meta charset="utf-8" /> <script data-main="main" src="core/require.js"></script> <title>Hello World</title> <style> body{ margin : 0; padding : 0; } #gamediv { width : 100%; height : auto; margin : 0; padding : 0; } </style> </head> <body> <script type="text/javascript" src="cordova.js"></script> <script type="text/javascript" src="js/index.js"></script> <script type="text/javascript"> app.initialize(); </script> <div id="gamediv"> Hello World and Hello Universe!!! </div> </body></html>Please let me know if you need more source files to check out. Thank you! Quote Link to comment Share on other sites More sharing options...
mattstyles Posted December 16, 2015 Share Posted December 16, 2015 Without seeing the code that actually creates and appends the renderer or getting a dump of your logs its a little difficult to find the culprit Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.