kofstreet's Forum Posts

  • There's probably a math method to do this, but I don't know it. And there are a couple of "dumb" methods, which I would probably use :)

    1. Create a collision polygon in a sprite with this addon. Then check if this sprite is overlapping a point.

    2. Draw the polygon on a drawing canvas, fill it with color. Then save a snapshot and read pixel color at point coordinates.

    1) collision polygon in a sprite is not allowed when dealing with a large number of vertices.

    2) Also drawing canvas can't support drawing polygon with big number of vertices (I naaed solution for dealing with polygon with more than 4000 vertices)

    Thanks anyway, first time heard about an addon allowing sprite collision manipualtion

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a large number of points (x,y) forming a polygone, is there any simple way in construct 3,to check if a point is inside my polygone?

    polygone is a texte based coordinate x1,y1;x2,y2;......xn,yn;

    Thanks.

    Tagged:

  • maybe browser.Referrer ?

    Maybe, but if there is a way for opening C3 android or iOS app from URL link.

  • try using construct.net/en/make-games/manuals/construct-3/plugin-reference/browser

    I use Browser plugin for uploaded web apps, but is there any way for making it working on android (or iOS) apps? (apk and ipa)

    Thanks.

  • Hi,

    I'm working on navigation app, based on geolocation plugin, I need to open my android app from link with latitude and longitude coordination as parameter.

    Thanks, and your feedback is very appreciated for me.

  • Try disabling worker. I hade same problem when worker was enabled.

  • Thanks for saving my life, disabled experimental features and wordked perfectly.

  • Tried to change font on version R226, C3 close in both NW and broser.

    Thanks.

    Tagged:

  • I would have liked to have an answer within 24 hours, but unfortunately I find myself having to work with the text base64 format which causes me a lot of problems.

    What I liked about Construct is having examples of each function, lately this facility is no longer offered, and the community is not responsive.

  • Hi,

    I can send and get text/data using php/mysql, but I never found any php script that explain how to send and get binary unsing POST methode.

    All I need is the PHP server side script that allows me to send and get binary from C3.

    In my example I don't know what to put in my upload.php script, also for getting binary.

    Thanks

  • Hi,

    I'm using geolocation plugin on mobile, when exported with C3 I discovered that it uses cordova-geolocation-plugin version 2.4.3, in some mobiles it worked very well, in others it gives different location than the one on google maps.

    Is the built-in plugin geolocation plugin on C3 out of date and needs to be updated to version 4.0.2?

    Or I'm missing something for getting accurate position?

    In google maps also there is possibility for requesting to switch on GPS from the app, and getting permission without doing it from setting.

    Thanks.

    Tagged:

  • I followed the tutorial and enabled worker, and no result.

    On iphone and on Android I get message asking me to enable WIFI or cellular to get access to my uploaded C3 html.

    I wait for my project to load, and allow anough time to cash for offline, but if my phone switch offline, the game refuse to reload.

    Construct 3 editor on mobile runs without problem in offline, I wonder if I was missing something in project setup.

  • Hi,

    Is it possible to export games for running offline on mobiles and prompt the user to switch online each week for checking update, as Construct 3 do?

    Thanks

    Tagged:

  • Tested webcam on another PC, everything worked great, the problem was in my PC config, not allowing webcam permission.