dop2000's Recent Forum Activity

  • Physics objects only interact with other Physics objects. Objects with Solid behavior interact with Platformer, 8-direction, Car and many other behaviors. It's generally a bad idea to mix Physics with any of other movement behaviors. In other words, don't have both Platform and Physics behaviors enabled on one object at the same time.

    I believe immovable object uses much less resources than movable, but it's still a Physics object.

  • I imagine if you just put lots of objects onto the layout, there will be no difference in performance. It all changes once you start adding behaviors and events to your game.

    Keep an eye on the number of collision checks in debug mode, don't let it go to very high numbers. Don't overuse "heavy" behaviors like PathFinding. Minimize the number of events that are run on every tick. Don't apply too many effects to objects. And then you'll be fine.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can modify collision polygon for individual tilemap tiles (for example to make 45 degree slopes). You can also rotate and flip tiles.

    In your example it may be better to use TiledBackground. It has a fixed collision polygon, but you can rotate it to any angle and stretch to any length without distortion.

    You can also use a combination of all 3 object types, it's entirely up to you. For example, the main collision map is made of TileMap (it can even be invisible). And some elements like floating tilted platforms are sprites or tiled backgrounds.

  • You can also set object as Global and then it will not be destroyed when you switch to another layout.

  • Please post your project file or a screenshot of the event.

  • Well, looks like you have lots of big images. You might need to optimize them.

    construct.net/en/blogs/construct-official-blog-1/remember-not-to-waste-your-memory-796

  • An even better solution would be to not create a new enemy if there are already too many enemies on the layout.

  • There is no such thing as "choose event", but there is choose() expression. You can use it to create conditions like this:

    Every 1 second
    System compare two values choose(0,1)=1 : Create enemy
    
    

    So every second there will be a 50% chance to spawn a new enemy.

  • Here is an idea just off the top of my head -

    on collision with wall, remember current object position in variables tempX, tempY. Set a random angle, move object about 20px at that angle, check if it's overlapping the wall. If it is, return it to (tempX, tempY) and repeat.

    If it is not overlapping, then it's safe to bounce at that angle, return object to (tempX, tempY) and set bullet angle of motion to it.

  • Taximan Try eliminating one thing at a time and see how this affects memory usage. For example, try removing ads first. If this doesn't help, try removing half of your text objects (even if your game won't work after that, it doesn't matter, you just need to check memory usage).

    Once you know what's using most memory, it will be easier to find a solution.

  • Since you are passing UID to a function, you need to pick only 1 instance at a time. So you need to add "For each Inimigo_01_walker" loop to the "Every tick" event.

    Here is the best way to organize the events:

  • You can assign ID and change CSS properties with "Form controls" objects (button, text box, progress bar etc.) But if you are planning to add just these objects to the layout and then control them from external scripts, this would be a very weird use of Construct.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies