Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Creature Spawning #715

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AntumDeluge
Copy link
Member

Adds optional dynamic creature spawning to zones.

Example of adding dynamic spawning to a zone in xml:

<zone name="0_semos_plains_ne" level="0" x="500128" y="499872" file="Level 0/semos/plains_ne.tmx">
	<spawns>
		<creatures>
			<parameter name="bat">10</parameter>
			<parameter name="killer bat">8</parameter>
		</creatures>
	</spawns>
...

The name attribute is the name of the creature to spawn. The value is maximum allowed simultaneous active instances.

Closes #713

@AntumDeluge AntumDeluge self-assigned this May 2, 2024
@AntumDeluge AntumDeluge marked this pull request as ready for review May 2, 2024 09:55
@AntumDeluge AntumDeluge force-pushed the dynamic_spawning branch 2 times, most recently from 618e820 to 05e760a Compare May 16, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Dynamic Spawning
1 participant