rafhelp's Recent Forum Activity

  • Allow users to expand/shrink all sub events for top level events. to make it tidier.

    All i set all sub events, i can hide/shrink them so the layout is less cluttered

  • why is it so very slow in firefox. Is this the case with all games?

  • I develope a HTML5 web based game. Ive written a custom plugin for it. It uses an external Javascript file which has to be included in the server install.

    I export the game and upload to my server. Is my plugin code etc.. safe or can it esaily by downloaded, decompiled etc..

    Can I somehow obfuscrate the external js file I use in the plugin

  • When making a html5 game for android phone, what format do you export to also whats the best screen resolution and size to use for layouts

  • where is the reference manual for using things like random()

  • when you go from one layout to another, the properties container should update to show properties for the currently selected object/instance in the current/new layout, not the previous layouts...to stop confusion.

    Allow users to CREATE new 'group' folders within the "Object Type" folder. This will allow users to put for example all objects used ONLY in Layout1 to a new folder called "Layout1 Objects"

  • disable the popup notification after the export finishes or atleast give the option to do so

  • why, its simple question.

    i.e when you set the text value for text object using a string returned from an expression how do you specify new lines?

  • When debuggung I have to keep restarting C2.

    This is time consuming but need to reload the modified plugins.

    When i export HTML5 file i am asked for a output folder. I set this.

    BUT

    after i restart C2, that folder location is reset to "....New Project\"

    Is there anyway you guys can store the previous output location after shutdown and restart of C2??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • when i try to set the innerHTMl from an expression that returns a string after selecting the expression the diaog gives error saying you cant use numbers only strings, BUT the expression IS a string.

    can you fix this

  • OK,

    so i have a script called myscript.js

    it has a function called setvars().

    in the runtime.js file i set some variables (global i think) like so

         var typeProto = pluginProto.Type.prototype;
    
        //our custom vars
         var name = "";
         var info = "";

    now i import the myscript.js file using %.getscript jquery function.

    when i call the new function setvars() i set the vars in it

    like so

    name="monica";
    info="nice";

    but these variable are not set in construct2 actually it causes some form of background error. So the question is how to get and set runtime global variables in external imported scripts?

  • I insert a text object called Text2.

    Now in an action I set the text of this to an expression from a plugin object called texter. (texter.setit)

    now setit sets returns text like this:

         exps.getinfo = function (ret)     

         {

              currentinfo=currentinfo.replace("& Newline &",Newline);

               ret.set_string(currentinfo);          

         };

    now currentinfo is a global javascript variable and where i want newlines i insert the text "& Newline &", now when I return the string to the Text2 object i replace all "& Newline &" with Newline. But it doesnt work.

    So the question is can you insert some text code to let construct text object know that there should be a new line here like maybe " line 1 \n\r line 2" would show on screen like:

    line 1

    line 2

    Oh how complex...

rafhelp's avatar

rafhelp

Member since 19 Mar, 2012

None one is following rafhelp yet!

Connect with rafhelp

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies