lukeo25's Recent Forum Activity

  • Hi,

    I am already loading an image from an URL. I need to load a different image for each consecutive create object instance. I am wanting a steady stream of images flowing across the screen with a different image each create object occurrence.

    Cheers

  • Hi and thanks for the reply LittleStain,

    I would do it this way only I need the image files to be loaded as generic items. Say for example I just wanted the file names to remain the same always but not the images. So any image can be called 001 and all I need do is load new images into my file folder without having to open the project up in C2. Though I will look into something similar to your example.

    Thanks for your help.

  • Hi,

    I am trying to create new sprite objects just off to the side of the layout. They travel across the layout to exit on the other side. But as I want a stream of sprite objects, once each new object gets to a point inside the layout a new one is created off screen which then travels across to trigger the creation of another and so on. As I need each object to inherit a different image file's size and colours, I need to access the new objects unique id and give it a new image. The problem is I don't know how to do that.

    Can I get some help please?

    Here's the code so far

    https://www.moxtra.com/v/CAEqBW15NmluehdCVXdEQmtNOXBYMDhUTm1hNjRnYUtEMIABEZADFA

  • Hi all,

    So....I want to be able to show the number and name of items in a folder/directory hosted on my server to any person using the interface.

    Basically this would work like a library inventory . The user would put in their name hit a button and the next layout would show the contents of a folder that has their name as its handle. ( John's Folder ) has x.pdf y.pdf and abc.pdf. So if another pdf say mmm.pdf is added it would show mmm.pdf as well.

    Any help with plugins, JavaScript or any tutorials would be most apreciated.

    Luke

  • So is the position determined by a rule set at edit ie; the first object etc?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So it's just given a random number and so on....bugger, I was hoping it was a bit more relatable to the editor name.

  • So is that the same as the function that holds the array of variables. If so, doesn't that change on every runtime. Is it a requirement to do a "for loop" to find an var[] position of an instance variable.

  • Ashley hi,

    I am asking a C2 question here. Something I can't find on StackOverflow. I need to know how I communicate directly with a C2 Instanced variable using the Browser plugin. The textmmm.V1 is the variable I want to pass data to. Any help would be appreciated.

    Regards

    Luke

  • Hi,

    I've posted this elsewhere as I wasn't sure where and who to ask. So sorry if you have read this already.

    I am using the Browser plugin to send and get data from an Adobe Captivate slide. The code I am using to set the data from the Captivate FO1 variable is correct as I have used it before. The get should be working also its the C2 instance variable object property I am unsure about. I'd appreciate some help with this.

    Here is the example code. The set is working but the get isn't showing up.

    "window.parent.cpAPIInterface.setVariableValue('FO1',1);";;;;;;;;;;;;;This works fine

    "this.runtime.textmmm.V1 = window.parent.cpAPIInterface.getVariableValue('FO2');";;;;;;;;;;;;;This isn't working at all.

  • Hi,

    I am using the Browser plugin to send and get data from an Adobe Captivate slide. The code I am using to set the data from the Captivate FO1 variable is correct as I have used it before. The get should be working also its the C2 instance variable object property I am unsure about. I'd appreciate some help with this.

    Here is the example code. The set is working but the get isn't showing up.

    "window.parent.cpAPIInterface.setVariableValue('FO1',1);";;;;;;;;;;;;;This works fine

    "this.runtime.textmmm.V1 = window.parent.cpAPIInterface.getVariableValue('FO2');";;;;;;;;;;;;;This isn't working at all.

  • Hi, I am using Construct2 in Adobe Captivate. I can get variable data to go from Construct2 to Captivate as the first browser code does change the variabe data in the Captivate window. But I am having trouble getting it to travel the other way. Here is a screen grab of the event sheet.

    https://www.dropbox.com/s/vmt2pkfqb3oxv ... t.PNG?dl=0

    The syntax is correct I am lead to believe, to get the Captivate variable I'm just not sure about the rest.

  • You can use Construct2 in Captivate8 using the web object in Captv8. But reporting is difficult. So far I can get games to display but not feed back to SCORM or Captivate main runtime.

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