ConstructorRichi's Recent Forum Activity

  • Hello,

    i have a 3 dimensional array like this:

    {
    "c2array":true,
    "size":[3,3,3],
    "data":[
    	[
    		["Students"],
    		["Simon"],
    		["Sarah"]
    	],[
    		["Proben"],
    		["Brüche zu Dezimalbrüchen 1","Mathe","Dezimalbrüche"],
    		["Geometrische Flächen","Mathe","Geometrie"]
    	],[
    		["Themen"],
    		["Dezimalbrüche","Mathe"],
    		["Geometrie","Mathe"]
    	]
    ]
    }
    [/code:2lualsp3]
    
    How can i get the "depth" of i.e. "Geometrische Flächen"
    or
    how can i get the "height" of i.e. "Students" ?
    
    Is there a possibility to do sth. like this: myArray.At(0).lengthor myArray.At(1,1).length.
    
    Thank you
  • Hello,

    i tried to post a feedback to the tutorial: "Plugins - roll your own with the JavaScript SDK", but when i click "Publish" i get an error: "Oops! Something went wrong! Please try again or email support."

    Is this a bug, or do i don´t have the permission to post feedbacks?

    Thank you

  • Try Construct 3

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

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

    does anybody have an updated tutorial for creating a simple plugin?

    The "https://www.scirra.com/tutorials/352/plugins-roll-your-own-with-the-javascript-sdk" Tutorial doesn´t work with the current version, because of the .draw function call in the "instanceProto.drawGL = function (glw)"!

    As i heard, we should only use the drawGL function, but is there an example? My test was:

    ctx.strokeStyle="#FF0000";
    ctx.strokeRect(20,20,150,100);[/code:hx0youwk]
    in the .draw function -> how do i adapt this to the drawGL?
    
    Thanks in advance
  • The problem were the downloaded PluginTemplate Files. I copied the text out of the downloaded files and created new ones.

    Thank you for the fast reply:)

  • Hello,

    i am new to Construct2 but familiar with html5, js, php, mysql ... I want to create a new plugin.

    I downloaded the plugin template and changed some parameters but:

    i cannot edit the .js files in the plugin folder! Notepad++ says: "cannot save file. file is opened in another program"

    But Construct 2 is not running, when i edit the file...

    Does anybody encountered the same problem and can help me?

    Thank you in advance

    (hope this is the right forum for such a question)

ConstructorRichi's avatar

ConstructorRichi

Member since 13 Mar, 2016

None one is following ConstructorRichi yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies