tap's Forum Posts

  • No Tyler, I clearly meant a 404 page. <img src="smileys/smiley4.gif" border="0" align="middle" />

    Yes thank you I fixed the link in my post. Good catch and thanks for mentioning it.

  • NRABrazil - Great. Some answers to your questions below:

    1. Add To Media Cache - This has different use cases then the APPCACHE file. When you build your app or game as a hybrid app and sell it in an app store, the Add To Media Cache will let you retrieve and store a remote file locally. So say your app/game wanted to pull in new content via some sort of data, game logic, sound, video or image file. This is the call you would use.

    2. Camera - Correct, the camera api allows you to take pictures using the devices (phone, ipod, ipad, etc..) camera. I just added that to the plugin today. I just need to add the a couple other camera calls and then will push the updated plugin to github. If not tomorrow, then definitely Wednesday.

    I hope those answered your questions.

  • NRABrazil - Ok, so you want to pull an image into your game from the phones photo list, not actually take one yourself. Sure that is completely possible. And yes I am adding those features into the plugin and hope to have the updates on gitHub either tomorrow or Wednesday. Will that help you?

  • While you can always use great services like Linode or Amazons EC2 if you need root access or control over your server, appMobi offers a hosting solution called hostMobi. From the sounds of it, you are looking for the least complex solution and this would be the easiest option for you to host your game. There is no server administration or anything to setup. All you do is press the build button in appHub and you are all set.

    As for 1Touch, just watch the thread for appMobi plugin updates and I will be adding 1Touch to the plugin and hopefully have it ready by next week.

    Hope that helps.

  • Hey MC,

    DC and multitouch are released for both iOS and android. DC support is also in the latest appLab for android as well. You will just need to download the latest version.

    With regards to DC in C2, I know Ashley has spoken with our DC developers about some multitouch issues when a game is exported and they are looking into it. Unfortunately, I don't have an ETA on those yet, I just know they are working on it.

  • Hey Ashley, will do. I'll call it appMobiDev. Sorry about that. I was expecting folks would just replace the older "official" version with the new changes released by appMobi if they wished to use it.

    I know we spoke in the past (ken@appmobi) but we should circle back to figure out when you would like to incorporate some or all of the new features in the dev version.

    Again, I'm sorry about support tasks that the naming issue caused for you. No one reported back to the thread with that issue so I assumed they were just replacing the plugin.

  • degortg - Wonderful! I'm glad you were able to get the game centered!

    NRABrazil - I will take a quick look at what is going on here. I'm not too familiar with the CallJS plugin but it sounds straight forward. However I am actually working on adding Camera support to the appMobi plugin right now. :) So if you want to tell me either here or in a PM what you would like to be able to do with the camera, I will be sure to make those features a priority as well. If you want to continue on the path of using CallJS, I'll take a look at the capx and see if I can offer any advice. Just let me know.

  • One note when usng the acceleromoeter support that was added to the plugin. I recommend exporting using the phone browser and not DirectCanvas. There seems to be a performance hit due to the need to pass values back and forth between the webview and canvas layers.

    If you have any questions just let me know.

  • pavelkn - Unfortunately I do not. I have to wait for our native dev team to expose that via the JS api. We have had discussions and will be enhancing our audio support in general. I don't have a solid time frame on that but once they have the api ready, I will add that to the plugin and send you a PM so you don't have to keep checking the files in github. I wish I had a better answer, but the good news is it is pretty high on the to-do list. :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • degortg - My first guess is the app cache is not refreshing so you dont see the changes. To test, change the background color to something else. If it stays black, then you know it has not updated. So you will need to cClear the cache or edit the manifest to resolve that.

    Here are the steps I took to resolve it on my end:

    1. I removed position:fixed from the css class

    2. I wrapped the <canvas> tag in <center> tags

    3. Tested in the XDK and it worked

    4. Built for android and tested on my tablets and it worked.

    Just an FYI this is not an issue with the appmobi build system or the appmobi plugin. I don't know what else I can do for you. What I recommended resolved the problem for me.

    So if all the above does not work, I would recommend moving the question under a construct 2 general. It's a more appropriate forum for this question as it's not an appmobi or appmobi plugin issue. Also PM me if you do end up moving the question. I will do what I can to continue to assist you with this issue.

    Best of luck!

  • degortg - just removed the position:fixed in the canvas css class and your center tag will work.

  • eldods - if you have a github account you could click "watching" github.com/koza/appMobiC2Plugin but this time I will also PM you to let you know the files are ready. As for geo, yes you will be able to access the Lat / Long of the device from the C2 event sheet. The values are available via C2 expressions.

    degortg - no problem. I'm happy to help.

  • degortg - I built your capx and see the issue you are having. Instead of fussing with the dimensions of the game, what I did was simply edit the exported index.html file and wrap your canvas in <center> tags and now the game is centered on screen and you have the black bars even on both sides so it looks better. So use center tags or css or whatever you want. All you have to do is center the canvas tag.

  • eldods - I actually added power and geolocation yesterday and will now be adding in the accelerometer support. After that is added I want to do some quick initial testing and then the updates should be on github sometime tomorrow.

    degortg - I'm looking into your capx now. I don't know how much I can do for you. It's not a plugin issue and I don't control how C2 exports / scales games, but I will take a look and see if there is some way I can help you resolve this regardless.

    Thanks all.

  • Hey Ashley. I talked with our DC team and I'm not completely sure, but we may be able to add support for this. However I don't know when that would be added to the dev list for DirectCanvas.

    The other solution is tweaking the C2 parsing code when running under DC to do the parsing on the webview side and then have the data passed down to the canvas side.

    I wish I had a better answer for this but to my understanding those are our two options.