Oyar's Forum Posts

  • 6 posts
  • Great!

    This may be or may be not a bug, depending on what "On Can play" means.

    My guess is than "On Can Play" is fired when video is ready to play, on first play or when you set a playback time.

    (Edit: Deleted Bug description as it is not a Bug, as Ashley explains below.)

  • Tested in Chrome, Firefox and IE (with mp4 file). Only Chrome seems to have this issue. Deleting the exporting problem, right now can't reproduce it anymore.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Problem Description

    Bug 1: Compare Video playbacktime sometimes does not work.

    Attach a Capx

    [attachment=0:2a8jw5wc][/attachment:2a8jw5wc]

    Description of Capx

    First Layout: Menu with Start Button. On clicked, go to Video Layout.

    Video Layout: If video ends, go to Menu Layout. If video playbacktime > 1 set playbacktime to 0. In other words, a loop that never ends.

    Video was encoded with XMedia Recode 3.1.8.8 with the following settings:

    Video Only, Bitrate 1500, Reference frames Max and Min to 1, centered type.

    Steps to Reproduce Bug

    • Step 1: Run Menu Layout
    • Step 2: Press Start Test Button Observed Result First time, video plays normally and ends. Expected Result Video Layout should never ends, as intentionally create a loop between second 0 and second 1 on the video. Affected Browsers
      • Chrome: YES

    Operating System and Service Pack

    W8 x64

    Construct 2 Version ID

    171

  • Thanks, lennaert! For now the solution I describe above meets my needs.

  • This is the solution I use:

    If Type1 is overlapping Type1

    Bring the closest Type1 to the Door

    Move this Type1 to the Door

    All the rest, Stop moving.

    So every time a Type1 is the first on the "line" it will move on, making room for the Type1 right behind it to move next.

    <img src="http://s22.postimg.org/m29g9igtt/group_following.png" border="0" />

  • Hi, how could a group of Sprites follow an object without go all to the same point so they dont overlap each other?

    Edit:

    I want to simulate a group of people trying to enter a (sometimes moving) door. So, if the door is not open, they just wait close to it.

    Thanks!

    I have read this topic

    scirra.com/forum/boids-tests_topic59833.html

    and the 2nd example is close to what I need. But the sprites dont stop moving completly. I need them to be more "stable".

    Thanks!

  • 6 posts