Over the past several years on this forum I’ve created hundreds of example projects. I noticed that I often repost links to the same projects, and I’ve been thinking of organizing and indexing them for quite a while.
dazedangels encouraged me to finally do this, and kindly offered to host demos for some of these projects on her website. I will update the post with the links as she adds them.
Please note that this is simply a collection of some random ideas and bits of code. Not all examples are good. I don’t recommend them for learning Construct, please use the official templates and tutorials!
I will have to split the list into multiple comments because of the character limit.
VIRTUAL JOYSTICK / THUMBSTICK
CAPX and C3P Two virtual thumbsticks.
CAPX Virtual thumbstick to control a character with 8direction behaviour.
CAPX Floating thumbstick.
CAPX Horizontal only thumbstick, controlling a car.
CONTROLS
CAPX Customizable rotating knob controls.
C3P Move a sprite by repeatedly pressing two keys.
CAPX Rotate an object by touching any part of the screen.
CAPX Correctly detect gamepad events in your game. When pressing multiple gamepad buttons quickly, sometimes events "On button pressed" and "On button released" are not triggered. This demo provides a possible solution.
CAPX Aiming with gamepad analogue stick or mouse.
CAPX Force player to press a button on keyboard. Yes, it's possible!
CUSTOM SLIDER BAR
CAPX and C3P Custom horizontal and vertical slider bars for Construct 2/3.
CAPX Controlling a slider bar with gamepad.
ENEMY AI
CAPX Enemies walking around walls (Metroid-style) or patrolling the perimeter. Does not require waypoints and supports high speeds.
CAPX Platform - flying enemies that are patrolling, shooting and chasing the player. (someone else’s project which I helped to fix)
CAPX Patrolling enemies, moving between waypoints.
ARRAYS / DICTIONARIES / DATA
CAPX Sorting 2-dimensional array by any column.
C3P Export array data to CSV (Excel) file format.
C3P Easily save lots of values in Local Storage – game progress, settings, coins or anything else.
CAPX Connected listboxes - select category, select product, select model.