Dumb sh... stuff you have done in Constuct - Post here

This forum is currently in read-only mode.
From the Asset Store
We present to you “Post Apocalyptic Trailer” – our newest hard hitting, bass rumbling designed movie trailer collection.
  • I just found a major snafu that has been there since probably around the time I started using Construct, as I found it way back in my backups from weeks ago. (I've only been using construct about 1-2 months). It was probably the result of me experimenting with Construct itself, before I had any idea how some features work.

    The idea for this thread is to create a reference of silly mistakes that will probably help others, and will be a general source of amusement also.

    Here are some of my bonehead mistakes:

    Put the keyboard/mouse object as a container with another object. For months I thought it Construct was tying player control to the first created controllable object. I made all kinds of work arounds to keep that object alive so that keyboard controls would still be there on the next run. *facepalm*

    (the problem here is that when the object is destroyed, the keyboard/mouse object is also destroyed due to the container behaviour - and hence no kb/m control).

    Somehow managed to put random(50) into the initial value of a private variable. This crashed the hell out of Construct but ONLY after I'd uncovered and fixed another bug that was essentially suppressing this.

    Inappropriate use of 'while's

    Never use while, unless you ABSOLUTELY understand exactly what it does and why it's there.

    Granted though, I was experimenting mostly but I found one in there that was eating a lot of CPU time and causing issues because I'd forgotten about it. Removing it had no effect on the behaviour of the items but freed up quite a bit of CPU time.

    Post your own crazy Construct screwups.

  • I thought you meant the C programming language, and was about to rant about memory leaks and pointers.

  • fixed

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not sure if this can be classed as a silly mistake, but something to be avoided.

    When I first started using Construct, I sometimes had 2 or 3 different projects open at the same time.

    This would almost always cause Construct to crash to the desktop without warning, and as well as losing the work you'd done since the last save, it occasionally corrupted the file.

    I don't know if this is fixed in later versions of Construct, or whether it was something specific to my systems, but it's something worth bearing in mind, and a good reason to keep a steady flow of backups.


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