greentea's Forum Posts

  • 4 posts
  • But on a different computer.... it's 3 times slower. omg :(

  • I have no physics option in my project properties, to choose cocoon.js, asm etc.

    I added an action on the Block object to change the Physics world stepping mode to "frame independent" (there is a tutorial titled "Delta-time and framerate independence"). I also displayed the system dt variable.

    After doing this the speeds are more equal:

    • In Chrome: 1.58s for Block (dt=0.05)
    • In FF: 1.14s for Block (dt=0.03)
    • In IE: 1.13s for Block (dt=0.01)
    • In Opera: 2.75s for Block (dt=0.08)

    So the speed in Chrome is now more like FF+IE. In Opera it's still slow. I don't know, maybe the programmatic solution that you linked would further improve the speed in Opera - but I don't know where to put that code.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a project where two objects are falling down:

    • a Block with physics behaviour
    • a Bullet with bullet behavior (speed 400)

    Falling from top to bottom of the layout lasts:

    • In Chrome: 6.7s for Block and 0.8s for Bullet
    • In FF: 1.1s for Block and 0.8s for Bullet
    • In IE: the timers didn't update, but visually looked like in FF
    • In Opera: 5.4s for Block and 0.7s for Bullet

    As we can see, Bullet speed (400) was the same in all browsers. But Block speed (default physics) was completely different in IE+FF versus Chrome+Opera.

    Is there any good way to make the physical speed of falling down the same for all browsers? (the correct speed I think would be FF+IE)

    Unfortunately, I can't post a url to the project file on this forum.

  • I have a sprite and a (dynamic) text object. They should always be together, i.e. the text instance should appear on sprite instance. Is it possible to group them together during design time in layout?

    I need this because I have many such pairs and it's not possible e.g. to space them horizontally.

  • 4 posts