Download Construct 2 release 32.2

0 favourites
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Ashley: I can't add an action. When I try to add an action in the event sheet, the focus goes off the main window as if the 'add event' window is open, but nothing appears. I have to hit ESC, which I'm assuming closes the invisible 'add event' window. I've managed, by randomly hitting Tab and Enter, to get some events to appear, so it's obviously open, but its invisible and I can't interact with it in any way.

    I have a notion what might be happening - I opened Construct 2 when I was using a dual-monitor setup, so its possible the event window is opening in that now non-existent space. How are the initial coordinates of the event window done?

  • Object's hotspot would be bice.

  • cow_trix: Windows decides the position of the window. That seems odd. What version and service pack of Windows are you on? You could try deleting the Construct 2 registry key (HKCU\Software\Scirra\Construct 2 IIRC) which will reset the size and position of all dialogs, and try again.

  • cow_trix: Windows decides the position of the window. That seems odd. What version and service pack of Windows are you on? You could try deleting the Construct 2 registry key (HKCU\Software\Scirra\Construct 2 IIRC) which will reset the size and position of all dialogs, and try again.

    Yes! That works. I was on Windows 7 64bit. This is a problem that will probably never occur again, but do you think it would be necessary to set the window position to say the middle of the parent window as a safeguard?

  • It shouldn't be necessary. C2 saves the state of the UI (dialog sizes and positions amongst other things) in the registry. Sometimes new builds change the UI - adding or removing controls from a dialog, and so on. This can make the old saved registry data invalid. It still tries to load it, though, and as a result it gets interpreted as corrupt data. Like you found, it can end up with dialogs not appearing.

    Usually I remember to put a note in the changelog stating that you need to clear the registry when I make such changes - I must've forgotten.

  • Thanks Ash. Quick question - is picking working? Cause it's not for me, specifically for destroying one of many objects.

  • Picking should work, can you post a .capx reproducing the specific problem?

  • Is FastLoop half implemented?

  • Azu, what do you mean? C2 has dropped the old style of loops since it uses looping conditions like For and For Each which are entirely better.

  • I was doing a platform engine and I didn't see an On Loop condition.

  • The 'Start Loop'/'On loop' system has been entirely removed from Construct 2, because it is redundant. The 'For'/'For Each' looping conditions are much better - they read better, and run faster. You should use them instead!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I usually do

    Bottom Sensor Overlaps background

    -Start Loop "anti-sink" for 32 times

    On Loop "anti-sink"

    • Set Mask to MasK.Y-1
    • Set Bottom Sensor to Bottom Sensor.Y-1

    So, how do that with use For/For Each?

  • Quite simple

    + Bottom sensor overlaps background

    + Repeat 32 times

    -> Set Mask to Mask.Y - 1

    -> Set Bottom Sensor to Bottom Sensor.Y - 1

  • The 'For'/'For Each' looping conditions are much better - they read better, and run faster. You should use them instead!

    Is this true of Construct 1 as well?

  • Yes, they run faster in 0.x as well.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)