Pinco's Forum Posts

  • Right now there are a lot of addons available in the forum section, but it starts to became a bit messy... wouldn't be nice to have a section on the site (like for the tutorials) where people can upload the addons with the related info, perhaps having some tags like "supported" "unsupported" and "obsolete" could be useful <img src="smileys/smiley1.gif" border="0" align="middle" />

    The best thing would be to have something like the rex app integrated with construct (and tied to the site section that I've described before) so we can see all the available plugins and install the ones we want <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Version 1.3

    • Added the "Set background color" action
    • Added the "Toggle borders" action
  • Version 1.2

    • Added the "Validate" condition
  • when a textbox has focus, you will see the text cursor in it.

    if you need to validate an email address or a phone number, you have to it by yourself...

    I could add an email check to my textbox plugin, but the phone number is different from country to country...

    EDIT: I was wrong, there is a way to determine if a phone number is correct <img src="smileys/smiley17.gif" border="0" align="middle">

    Anyway, I've added the "Validate" condition to my textbox plugin and it will check if the data you have into the textbox is valid (based on the type you choose from the editor).

  • Version 1.1

    • Added the web fonts support
    • Converted into c2addon
  • Pode

    it seems that the iframe object is unable to retrive/compare the innerhtml.

    It says that "document" is undefined.

    btw I'm using the r127...

  • Can you add the ability to format unix timestamp to a formatted time like HH:MM, tried adding it myself but it didn't work.

    > // create a new javascript Date object based on the timestamp
    // multiplied by 1000 so that the argument is in milliseconds, not seconds
    var date = new Date(unix_timestamp*1000);
    // hours part from the timestamp
    var hours = date.getHours();
    // minutes part from the timestamp
    var minutes = date.getMinutes();
    // seconds part from the timestamp
    var seconds = date.getSeconds();
    
    // will display time in 10:30:23 format
    var formattedTime = hours + ':' + minutes + ':' + seconds;
    

    It's already inside the plugin.

    Check those 2 functions:

    Date2UnixTimestamp

    UnixtTimestamp

  • Yes, behaviors could works for that features, but also the css style (I used that until I got bored to copy the css to every textbox).

    I know we shouldn't adjust official plugins, but why rewrite all when it's enough to add few lines? (I know, I'm lazy <img src="smileys/smiley17.gif" border="0" align="middle" />)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • While using the default textbox I always find something missing like: transparent background, margins, etc...

    So I decided to improve it! <img src="smileys/smiley4.gif" border="0" align="middle">

    Other than the normal textbox properties, this one provides also:

    PROPERTIES:

    • Background Color: allows you to pick a color for the background.
    • Transparent Background: allows you to disable the background color and have a transparent background.
    • Font: allows you to choose the font to use (like for the label).
    • Font Color: allows you to specify the font color.
    • Borders: allows to toggle the text box borders. If disabled it also remove the border highlight that certain browsers (like chrome) adds to the text input areas.
    • Top/Bottom/Left/Right Margin: allows to specify the distance in pixel that the text should keep from the margins.
    • Horizontal Alignment: allows you to customize the text alignment.
    • Select all on focus: if set to yes, when the textbox get the focus will select all the text inside.

    TRIGGERS:

    • On Focus Gain: triggered when the textbox has the focus.
    • On Focus Lost: triggered when the textbox lose the focus.

    CONDITIONS:

    • Has Focus: return true if the textbox has the focus.
    • Validate: return true if the textbox content is valid (based on the content type selected).

    ACTIONS:

    • Set Web Font: like for the text object, this allows to use webfonts on the textbox object.
    • Set Background Color: change the background color for the textbox object. It accepts the following color formats:
    • "rgb(0,0,0)": rgb function (remember to always use the quotes)
    • "#FFFFFF": hex color value (remember to always use the quotes)
    • "transparent": string color name
    • Toggle Borders: allows to enable/disable the textbox borders.
    • Scroll Top: scroll to the top line of the textarea.
    • Scroll Bottom: scroll to the bottom line of the textarea.
    • Select All: select the whole content of the textbox.
    • Append Text: append text at the end of the currently existing one.
    • Append New Line Text: append text at the end of the currently existing one in a new line.

    EXPRESSIONS:

    • TextAfter: Get the text after the caret text box's text.
    • TextBefore: Get the text before the caret text box's text.

    I hope you may find this useful for your projects <img src="smileys/smiley1.gif" border="0" align="middle">

    Download

  • Well, since I'm around by some time I think it's time for introductions (better late than never <img src="smileys/smiley4.gif" border="0" align="middle" />)

    I've been known around with the name of Pinco by some time, until now I've always worked on small free projects (nothing really serious), the only one that still going is an UI for Ultima Online (the Pinco's UI).

    Other than that I just like to create things and code games or simple desktop applications.

    I've used Unity for some time, but I like the simplicity of Construct 2, since it does thing in a most immediate way and also uses 2D graphic that is the easier to do for someone like me that has just few artistic skills (and I'm a bit lazy too, so it's perfect <img src="smileys/smiley17.gif" border="0" align="middle" />)

    I really like to refine the details so I will post suggestions and bug reports as soon as I have any to post <img src="smileys/smiley4.gif" border="0" align="middle" />

    I think that's all, thanks for your nice product and we'll see around the forum <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Steps to reproduce:

    1. add a sprite

    2. associate an effect to the sprite

    3. create a family

    4. use the effect of the sprite inside the code (for example enable it)

    5. into the code, convert the sprite into the family

    Observed result:

    If you try to replace a sprite with a family/sprite that doesn't have the same behaviors or variable, it thrown an error. But if you follow the steps, the part of code you have tried to convert will be deleted.

    Expected result:

    It should send a warning that there are no object with the same effect, like it does with behaviors and variables.

    Construct 2 version:

    r125

  • yes, this is a good idea, I hate to search every time for the folder <img src="smileys/smiley4.gif" border="0" align="middle" />

    The Arima idea is also good, but this could be messy if you open the project in different computers... so why don't just do like visual studio and export in a "bin" folder where the project has been saved (as default option)? <img src="smileys/smiley17.gif" border="0" align="middle" />

  • I have more info about it:

    It seems to happen after long saving periods (for example when I save on the USB stick)

  • great plugin <img src="smileys/smiley1.gif" border="0" align="middle" />

    Here is some extra things that you could add:

    Events:

    OnFocus and OnFocusLost (very useful in MANY cases)

    Properties

    • Margins: the distance that the text must keep from left and right border (this could also be improved by adding all 4 margins customizable singularly)
    • Password Character: the character to use to mask the password text instead of the default *
    • Alignment: this is another thing that can be useful
  • nice idea, but this program seems not working for staggered isometric <img src="smileys/smiley6.gif" border="0" align="middle" />

    basically, the result with a staggered map is a HUGE mess of tiles...