hello everyone.. nice to meet you all
I am a newbie here and still try the trial version of construct. I am usually using game maker.
I am sorry if question is already posted here. I've already search and can't find the right answer for me.
I build a simple maze and create a layout 1600x900 pixel.
I have sprite call "walk" with 25x25 pixel.
I create a randomize function to create path in the layout.
Everytime my random get a position, I create object "walk" to mark that position.
After that, I want to fill the empty position with sprite/object "wall". But how do I check if that position is empty or already have sprite/object "walk"?
I create
for "xx" from 0 to wwall > create object "wall" on layer 0 (xx,yy)
for "yy" from 0 to hwall
.......................
but i don't know what to fill the "...." to create a condition if that position xx and yy is empty (no sprite/objct "walk") or already have sprite/object "walk" before create a "wall" sprite/object.
Can anyone tell me how to do that?