Len's Recent Forum Activity

  • If you have a 640 x 640 sprite, would it improve performance to reduce it 320 x 320 image using an external editor, importing it to Construct, and resizing it once again to 640 x 640 (making it pixelated) within Construct? Or does it not make a difference since you are rendering a 640 x 640 sprite in the end?

  • Dang. I have some effects that reduce the framerate by 5-8 FPS for a short period of time, but it's noticeable on mobile. It's not really much, but it'd be really nice if I could just cap it at a stable 50 FPS or something.

  • Thanks for clearing it up.

  • Is there a way to force a stable frame rate, or at least limit frame rate? Frame rate fluctuations can be rather annoying, and a lot of stuff still looks pretty good under 60 FPS.

  • For the "Every X Seconds" event, it says that it's limited by framerate.

    "Specify time, in seconds, between running the actions. Interval is limited by framerate (actions will not run more than once per tick)."

    Does that mean that it can't exceed framerate, or it is not framerate independent?

  • I have an event that spawns objects every 180*dt seconds ("Every X Seconds"). However, at the start of the layout on the mobile version, there's usually a lag period when everything is loading up. During this time, it takes ages to hit 180*dt (about 15 seconds total). The event works normally after this 15 seconds.

    Changed the event to every 3 seconds instead of 180*dt, and the event works normally from the start. If I spam all the events using a keyboard input from the start, there's barely any lag, but for some reason dt is really suffering when I use it with the "Every X Seconds" event.

    I want to keep framerate independence, but dt seems to be hindered pretty badly at the start of the layout. Any suggestions?

    Update: Ran the game with tickcount, seems that the tickcount doesn't suffer as badly as I thought, hits 180 ticks in 4-5 seconds at most. However the spawn every dt seconds event still doesn't work till it hits 15 seconds in.

  • Bump.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have lots of small objects which are supposed to carry out an action when it gets within range of the target.

    Which would be less system intensive?

    A) Create an AoE around the target, set its opacity to 0 and check for collision with the objects.

    or

    B) Use the distance(x1,y1,x2,y2) < AoE formula.

    I normally use method B, but I suspect that method A would be better for performance with a lot of objects around.

  • I want to make a bunch of glowing units in my game (may have 20-30 of them on screen at the time) and I've got two ways to do it.

    The first is straight forward, its just a sprite drawn to have a glow effect when animated.

    The second is to create a copy of the sprite with lower opacity (eg. 60-70), and fade the original sprite on top of it in a loop.

    Just wondering whether 20 animated sprites or 20 fade effects will take more processing power (it's a mobile game).

  • Thanks for sharing Era. I've ended up following our approach for the past few days, makes me feel a lot more productive. I guess that's one of the benefits of making your own games, you can do what you want, when you want it. I wonder if it gets a bit disorganized later on in development because everything seems subject to change / ad hoc.

    I will need to get that story polished up sooner or later though :S

    It seems pretty fun right now, but only time will tell how effective it is. Thanks again :)

  • I've recently completed the a part of the base of my game, basically finishing most of the core mechanics. I could have continued on to design some of the details, but I stopped to think about and try to flesh out my story into more detail. I was hoping to use the story to better inform the characters, game and level design. However, it has taken quite a while for me to think it through and structure everything properly, and at times I've experienced writers block.

    Would it be better to work on the game itself when experiencing some creative down time, or should I stick to the story until it's finished? I keep thinking that I will end up doing unnecessary work if I don't work out all the details of the story (eg. some mechanics may not fit the context of the story), yet there are times where I find myself stuck while writing.

    Just throwing it out there to see how everyone handles this kind of situation.

  • Thanks newt, that was useful :)

Len's avatar

Len

Member since 29 Aug, 2012

None one is following Len yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies