Skip to content

Prevent Overlapping Spawns #19

@vivinarya

Description

@vivinarya

Sometimes words spawn on top of each other, making them unreadable.

Task: Modify the spawnEnemy function to check if the new X coordinate is too close to an existing enemy.

Files: script.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions