LaurenceBedford's Forum Posts

  • There is a way to create a countdown like this timeanddate.com/countdown/halloween

    so I put a timer then it keep to go on automatically too if I close the app (reload etc..)

    GianniB

    Hi,

    Yes there is you could do it locally through c3 by using time etc - Im not too sure about that.

    However the site you linked

    has an API which will be useful:

    timeanddate.com/services/api

  • Hi guys as you may know there are a lot of phones that have notches now. I have noticed that the content on my new app has been blocked by the notch on some devices.

    -- how do I stop this? --

    Is there a way to check if the notch is obfuscating an object on the layout?

  • I think this is possible with one of the addons from chadorireborn's collection:

    https://www.construct.net/en/forum/construct-3/plugin-sdk-10/construct-master-collection-139046

    Thank you I will take a look at it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi

    I created a topic here about the back button on android:

    construct.net/en/forum/construct-3/how-do-i-8/support-back-button-android-151166

    I was told you may have a plugin that supports the back button.

    Is this true and does it support android export from c3

    and where do I buy it?

  • Browser On Back button : System go to layout StartScreen

    Or you can open a menu, or pause the game or do anything else. But you can just tell the app to "go back" or "go home", it doesn't work like this.

    dop2000

    Sorry I made a mistake I used the browser close as the action.

    How come in some android apps you click the back button and the user can go the home screen on their android device how do I do this?

  • The title is pretty self-explanatory how do I support eh back arrow on android exported APK?

    I have tried the browser on back arrow pressed --> go home

    It doesn't work!

  • +++ BREAKING NEWS +++

    Intro sequence of Moonicorn's Cookie Quest. Play it for free: https://play.google.com/store/apps/details?id=com.moonicornscookiequest.afflatus

    CreativeMind

    looks good cant wait to play it when did you release this?

  • Hi, guys basically I want to make my drawing canvas larger than the screen size that way I can position it to the center of the user's screen - that way I can support multiple screen sizes. But I have one problem when I do this with the drawing canvas the drawing becomes inaccurate so when I go to draw with my mouse on one part the line does not spawn under the cursor it spawns to the right. Its weird its like its not calibrated.

    I have drawn an image below to help explain this:

    The red box is the drawing canvas.

    The grey triangle is the cursor when I click on the canvas

    the dark red/maroon dot on the end of the triangle is where the canvas usually draws the point when I don't make it larger than the user's screen.

    The black line is where the canvas draws if it is larger than the user's screen.

    It works fine if I have the canvas at viewport size 480 x 854 but it's only when I make it larger it acts like it's not calibrated.

  • I have implemented face recognition with construct, and may be able to help you.

    email me at:

    ficiendeveloperftx@gmail.com

  • I'm working on a Megaman-like platformer and I'm trying to polish the basic movement. I want to replicate the movement of Megaman X4-X6.

    Are there sites that have more details about the movement, like: the dimensions of player hitbox, how fast the character moves (pixels/frame), how high the jump is, how many frames/second the animation is playing ... etc.

    I am looking for something like info.sonicretro.org/Sonic_Physics_Guide , but for Megaman X4-X6.

    Are these any good?

    sprites-inc.co.uk/thread-388-post-19037.html

    reddit.com/r/gamedev/comments/2cqypw/what_makes_a_2d_capcom_games_controls_feel_so

    -the redit link may have a few comments that may be useful.

    tasvideos.org/GameResources/SNES/MegamanX/Data.html

    tasvideos.org/GameResources/NES/Rockman.html

    romhacking.net/forum/index.php

    - again like the reddit link the site above may contain some useful comments.

  • hi, LaurenceBedford it seems a very old plugin and "jspdf" api is pretty old. (webworker does not support)

    you can try it here, if it helps.

    https://oyunkulturu.com/temp/file/jspdf_c3addon.zip

    Eren

    Thank you so much, I have been trying to get this to work for ages.

    You have made my day!

    Many Thanks,

    Laurence Bedford

  • Eren

    I have tried converting this plugin

    https://www.construct.net/en/forum/extending-construct-2/work-in-progress-addons-30/plugin-jspdf-74212

    But for some reason it's not working for me when I try and convert runtimes - I'm sure its something I'm doing wrong.

    Please could you have a look at it?

    Many Thanks,

    Laurence Bedford

  • Hi, guys, I use an API through ajax request. And in the requested URL I have my API key is there a way of hiding this as if the user looks at network requests they see the whole

    URL?apikey=98213481273468.

    How do I hide my api key?

  • > > Yes I tried both.

    >

    > Ben10000K

    >

    >

    > Click your project folder and go to the properties bar.

    >

    > You should see a tab that says advanced.

    >

    > Click on that and change the runtime to construct 2. Then see if the plugin can be imported into the layout.

    Yeah It shows up now, is there a way to get it working in construct 3?

    What do you mean?

    To use the plugin you use events.

  • Generate a hash in the app and send it to the script with your other data. In the script, generate the same hash and compare if both hashes match. If they don't match, don't execute the rest of the script.

    CBHash plugin (link to C3 version on the last page):

    https://www.construct.net/en/forum/extending-construct-2/addons-29/plugincb-hash-md5-sha-1-sha-39765

    Make sure to use the same hashing function in the php, if you don't know how, try searching on stackoverflow.

    .

    Example:

    You want to send player score to the server. In the app generate a hash MD5(secret_key & score)

    Send to the PHP two values: score, hash.

    In the PHP script, also generate a hash MD5(secret_key & score_received)

    Compare if generated_hash is the same as received_hash.

    Of course, the secret_key should be same in your app and in the PHP script, don't share it anywhere and don't send it with the data.

    Hi, thanks for the response I'm looking into this!