oosyrag's Recent Forum Activity

  • Are you using construct 2? Because this is the construct 3 forum. It's included in c3, I don't know how the move to addon in c2 works, so not sure how to help you there.

    If you are using c2, for the best control use a timer behavior and lerp the position from the start point to end point using the timer progress.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The move to behavior does not teleport.

  • You do not have permission to view this post

  • 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?

  • 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.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 38 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies