faggatron's Recent Forum Activity

  • use " instead of '

  • That's nice.

    I do have some nested loops for minimising an expression, these could well be the cause of the lag. Seems like a decent time to request the "pick by highest/lowest expression" I've requested a couple of times to fix this really nicely.

    EDIT: now fps is ~80 at the start (hell of a lot better than 30) when I disable this event it jumps up another 20ish, clearly an extremely inefficient way of doing it, pick highest/lowest would be really nice.

    Adding pick by distance<2000 to every for each enemy loop seems to have worked. Thanks a lot that was a huge help.

  • Thanks Ashley that's helpful, I'll attempt to hunt down any nested loops, (hopefully they're not necessary). I did try to do the LOS events like you said, even putting them in subevents to make sure.

    I guess what I was suggesting isn't all that useful if it's just my poor coding, if it can be done through events.

    One more thing, are pick by comparison events as processor consuming as for each object loops? (if they loop through each object checking the expression) because I may have those and for each object loops nested together.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • nice, (I didn't actually try it)

    It's obviously not necessary, but I wouldn't rule it out entirely, just if you can be arsed add it ages after 1.0 and after the vector object, just as an ease of use thing.

  • I really don't like using detectors, *ahem*.

    If you want to pick objects that are under a certain distance from something:

    pick OBJECT1 by comparison: Distance(.x,.y,OBJECT2.x,OBJECT2.y) < Z

    should work.

    If you want line of sight, there is a line of sight behaviour which is pretty much self explanatory.

  • it's a hell of a lot quicker to have:

    canvas object -> paste circle radius r at (x,y)

    than to make a circle vector object and set it up loads and then paste it into it, especially if you've got to set up an erase blend on a new layer with that thing that makes erase work ticked.

  • would be cool to unlock a single object with some key combination + click

  • There are about 1500 objects, and that is holding back, it could easily be double that if I wanted to saturate the level entirely.

    I'm not using RTS movement.

    Am I right in assuming off screen shaders shouldn't affect performance?

    With simulate shader 0.0 on I still get stuck around 30fps. (My computer isn't that bad - 3ghz dual core etc, so I'm worried about other people playing it.)

    Disabling LOS events doesn't change FPS at all either

    The only thing I've come across that increases FPS significantly is deleting a bunch of objects.

    In this situation where I have loads of for each object loops, and other events that may get a lot more intensive the more objects I have, I think it could benefit from leaving out objects that are far away (since they'll be stationary, and miles away from any action anyway). Obviously this would be optional.

    I can get around this by just chopping up the levels and having more of them, but it's not ideal, and may not be as easy with another game.

  • nice, thanks for the speedy fixes.

    You know every time there's a new version it resets all my quick access tool bar stuff which is a bit annoying, doesn't really matter though if its unavoidable.

  • I'm making a game with some large levels, but the more stuff I add the lower the fps drops. I am using the line of sight behaviour (set to 50px) , but only every ~100ms, and if within a certain distance. My question is, how does construct handle objects that are off screen, and could it do with an option to ignore some objects that are VARIABLE DISTANCE off the screen?

  • New build's coming in a minute to fix the issues reported here, which are new.

    Apologies and hold tight!

    heh this is becoming a regular thing! an update straight after the other

    and it's why we love you

  • When you select an attribute in a "is overlapping" event, and you click finish, it tells you to ensure that object parameters are picked.

    edit: please!! a hotfix or something, this is crippling

    appreciate the update

faggatron's avatar

faggatron

Member since 7 Dec, 2007

None one is following faggatron yet!

Trophy Case

  • 16-Year Club

Progress

16/44
How to earn trophies