This was made in GameMaker 2 - though it's a paid software, I recommend something like Godot - it's free and equally if not better than GM in a lot of ways