Ashley's Forum Posts

  • I can reproduce, but argh, I can't find anything to do about it.

    The only ways I can find to fix it also make the entire page swipe-able, which ruins any games using touch control (as you swipe the whole canvas slides up and down). So it seems we're either trapped between either broken form controls or the entire canvas swiping.

    Don't know how to fix this for now...

    Edit: would a workaround like an action "enable form controls" followed by "disable form controls" be acceptable? If you need text entry on a menu screen you could enable form controls, but then disable them and return to game mode for the game control...

  • It appears to be working correctly. When you zoom the scroll position changes on parallaxed layers which causes the offset.

    Collisions between objects on parallaxed layers don't work correctly yet either, which is probably also confusing you. Try adding more objects to the foreground and middleground so it's clearer where you are and you should be able to see what is happening.

  • Yeah, this is what includes are for. Right click -> include event sheet. You can use as many event sheets as you like. The number of event sheets does not affect performance, only the total number of events included to a sheet.

  • Don't you mean 'index.html'? Also, why not just preview inside Construct 2? It's quicker and should work the same.

  • Why have you made a new thread? Please keep everything in the same thread in future otherwise it's confusing to follow what is going on.

    If you don't have admin access to the computer I'm afraid I can't help you much, I need to know if the registry change I suggested in the other thread will work.

  • OK, this should be fixed in the next build. Note changing animation frames effectively has to destroy and recreate the physics object with a different shape, similar to "teleporting" objects by 'Set position', so you should use it with care.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Kyatric's original reply explains this issue perfectly. Physics engines do not support "set position" or "set angle". If you do this instead of using the forces and impulses like the Physics Basics tutorial recommends, you force Construct 2 to teleport the object in the physics world, because the physics engine does not support what you just did. So each 'Set Y' to move it 2 pixels up is just teleporting the object in to the other object repeatedly, and the physics engine manages to play along for a bit then loses the plot because it's not designed to be used like that. We cannot fix this, it is a fundamental limitation in physics engines. Instead as the tutorial says you have to make the same movement by forces, torque and impulses, which works properly in the "physics world".

    Closing as won't fix. I will separately investigate the animation frames issue reported by Kyatric.

  • Thanks, fixed in next build.

  • Thanks, this should be fixed in the next build.

  • Closing as not a bug.

  • This is actually by design - the snap setting is remembered per-layout and defaults to 32x32. If you save, close and reopen the project it will remember all the snap settings you've set, but only for the layouts you've changed them on. So you only need to do it once for each layout in your project then it will always remember it from then on.

  • In practice there are only two things that make up the filesize of Construct 2 games:

    1) Audio

    2) Images

    For 1), just prefer to use a few short sound effects rather than lots of long audio clips. Music is going to take a lot (3-4mb for a single track) so you probably can only fit one track in, or maybe even just a short loop.

    For 2), avoid using lots of animation frames. Also see the blog post Kyatric linked to for the image compression options that can help reduce the filesize.

  • digimonk, would love to see integration but we only have 2 programmers and we're already incredibly busy. I'd suggest trying the SDK - if you get stuck make a post in our SDK forum and we should be able to lend a helping hand.

  • I think there may be a problem with the start page which is rendered using the system built-in version of Internet Explorer. Could you try updating the system's Internet Explorer to the latest version? It's 8 on XP and 9 on Vista and up. Also it would be good to make sure the system is fully patched with all patches available on Windows Update.

    If that still doesn't work you could try disabling the start page completely. Try setting the registry key 'HideStartPage' to the DWORD 1 in:

    HKEY_CURRENT_USER\Software\Scirra\Construct2\Preferences

    Does that help?

  • You do not have permission to view this post