dop2000's Recent Forum Activity

  • It's hard to help you without seeing your project. You can apply force to wheels when the plane is upside down, I guess, but it will also drag the plane up. Or use two joints (to form a triangle) to make rigid connection.

  • 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

  • To pick a random value from the array, use this expression:

    Array.At(int(random(Array.width)))

  • When you use "Enemy has LOS to player" condition, this picks all enemy instances that have LOS. For example, if you have 10 enemies, this event can pick 2 of them. Everything you do inside this event, will only apply to those 2 picked instances. So you can tell them to chase the player, using Pathfinding behavior for example.

    You can add another (inverted) event "Enemy does NOT have LOS to player", this event will pick the remaining 8 enemy instances. You can stop their movement, or something like that.

    It's a good idea to define an instance variable on the enemy, for example, State. For chasing enemies set State="chasing", for other set State="patrolling", this will give you more control and allow you to distinguish them in other events. So your code can be something like this:

    Enemy has LOS to player
    Enemy State="patrolling"
    	Enemy set State="chasing"
    	Enemy find path to player
    
    Enemy on path found 
    	Enemy move alone path
    
    Enemy does NOT have LOS to player
    Enemy State="chasing"
    	Enemy set State="patrolling"
    	Enemy Pathfinding Stop
    
    
  • You need to also restart layout. However, if you have any global objects (like arrays, dictionaries etc.), they will not be reset. Also, static local variables will not be reset. You'll have to clear/reset them one by one with events.

  • You can simply use Pin behavior to attach all parts to the main plane sprite.

    But, if you are using Physics, pin will not work correctly. You can try joints, or enable Physics only for the main plane sprite, and not for its parts. This way you will still be able to pin them to the plane.

    Container is used to "logically" connect a group of objects. The plane and all its parts can be in the same container, but you'll still need to pin them together.

  • I think you need to use a family. Instead of having two almost identical blocks of code for two objects, it's much better to combine them into a family.

    scirra.com/manual/142/families

    scirra.com/tutorials/535/how-to-upgrade-an-object-to-a-family

  • You do not have permission to view this post

  • Create a new sprite Camera with ScrollTo behavior, remove this behavior from the player.

    On every tick set Camera position to

    X: clamp(Player.X, Rectangle.BBoxLeft+ViewportWidth("Platfomer")/2, Rectangle.BBoxRight-ViewportWidth("Platfomer")/2)

    Y: clamp(Player.Y, Rectangle.BBoxTop+ViewportHeight("Platfomer")/2, Rectangle.BBoxBottom-ViewportHeight("Platfomer")/2)

  • I don't know why you need my help there. 7Soul has given you a perfect explanation.

  • Please read this post:

    construct.net/en/forum/construct-3/how-do-i-8/best-help-tips-forum-139528

    We can't help you without seeing your project file or a screenshot of your code.

  • You can do this with NWjs, put all the save data into a string and write it to file.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 260 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
  • x5
    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