lukeo25's Recent Forum Activity

  • Josek5494

    Thanks for this.. In the second part here the AdMob refers to your action is that right?

  • Thanks zenox98.

  • Hi,

    Excuse my confusion, I have watched a couple of vids and tried reading the tutorials here but I am at a loss. I don't understand where the runtime.js is getting its param variables for functions. I can see the alert example but I can't find where it is getting the myParam var for the function from.

    Is this coming from the name as in AddComboParamOption("student_id");

    So am I to use the text in the braces as my variable name for the function or am I just lost.

    Hope someone can help I have some great ideas for plugins.

    Cheers

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Absolutely awesome work.

    I have an idea to incorporate the pipewerks javascript for SCORM into a plugin.

    But this is a fantastic plugin.

    Thanks

  • Thanks Blackhornet.

  • Hi all,

    My IT department wants all C2 program folders with the current permissions disallowing me to add new items this includes the plugins folder.

    Is there some way to tell C2 where a new folder path for plugins is?

    Cheers

    Luke

  • Thanks for your help guys,

    I did get this working using Set X to int(Array.At(o)).

    Cheers

  • better still I'll explain my process and may be someone will show me the right way to do it.

    I have a text file that is written like this.

    200;

    |

    120;

    |

    420;

    |

    I am using the pipe "|" and the semicolon as separators. to split it up to the array called OAData.

    So at OAData.At(1) the value will be 200 and the rest is etc'.

    I then use that data t change sizes and positions. eg: Sprite12.x is set to 200 and so on.

    How would you go about doing that? b'cause my code must break the C2 process.

  • Thanks,

    But the data is loading fine. How would this stop the objects that use the data from vanishing as they are doing at the moment.

  • Hi,

    I am trying to use array data with other object. But each time I use the data on an object like a text or sprite the object disappears. here is the array being used.

    It loads fine and the debugger says the variables are loading. But the objects that get the data disappear regardless of their type.

    https://www.dropbox.com/s/rcumpvd8w9u17 ... p.PNG?dl=0

    I'm not sure but I think this is a bug in the current version

  • Hi,

    I want to open a local html file in a browser window on the click of a button.

    I have tried run JavaScript "myFunction(window.open('run.html'));"

    I want to be able to do this when exporting C2 to a nodejs file type. This is so that my user is choosing a local html5 file they want to run locally.

    It would be kind of like a html5 player utilizing the nodejs runtime like a virtual server.

  • If you are talking about the images folder that construct creates after exporting (which contains the images of the sprites etc.): you don't need to change anything in your event system. The swapped image will appear in the game (possibly it could lead to errors, if the swapped in image has the wrong format).

    If you are talking about imported files: if you created a subfolder, you load the sprite from URL with: "subfolder/image.png", if not you can just load "image.png".

    The subfolder method doesn't work for me. Does this need to be on a hosted folder or can it be localhost?

lukeo25's avatar

lukeo25

Member since 4 Dec, 2012

None one is following lukeo25 yet!

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies