MTR's Recent Forum Activity

  • Thanks the Mnk for the answer. It work.

    This is a bad "feature" of the C2... I hope this change in the C3.

  • Problem Description

    In an event IF (with OR) and sub event IF. If the 2 events have an array object, it lose something making a bug.

    Note: check how IF work in "b" when I use System compare. It fail only when use Array compare.

    Attach a Capx

    https://drive.google.com/open?id=1ED6gdUXprnqjrmdwB7pTUTqXvP3lWiuy

    Description of Capx

    Write a text to see what IF work.

    Steps to Reproduce Bug

    F4 and read the text.

    Observed Result

    "found z" never show

    Expected Result

    "found a" and "found b" is the same IF than "found z", but it never write.

    Affected Browsers

    • FireFox: YES
    • Chrome: YES

    Operating System and Service Pack

    Win7

    Construct 2 Version ID

    Release 259 (and also tested on 245)

  • You need to pick the object and in this case you could use Pick nth instance where 0 is the first button, 1 is the second button. This is essentially picking by the object's IID which is the order in which the buttons were created. Currently you are just applying to all button objects.

    I try it, and don't work.

    Pick nth instance, overlapping point, ....

    With or without "wait" (between create and load image).

    When I load an image, all instances change it.

  • The objective is create a function to make a button and set an image.

    The 1st object load image correct.

    When the 2nd object load the image, the 1st object change the image.

    What's the problem?

    I can't load an image for only 1 instance of the object?

    Thanks

  • Is there any way to have the collision points of an image saved in a txt/json and load them in runtime?

    Objective: load image from file AND load collision box (of the new image).

    Thank you.

  • I have a game in 16:9 1920x1080

    Some people with panoramic monitors do not like the black side bars. There is some way to stretch the whole game to fit in 21: 9 (even if it is deforming the images).

    Thank you

  • Idle Evolution

    is on Steam

    http://store.steampowered.com/app/577730/

    Idle Evolution is an original, different and unique game that mixes genres like: time-manager/educational/incremental/strategy/...

    A gamble that may confuse at first but will become pleasantly surprised when you start playing.

    The game uses atoms as currency and the periodic table as a map. But do not worry, you don't need to know ANYTHING about chemistry.

    A little history about Idle Evolution:

    -When the game was just an idea, the reaction of the people was: "A game of chemistry, who can like this?", "People only know the formula of water". But I trusted my feelings.

    -The 1st version was published on the website Newgrounds. I could not believe it, it was on the frontpage for 1 year! With 1.25 million gameplays and 4.10 stars.

    -After a few months, I published a new version in Kongregate, less passive, thinking about the possibility to port it to Steam. The game worked perfectly! It become an idle game that did not need to wait days to continue playing. 2 million gameplays and 4.05 stars!

    -And now, after 2 long years of development, the Steam version is released.

    God created the world in 6 days... and you?

  • I need to detect if the game is running on SteamOS to setup the steam cloud.

    I have this for other platforms:

    I try to install SteamOS in VirtualBox and VMware Workstation, bugs, blackscreens, ...

    It's only 1 word and I'm losing days, HELP!

    Thank you.

    I found it, it's the same as linux: "Linux x86_64".

  • in runtime.js after export.

    replace:

    img_.onerror = function (e)

    {

    img_.c2error = true;

    anyImageHadError = true;

    if (console && console.error)

    console.error("Error loading image '" + img_.src + "': ", e);

    };

    if (this.isEjecta)

    with:

    img_.onerror = function (e)

    {

    if(img_.try===3){

    img_.c2error = true;

    anyImageHadError = true;

    if (console && console.error)

    console.error("Error loading image '" + img_.src + "': ", e);

    } else {

    img_.src='';

    if(img_.try===undefined) img_.try=0;

    setTimeout(function(){

    img_.try++;

    img_.src=src_;

    },50);

    }

    };

    if (this.isEjecta)

    Thank you, it work!

    I could play my game on Mac, but today I tried it again and I got the red bar in the loading.

    I'm 99% sure it's because the amount of files, I just overcame the 1000's on "app.nw"

    Note: the file is "c2runtime.js"

  • Thank you. It work.

    How you detect it? In notepad++ I don't see it.

    I need to use latin languages in this .txt (áàü...), I save the .txt with encoding "UTF8 without BOM", I hope all work. Thanks again.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I need to read a dictionary from a txt file in "C:/..."

    I use NWjs.ReadFile() and I think this function add some special character that make Dic can't load the Json.

    The Dic is empty, is there any way to know the error?

    If someone know any other way to do it, please tell me.

    Thanks you.

    Example:

    .capx

    https://drive.google.com/open?id=0B9sGs ... UxCSGFKMXc

    .txt (dictionary)

    https://drive.google.com/open?id=0B9sGs ... jVQb3dnVGs

    NOTE: copy it in c:/ or change the path in "FOLDER_MOD" variable.

  • I install mac OS X 10.11 in virtualbox and I have the same problem. I can't read external files. It only work in windows.

    The only way I have managed to open a file is through:

    NWjs.ReadFile( NWjs.AppFolder & "a.txt" )

    I can change all AJAX functions to use this... But I already can't load images or music.

MTR's avatar

MTR

Member since 17 Aug, 2013

None one is following MTR yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies