I'm new to Construct 3 and loving it so far.
I'm making a Tower Defense style game that will have a lot of different levels.
I'm simplifying a bit, but basically each level starts as a grid of 16 by 9 squares. Those squares are:
S = Start (Green): Where the enemies spawn.
E = End (Red): Where the enemies exit.
P = Path (White): The trail the enemies follow.
O = Open (Grey): Spaces where you can place towers.
B = Blocked (Black): Spaces where you cannot build towers.
Rather than create sheets for each level, I was wondering if I could create the levels dynamically from a file array (as in, this awesome tutorial from “Game Design by Reilly”).
Once again, I am simplifying a bit, but the array would basically contain the X and Y coordinates and the value for that square (S, E, P, O, and B.
Could I then have a single level sheet that would look up the proper grid layout for the current level from the array?
If the answer is yes, then the follow up question is: how best to actually implement that design and create each level?
For example, is there a Construct 3 command to draw squares with a solid color and border? Or, do I need to create 5 sprites (Start, End, Path, Open, and Blocked) and then dynamically write them to the layer?
Thanks in advance for any help.