Erez's Forum Posts

  • Could future release of C2 include plugins such as Vector, Linked List, Queue, Map and/or any other familiar data structures?

    Thanks.

  • thanks

  • I have a license

  • When I go to the About dialog to get the extra assets bundle, it opens a blank IE page, and nothing happens.

    Any ideas?

  • What do you mean by "multiple function objects"? With the current function object you can create multiple functions.

  • 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 wish to be able to do the following:

    1. Have a text box, that has limited space (meaning: the text can be n chars long at the most, every other char typed after that will be ignored).

    2. Have a text box, that each time a new char is typed into it, the size of the font changes, to be the biggest size, that fit all text in the box.

    Any ideas?

    thanks

  • Does Construct 2 support If statements inside Loops ?

    How do I implement it ?

    Please give an example, thanks in advance.

    To the best of my knowledge - events (and sub-events) ARE if statements.

  • I have two layouts. On start of layout, there's a function to create a bunch of objects.

    When I run the layout separately, It works fine.

    but when I run layout 1, and use "Go to layout" to move to layout 2, the objects aren't created.

    What's wrong?

    here is my code

    What is the "Global" property value of these objects? If it's "No", try setting them to "true".

  • Hello all.

    I wish to be able to upload my C2 game to a server, and to be able, during the running of a game, to save a screen shot of the game, and after that - to send the image to a different server, and store the image there.

    Any ideas?

    I have read some tutorials about this, but was not able to find a solution that works.

    Thanks.

  • Problem Description

    Layout does not load. The following error message shows:

    Javascript error! Uncaught ReferenceError: jQuery is not defined, line 1092 (col 2)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    Attach a Capx

    Attached below.

    Description of Capx

    Displays a white text "Hello World" on a black background.

    Steps to Reproduce Bug

    • Step 1 - open construct 2
    • Step 2 - open capx file "Hello World"
    • Step 3 - press "Run layout"

    Observed Result

    Layout does not load. The following error message shows:

    Javascript error! Uncaught ReferenceError: jQuery is not defined, line 1092 (col 2)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    Expected Result

    Display a white text "Hello World" on a black background.

    Affected Browsers

    • Chrome: (YES) Operating System and Service Pack Windows 7 Professional Service Pack 1 Construct 2 Version ID 184
  • Problem Description

    When running my project, I get the following message:

    The page at localhost:50000 says:

    Javascript error!

    Uncaught TypeError: Cannot set property 'current_event' of undefined, line 756 (col 24)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    Observed Result

    Project crashes

    Expected Result

    Project to not crash

    Affected Browsers

    • Chrome: (YES)

    Operating System and Service Pack

    Windows 7 Professional

    Service Pack 1

    Construct 2 Version ID

    184

  • You know the size in pixels of your text object. You can know the number of characters of your text thanks to the .

    Divide one by the other, and you should be able to determine the text size you need.

    I don't think you are correct.

    Yes, I know the size in pixels of the text object.

    Yes, I know the number of characters of the text line.

    From this, I can tell what size in pixels each char should be, but this is not the correct value of the "font size" to be used.

  • Use the action "Set font size".

    But how do I know what size to use? My text is dynamic, and I want the largest possible font size.

  • According to the Text object manual, this object does not display anything if its bounding rectangle is too small to fit a single letter of text.

    Is there a way to resize the text in the Text object, so it will be smaller and fit?

  • How do I use the same Global UI in 2 different projects?

    I have created 2 games, in 2 different projects. Now, I've added a Global UI to the first project, using the tutorial "Building a global user interface (UI)" by GeometriX: (you can search for this tutorial - I am not allowed to add the link to it here)

    But now, I want the 2nd game to use the same Global UI.

    Is there a good way to do this? Is there a better way, if I had 3, 4, 5 or more different projects?

    My goal is the make changes in only one Global UI, in a way that will affect all others, with a little effort possible.