Skip to content

Dynamic Creature Spawning#715

Open
AntumDeluge wants to merge 4 commits into
arianne:masterfrom
AntumDeluge:dynamic_spawning
Open

Dynamic Creature Spawning#715
AntumDeluge wants to merge 4 commits into
arianne:masterfrom
AntumDeluge:dynamic_spawning

Conversation

@AntumDeluge

Copy link
Copy Markdown
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