hello how can i make a event like this:
if xPlayer on collision with object{door} then
door set Y 650
else
door set Y 865
end
Develop games in your browser. Powerful, performant & highly capable.
You can have a boolean to trigger open/close the doors.
There is 2 options in my example:
drive.google.com/file/d/1ZqDhc17HrIZ1vPkeDwexl_eV1SSU-o35/view
Please raise your question if there is anything unclear.