tap's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yep, you actually emailed me with this and I just responded to the email. If it works for you I will update the source on github for everyone.

  • Hey all, sorry for the delay I was on vacation this past week.

    eldods - while I don't have any specific "backlight api" calls available to me, I do have a "device power" api that I can set to always on. This should resolve your issue.

    degortg - could you send me the .capx so I can have a look at what is going on? That way I will have a better understanding.

    Thanks!

  • xyboox - absolutely, I will work on adding geo as well.

    Epox - Not this latest release. But possibly the next one. I have an issue with DC and any release later the latest stable r95. So I just want to improve the DC integration before Ashley adds it into the official release.

    degortg - If I understand correctly you say that when you select to scale using Letterbox you get black bars on the side? If so, I believe that is how the letterbox is designed to work. You may want to try just the scaling option instead if you do not like the bar. I hope I understood correctly

  • Hey xyboox,

    So you are looking to use the camera in your C2 game? Cool.

    Well our JS api does have camera support. I did not implement it into the C2 plugin yet. I did not think it would be an item on anyone's requirements list. But apparently it is. :)

    Check out our API doc on it and let me know if this is what you are looking for. If it is, I'll move it up the list for you.

    http://appmobi.com/documentation/jsAPI/camera/index.html

  • mikepixie - awesome! I'm glad to hear that is what you need.

    pavelkn - I will add the on end event and update the code on github. As for the ability to control while playing and monitoring of multiple audio files, as soon as our native developers have that implemented I will be sure to add it to the plugin.

    eldods - I am expecting to have it implemented the week of Sept 17. I hope that is ok.

  • eldods, "soon", that's so relative. What does "soon" really mean? <img src="smileys/smiley2.gif" border="0" align="middle" />

    But to answer your question, I'm in the middle of improving the directCanvas support for the plugin and part of that is adding more of our api including the accelerometer. I can't promise a specific day yet, within the next couple weeks at the latest I would imagine.

  • Hey Mike,

    Nope, it is not. All it does is launch the devices browser, so you wont be able to communicate back to the app. It looks like you want to use showRemoteSiteExt. This will open a new webview loading up whatever url you wish. From the child WV you can use mainViewExecute to send data back to the parent.

    I believe that is what you are looking for.

    A helpful hint, if you don't want to have a "close" icon over your remote site as stated in the docs, just upload a transparent png and set the x,y,w,h of the icon to 0, then in your child just fire closeRemoteSite

    I hope that all helps.

  • Hey pavelkn,

    Currently in the plugin I do not have an On Audio End event however our api does have one available and I will work to get the code updated for you tomorrow.

    Right now the Start Audio action which has the event available only allows one file to be played at a time while the Play Sound action can play multiple files but has no On End event available.

    I talked with our native developers about enhancing the audio api to give give functionality like start/stop/monitor multiple audio files at once,as well some other cool features. That will probably take several weeks to start, implement, test, deploy given the current priority list.

    I hope that helps.

  • Sure. Actually neither the Start Audio and Play Sound actions limit the length of your sound file. So if I'm not missing anything, you should be all set.

tap's avatar

tap

Member since 22 Dec, 2011

None one is following tap yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies