oosyrag's Forum Posts

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Note that the "base", or shadow, of the ball has both an x and y position, on the horizontal plane. The ball itself has an additional "height", or z position, otherwise it will be the same as the shadow. You can keep track of the height with a separate instance variable, and add this to the y coordinate of the shadow to get the position of the ball.

    Fundamental projectile logic follows that horizontal and vertical velocities are independent of each other. The shadow will keep track of the horizontal velocity (which has both x and y components), and it is always constant, so the bullet behavior is suitable for it. The vertical velocity of the ball is set at impact, and is affected by gravity at a constant rate, so you'll subtract a set amount from the vertical velocity over time.

    physicsclassroom.com/class/vectors/Lesson-2/Horizontal-and-Vertical-Components-of-Velocity

  • I suspect it may have to do with the size of your sprites. They aren't the most absurdly large textures I've seen someone try to use, but yours might be pushing the limits of some devices.

    It could either be a vram limit you're hitting, or a straight up maximum supported texture resolution that has been surpassed.

    Just a guess though, not completely sure.

  • So you've exported an html project that works on your PC, but haven't uploaded it anywhere yet?

    How did you access it from your mobile device?

    Does your project work on mobile devices using remove preview in the editor?

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

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