LaurenceBedford's Recent Forum Activity

  • Hi guys I have a script on a server - I run the script through an AJAX request in c3 - How do i stop the public running my script outside my app? - How do I only let my script run when my app requests it nothing else?

  • JSON.Get("text.0") should work. However, are you sure your JSON is correctly parsed ? Those backslashes need to be removed, otherwise the JSON is invalid.

    Thank you!

    I added some code to remove the backslashes and it works now!

  • I know that I don't need to use javascript but I want to because Event Sheets are too easy. I want to program with Javascript because I am looking to go into a career with that. Thank you for your response though. I just want to know how to see if a mouse is over an object.

    I recommend if you want to look at JS I recommend you go onto Codecademy as you are starting in the deep end. Starting JS with construct 3 is quite hard - Keep trying though and you will get there!

  • Can you show me the JavaScript code to see if the mouse is over an object because I don't know how to do that. Thank you so much!

    You don't need Javascript to do that,

    You can create a sprite and make it a solid colour and make it invisible.

    In the event sheet use:

    Every tick --> set newsprite to cursor.X

    cursor.Y

    newsprite is overlapping

    object of choice --> do something

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, guys, I have a url that gives a result like this:

    How do I save the "text\" data which is [\"Bonjour\"] from the JSON result into a variable? I have tried setting a global variable to JSON.Get("text.0") and I have tried JSON.Get(text\.0), but it returns 0, how do I do this?

  • You do not have permission to view this post

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

  • Hi Guys Is there a way I can scale the user media box so when the users camera feed is showing it will remove the black bars?

  • UPDATE

    I have managed to get it working thanks!!

  • you can use tesseract.js on C3 by importing the js already...

    i have a android app that uses this ocr lib, and works fine.

    LuisCGForte

    How do I import this and use it?

    I Have seen this plugin:

    construct.net/en/make-games/addons/1/javascript

    Sorry to ask but do you have a simple sample capx?

    Or a screenshot of how to use it with an image sprite?

    Also which library did you use? Could you provide a link?

    How can I recreate this in c3?

    rexrainbow.github.io/C2Demo/Tesseract%20-%20canvas/index.html

    Many thanks

    Laurence

  • Hi Guys I have converted this plugin:

    c2rexplugins.weebly.com/rex_tesseractjs.html

    It works in construct 3 with construct 2 runtime - But how do I make it support construct 3 runtimes?

    I have been trying for ages now with h new sdk but I keep getting errors. Is anyone else willing to take a quick look for me?

    Many Thanks

    Laurence

  • Hi, Guys, I'm willing to convert all of the rex's behaviors/plugins but it will take a while so which plugins/behaviors should I prioritize?

LaurenceBedford's avatar

LaurenceBedford

Member since 3 Feb, 2017

Twitter
LaurenceBedford has 2 followers

Trophy Case

  • 7-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies