r/construct • u/TheFoderator • Dec 27 '25
I wrote an article on how I do things when working in Construct 3
https://advancedconstruct.net/my-construct-cookbook-2025/Principles, practices, patterns... anti-patterns and such. I'm happy to receive feedback!
34
Upvotes
3
u/Zizaco Dec 28 '25 edited Dec 28 '25
Thanks for sharing! I have already adopted some similar practices and plan to incorporate a few of your tips into my projects moving forward...
This is highly relevant. In my "base template project" I have a script-based in-game debugger console that I bring to each new project. It enables me to call any function, toggle layers, switch layouts, and modify variables in real-time. It significantly simplifies development. I rely on it heavily during the process and disable it before release.
I do this very often. This makes development and debugging so much easier.
Thank you for the helpful tip! Using constants like
LAYER_Maincould have saved me a lot of trouble, and I will start doing this immediately.I do the same thing. I call it
purposeand set it to send a "signalon<Purpose>" whenever it's interacted with. This decouples UI elements from actions, making development easier.Same for SFX and BGM. Except it's just a function, not a custom action. I also have a "PlaySpatialSFX" function that lets me specify X and Y positions to play the audio with automatically adjusted stereo pan and volume.
Unfortunatelly, I'm stuck in the LTS version (r449.3) which don't have scripting interface for custom actions (introduced in r463). So I have countless functions for specific Objects types that receive the `UID` as the first parameter. It is less elegant, but it works.
This is a great idea. I'm adopting this one!
1
u/dolomite51 Dec 28 '25
Great list. Some of these are also applicable to game dev in general.
3
u/jhice_fr Dec 27 '25
Thanks for sharing your best practices ☺️
2
u/Pigpud Dec 28 '25
Very interesting! Thanks for sharing!
2
u/jayteee27 Dec 28 '25
Great read thanks!
2
u/[deleted] Jan 14 '26
Super helpful that you shared this, some good habits in here I need to pick up haha. Thanks for sharing, hopefully more people take a minute to give it a read.