oosyrag's Recent Forum Activity

  • On collision between two physics objects, compare position to see which one is above the other, and compare object.physics.mass to see which one is heavier or over a specific threshold.

  • The bullet behavior has a bounce off solids property.

    You can also use the line of sight behavior cast ray to check angle of incidence of any collision from a point towards a direction.

  • You don't have to worry about time at all. You can literally just count x pixels moved.

    Have a variable that stores the last x position, and total distance travelled.

    Every tick

    Set distanceTravelled to currentX-lastX

    Set lastX to currentX position

  • Do you have a grasp of how noise is used in procedural generation at all?

    redblobgames.com/articles/noise/introduction.html

    In the procedural generation example, for a 2d side view game, events 41-44 are used to determine the elevation map (floor/air). You can see how the surface is determined in events 42 and 43, to place grass if the tile above is air. Placing trees and monsters on the surface will be a similar idea as well.

    You can use a simple random expression to determine which x coordinates a monster or tree will spawn at, rather than every tile like grass. This can go anywhere as a sub event under event 33, which loops through every x coordinate to generate the map.

  • Usually people sign up for a free cloud storage account from Dropbox, Google drive, or Microsoft Onedrive. You can upload your file there, then share the link here.

    Dropbox is the more popular option here, but anything works really.

  • You do not have permission to view this post

  • A quick guess would be that since you aren't using "Else" anywhere here, every single one of these events run upon triggering, and you end up with costume_counter=0 after the completion of the last one.

  • Use an invisible helper sprite for collision detection, and pin your visible sprite to it.

    Edit: For alignment, make sure the origin point is in the center of both objects.

  • Add a "System - For Each - Zombie" condition in an event between 7 and 8, and make events 8 and 9 subevents of that new event.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Generally speaking, for framerate independence when using physics, you'll want to set stepping mode to framerate independant, and NOT use dt in your expressions.

    However, framerates less than 30fps will still result in variance, as that is the limit of the dt value used by the behavior.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
oosyrag's avatar

oosyrag

Online Now

Member since 20 Feb, 2013
Last online 16 Nov, 2024

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