dop2000's Recent Forum Activity

  • Ok, just be aware that you are saving a string of two values in one element of the array. If you retrieve the element, you will get a string like "3,8". Which is not the same as numbers 3 and 8.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You can't use "Array Load" action, it's for loading JSON in a very specific format.

    You need to read values from your JSON and insert them into the array one by one. (Although I don't understand why you want to use the array, it would be easier to work with JSON directly)

    Anyway, you need to do something like this:

  • Yeah, I remember all that. I believe Rex had already left by the time C3 runtime was introduced. So any ports of rex's addons for C3 runtime were made by other people.

  • Balancing the object in the air with force will be tricky. Setting velocity is the easiest option. You can try lerping it to make it smoother. For example:

    On every tick: Set Y Velocity to lerp(self.Physics.VelocityY, 0, dt*2)

  • You can set its Y velocity to 0, this should stop it from falling.

  • You need to request the data with AJAX, then parse it into a JSON object. After that you can read data from JSON and copy it into an array if you wish so.

    For example, to get the rarity of the second bike:

    JSON.get("query.1.rarity")

    See the official "JSON" example in Construct.

  • You can create a separate animation for each collectable in the HUD sprite and use IDs as animation names.

    When an item is collected - set HUD animation to Item.ID

  • You were around for rex rainbow and how that didn't end well.

    Why? What went wrong with rex?

  • You might need to add "For each Enemy" as the second condition in event 133. So the event should look like this:

    Enemy current state="Fire"
    For Each Enemy
    Enemy nas NO LOS to BlueTeam
    

    If this doesn't help, add some debug logging to events 133-136 to see if and when they are triggered. Use "Browser Log" action.

    Also, if you want a random integer number between 1 and 3, don't use round() expression, it will return value 2 more often than 1 and 3.

    The correct expression is int(random(1,4)) or choose(1,2,3)

  • That said I still think pathfinding is valuable for the nodes and I'm thinking of using pathfinding to recalculate path, setting the nodes, then using MoveTo or Bullet to move from one node to the next.

    MoveTo behavior has "Move along pathfinding path" action, super easy to use.

  • The issue is difficult to understand. Can you post a demo project and an image of what you are trying to achieve?

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 249 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x4
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies