Animmaniac's Recent Forum Activity

  • Link to .capx:

    https://dl.dropboxusercontent.com/u/7871870/construct/c2-bug-effect-clipping-01.capx

    Steps to reproduce:

    1. Just preview and toggle the effect on/off by pressing any key.

    Observed result:

    If a graphic object (except Sprite) has any effect applied to it, and the layer rotates, some bizarre clipping occur at certain angles.

    Screenshot 01

    Expected result:

    Layer rotation with no clipping like when the object's effect is disabled.

    Screenshot 02

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: not tested

    Operating system & service pack:

    Win 7 32 bit

    Construct 2 version:

    R156

  • 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

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Here is an interesting post.

    http://www.koonsolo.com/news/dewitters-gameloop/

    I guess you missed my post at page 6. I posted this exact same article with some other resources.

  • Some time ago I was intrigued by the result of oscillating dt over the maximum height of jumps, like some users have reported. I had the idea of trying to smooth dt over time to reduce oscillations, and googled to see if there was something about this on internet. I ended up finding this very interesting read:

    http://bitsquid.blogspot.com.br/2010/10/time-step-smoothing.html

    It's quite easy to implement and maybe can have a positive effect on the visual "jerkiness" of oscillating fps. I made a test with a much more rudimentary smoothing than the one described in the article, and at least for the varying max jump height problem it improved considerably (note how the orange dt max height oscillated a lot, while the blue smooth dt max height stays almost constant).

    Maybe it could be implemented in C2 with an option that goes from 0 to 100 (that lerps from the original dt to a smoothed one) allowing to choose between compromising distance versus timing precision.

    I also had stumbled across these articles describing a method of how to make a fixed time step properly work in different refresh rates:

    http://gafferongames.com/game-physics/fix-your-timestep/ (see "Free the physics")

    http://www.koonsolo.com/news/dewitters-gameloop/ (see "Constant Game Speed independent of Variable FPS")

    They basically talk about "decoupling" game logic updates from rendering, so that the game step can be constant while the FPS can vary freely. I think it could help with the problem of missed collisions on different hardware as well. But this method would probably require deeper changes to C2 that may not be that easy to change.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

Animmaniac's avatar

Animmaniac

Member since 18 Mar, 2010

Twitter
Animmaniac has 1 followers

Trophy Case

  • 14-Year Club

Progress

14/44
How to earn trophies