HessamoddinS's Recent Forum Activity

  • If only the effect is a problem you can add another condition to the event trigger once when true and it will only spawn once.

    But this can get complicated for example if you have 3 buttons and 3 doors in a level, you will need to keep instance variable for each button with different value so you will know what button is pressed.

    collision is a trigger itself, trigger once doesn't work with it

  • Hi

    I'm using a solid object as a button to open a door in my game, button is solid and when the player collide with the button a door opens and an effect that I created would happen, however when the player collides with the button, the game detects multiple collisions with the button and creates multiple effects, but I only need one effect to be created when the player collides with the button. I made the button solid so the player can't go through it. Is there a solution to this issue?

  • the download link is dead, any chance for a new link?

  • Is there a better way to do this? maybe without the Canvas plugin?

  • Hi

    I'm trying to copy my camera to a lot of places in the layout. See the file below to see what I'm trying to do (press space when you ran the game)

    https://www.dropbox.com/s/ormmp0ahpcg0z ... .capx?dl=0

    however I have a really high CPU usage which is because of the high amount of loops. I wanna know if there is a better way to do what I'm trying to achieve.

  • Don't we have the close path action?

    I really need it

    edit: doesn't matter I added Close Path to the plugin

  • You do not have permission to view this post

  • Hi

    The game I'm working on is heavily using the Shadow Cast plugin. However anti aliasing on the shadows is horrible. The edges are too obvious and it does not look good at all. Is there anyway to make them smoother? I remember back in Construct Classic there was an option to do so.

    That would be great if Construct would use Electron instead of NW.js

    And would add support to circular shaped objects (Shadow Cast and Collision) as well as fix the bug that would occur when the light is close to the object casting infinite shadow.

  • Hi

    How can I make an effect like this:

    When the objects starts moving, you can see its glowing from the back

    A lot of games use this effect

    I know the image and description is not good and I hope you get what I'm looking for.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 99Instances2Go ha, we were definitely thinking along the same lines. You must have a really nice laptop!

    HessamoddinS

    I just added another optimization that I was thinking about adding to the first version - limiting how many sprites it checks per tick.

    this version bumps the sprite count up to 300, but only checks 5 per tick. So, it takes a whole second for them all to have a turn looking for connections - but because there are so many, most of them will already have the connection made to them. Since it checks the same number every tick, there is no jerkiness.

    it runs very smoothly on my computer, cpu is under 50% as reported by C2 (but Windows says it really is only about 27%). If you watch really closely you can occasionally see where a connection should have been made but didn't get checked in time. But since there are so many other connections going on, I doubt anyone would ever notice.

    http://www.rieperts.com/games/forum/DotEffect2.capx

    if you play with the SpriteCount and CheckPerTick variables, keep SpriteCount an even multiple of CheckPerTick, otherwise some will never get checked, or it may even go into an infinite loop or something...

    That's great. Thank you

  • HessamoddinS

    I beleive that this is what you want to do.

    https://www.dropbox.com/s/2bxe5qcl3v8oq ... .capx?dl=0

    Runs like a slow poke in the debugger.

    Runs at 118 FPS on my laptop, outside the debugger.

    I like the idea of using a dictionary to keep the amount of lines as low as possible.

    But, then you gots to use the the dictonary's feature to not allow the same key twice. Look at how i solved that.

    Have fun.

    Edit: AllanR, did not see your last capx yet. Had this topic open while coding, so topic was not refreshed when posting this¨.

    Thank you, this is great. I think I have solved the problem of having the same key twice but it wasn't good.

    Really helpful Thank you guys this thread was great I learned a lot from your examples.

HessamoddinS's avatar

HessamoddinS

Member since 4 Nov, 2014

Twitter
HessamoddinS has 5 followers

Connect with HessamoddinS

Trophy Case

  • 10-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

13/44
How to earn trophies