lionz's Recent Forum Activity

  • Yes exactly, you do not need to use a for each loop, the event handles itself. On created relates to the one being created at the time so it will work for any new monster.

  • First get rid of the loop, it should be on monster created, create health bar. The on created condition picks the monster that was created. Check if that sorts it..

    Also the set position logic is a bit off because it doesnt pick a monster. You can try linking the bar and monster with unique IDs, or a better way is to use a container. This puts the health bar and monster together in a group so when you create the monster, it creates the health bar (no need for any create logic then) and also when you pick health bar to set position to monster they are then related/linked in the form of a container.

    Also if you pin the bar to the monster on creation then it's easier to control than set position every tick.

    Your final logic using a container would be something like :

    Monster on created : set bar to required monster position, pin bar to monster.

  • It's the animation speed, set it to 0

  • I entered an improvement suggestion so hopefully it can be changed to avoid any more users receiving this error : github.com/Scirra/Construct-3-bugs/issues/3956

  • If you use object A on collision with object B then it picks only the instance of object A that collided. The action of set angle in the same event then should only apply to that one sprite that collided.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It is what they're looking for, set validity to 100

  • There are different approaches you can take. Mine would be to use the Stop action when the follower is within a certain distance from the player, distance would be distance(follower.x,follower.y,player.x,player.y) less than some value.

  • it's because bar&UI and bar are different objects

  • There's no difference for memory usage. You should use instances though, all UI is using the same font?

  • Share the animation events and the timeline

  • There are demo levels that come with Construct 3, you should be using them?

  • Yes there must be a point where you say 2 pieces are correct or true and pin to each other, at this point you set identifier variable value to distinguish them from the rest.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 12-Year Club
  • 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
  • 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
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

25/44
How to earn trophies