def METHOD_NAME() -> None:
    """Creates __init__.py in the arcade/resources directory."""
    ignore_count = 0
    skip_count = 0
    used_variable_names: List[str] = []
    lines = get_module_lines()
    for item in sorted(RESOURCE_ROOT.glob('**/*')):
        if item.is_dir():
            continue
        if item.suffix in IGNORE_MEDIA_TYPES:
            skip_count += 1
            # print("Skipping (extension)", item)
            continue
        if is_path_ignored(item):
            ignore_count += 1
            print("Ignoring", item)
            continue
        relative_path = item.relative_to(RESOURCE_ROOT)
        stem = item.stem
        pythonic_stem = pythonic_name(stem)
        prefix = get_prefix(relative_path)
        variable_name = f"{prefix}_{pythonic_stem}"
        if variable_name in used_variable_names:
            print(f"Warning: There is a duplicate resource variable name ({variable_name}).")
        used_variable_names.append(variable_name)
        # Optimize paths for assets and system
        if relative_path.parts[0] == "assets":
            handle = "assets"
            relative_path = relative_path.relative_to("assets")
        elif relative_path.parts[0] == "system":
            handle = "system"
            relative_path = relative_path.relative_to("system")
        else:
            raise ValueError(f"Cannot determine handle for: {relative_path}")
        resource_path = f":{handle}:{relative_path.as_posix()}"
        lines.append(f"{variable_name} = '{resource_path}'")
    with open(RESOURCE_ROOT / "__init__.py", 'w') as f:
        f.write("\n".join(lines))
    print(f"Skipped {skip_count} files.")
    print(f"Ignored {ignore_count} files.")