Ubivis's Forum Posts

  • And I like to add, in germany it is generally the older people that don't speak english, as they did not learned it in School. But everyone up to 40 should speak it without any problems. In the past years, English is now teached in Schools already from the 1st class (Kids aged 6, are already using english as the main language in some schools here today).

  • you could do some global variables that will be increased as well and for new spawned monster, you add the count of that variable to the initial health.

  • When you have installed r82, have you uninstalled r81 as suggested during install?

    If have not done this, it could be that there are old files been used that have the error.

    It would also be helpful, if you can tell us what javascript error comes up (there can be so much). Another way we could be able to help you is when you give an URL to your project. If you do this, it is the easiest to find the error if you compile without the minimizing of the scripts.

  • this is really good... would be cool to color the uniform of different soldier by not putting up images for every single color.

  • <-- this one :)

  • I thought of this myself and had a few ideas for current workarounds:

    1. Arrays

    You could define an array to hold all the languages.

    On runtime, you can select the array corresponding to the selected language.

    Problem with this, you have to manually edit the array every time something changes and you have to recompile.

    2. Outsourced Languagefiles (maybe a simple PHP Script?)

    You can setup language files on your server and you get the strings per AJAX GET or POST Request.

    Problem, you need to know how to script such stuff :)

  • I am not skilled enough yet to help you on your script, but why don't you just use the Plugin that is already available?

    scirra.com/forum/plugin-ajaxpost_topic49039.html

  • Mail sent :)

  • This is a Pachinko:

    pingmag.jp/images/article/pachinko05.jpg

    And the Pachinko of Doom is simply a Doom themed pachinko :)

  • oh, okay... have not seen both :)

    But I am happy anyway that I managed it to get my version running. Hope I learned enough from developing this one to work on something else :)

  • I got the same thing on firefox today (no problem with Chrome).

    All I set into my project was my very own Plugin (no data saved) and a text field, nothing more.

    But I never updated to R81 yet!

  • UbiGetURL

    This is my very first Plugin, so please nice to me :)

    This plugin adds the feature to get variables values passed on with the link.

    Steps of using:

    1. Add the new "UbiGetParams" Object.

    2. Using "Action:ParamGet" to tell which parameter you like to read

    3. get the requested value by accessing "UbiGetParams.ParamValue"

    I do hope someone find this as useful as I do :)

    Example:

    You call your Game with the URL:

    "index.html?access=fb&player=123456"

    you can set the action: "ParamGet" to "player" and it will returns the value "123456"

  • All problems solved... will be released soon :)

  • Please forget my previous question... found my mistake now (after spending hours without having a clue).

    It is still not working, but at least I did a big step forward ;)

  • Try Construct 3

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

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

    I am putting my hands on my very first plugin, btw. I am quite new to JavaScript in total (my world was PHP before).

    I was quite sure, that everything is set up quite well, but on runtime, all I get is a black screen (I am still on the last real stable version).

    This is the action script I set up:

         //////////////////////////////////////
         // Actions
         pluginProto.acts = {};
         var acts = pluginProto.acts;
    
         acts.ParamGet = function (myparam)
         {
              var query = window.location.search.substring(1);
              var vars = query.split("&");
              for (var i=0;i<vars.length;i++) {
                var pair = vars[i].split("=");
                if (pair[0] == variable) {
                  this.ParamValue = pair[1];
                }
              } 
         };
    

    For instance Class I set up this:

         /////////////////////////////////////
         // Instance class
         pluginProto.Instance = function(type)
         {
              this.type = type;
              this.runtime = type.runtime;
              this.ParamValue = "";
         };
    

    I am also not yet familiar with the error console in Chrome and Firefox (never needed for PHP), I do hope someone can figure out what is my fault?

    Here is a live example:

    ubivis.de/test

    This should show up a textfield with the value of parameter "test"