oosyrag's Forum Posts

  • Particles is an object, not a behavior.

    Line of sight should be there. Does it not show up in the behaviors list? Are you using the search?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Move to may be a better behavior to work with for dashing.

  • You're already using expressions. Date.Now is an expression that gives you the current time in unix timestamp format. Date.GetUTCHours gets you the hours from a timestamp, so you put Date.Now in Date.GetUTCHours, resulting in Date.GetUTCHours(Date.Now)

    Now if you want to zeropad the resulting number, you use the zeropad expression. It would be zeropad(Date.GetUTCHours(Date.Now),2), where Date.GetUTCHours(Date.Now) is the number you want padded and 2 is the amount of padding.

  • You're going to want to use the zeropad system expression to add leading zeroes.

    zeropad(number, digits)

    Pad number out to a certain number of digits by adding zeroes in front of the number, then returning the result as a string. For example, zeropad(45, 5) returns the string "00045"

    For changing a 24 hour format to a 12 hour format, use modulo %, which is the remainder after dividing. Note that "0" should actually read 12 in this case, so you could add a conditional expression

    hour%12=0?12:hour%12
    

    This reads "If the remainder of hours after dividing by 12 is 0, then 12, else the remainder of hours after dividing by 12."

    Adding zeropad to that would look like this -

    hour%12=0?12:zeropad(hour%12,2)
    

    And it is always a good idea to int() or round() to account for rounding errors -

    int(hour%12)=0?12:zeropad(int(hour%12),2)
    

    To determine AM or PM for the hours, divide hours by 12. 0-11 are AM, and 12-23 are PM. You can use another conditional expression -

    int(hour/12)<1?"AM":"PM"
    
  • No plugins that I know of. There are more suitable software alternatives out there for visual novel style or otherwise text heavy games.

    On the other hand, C3 does have much better support for CSS and with the new HTML object. If you're familiar with HTML and CSS, you have can have some extremely fine control over how you want text displayed.

  • Worker mode is a project property under advanced, change "Use worker" from auto to no. Minification is an option when exporting, make sure it is not checked.

  • I don't know of any newer plugins.

    Did you try disabling minification and worker mode?

  • You're right, the css selector seems to be broken. Works without a selector though. I'll put up a bug report and see if it's intended, we're missing some syntax, or it can be fixed.

  • What is a registration point? An origin? You can get that with textinput.x and textinput.y and compare how you want.

    Or used the already presented solution of checking collisions and overlap with an invisible helper sprite.

    That has nothing to do with an educational game or not.

  • Just put them on different layouts.

    Note that app stores generally frown upon this practice.

  • How are you determining what file to download?

    Is it a screenshot of your game?

  • That is a large project. What have you tried?

    The basis of interaction is user clicks on an object to gain something. There is the additional requirement of prerequisites that may also need be taken before a particular object is clicked.

  • You're setting the CSS property "textDecoration", which doesn't exist. It should be "text-decoration".

    developer.mozilla.org/en-US/docs/Web/CSS/text-decoration

  • You do not have permission to view this post

  • Some browsers may not support playing audio on start of layout.

    Secondly, you're using file chooser to save the file name that is chosen, but you're not referencing the path of the chosen file anywhere. Then you try to play the name of the file in the app directory, but that file does not exist at that location and naturally can't be played.