BEES! How to Create (Virtually) Unlimited Monsters

Posts: 12
Joined: Wed Dec 26, 2018 4:32 pm

Re: BEES! How to Create (Virtually) Unlimited Monsters

Post by SubCog » Tue Feb 19, 2019 10:48 pm

User avatar
Posts: 100
Joined: Tue Aug 14, 2018 1:42 am

Re: BEES! How to Create (Virtually) Unlimited Monsters

Post by Convoy_Avenger » Sat Mar 09, 2019 12:22 am

dale_coop wrote:
Sun Feb 03, 2019 4:07 pm
Like this:

Code: Select all

	CountObjects #%00001000, #$00 ;; count monsters.
	LDA monsterCounter
	BCS labDoNotSpawn
I'm using a monster to spawn game objects. Would the CountObjects be the same for that? The items keep spawning, not respecting the max I've set. This also goes into the Spawns Enemies AI script, or somewhere else?

EDIT: I always bug you, then find the answer :P I was trying to find MonsterCounter, but that didn't help, then found CountObjects, and it has a nice chart of which bits to flip when you want to count objects. Flipped the right one, and now it seems to be working. Success!
User avatar
Posts: 296
Joined: Sun Apr 22, 2018 11:25 am
Location: Cleveland OH

Re: BEES! How to Create (Virtually) Unlimited Monsters

Post by jsherman » Sat Mar 09, 2019 2:05 pm

It will be fun to see who took advantage of this code in the competition. :)
"Turtle Rescue" updates can be found here: viewtopic.php?f=13&t=112
For more in-depth updates, please follow GossipTurtle on Twitter!
User avatar
Posts: 107
Joined: Tue Mar 06, 2018 5:30 pm
Location: France

Re: BEES! How to Create (Virtually) Unlimited Monsters

Post by Lother » Thu Mar 14, 2019 11:48 pm

Now I have a question. Let's say that in a monster group on one screen of my game, the first monster is the spawner and the second one is the monster I want to spawn regularly (the other two do not matter), what would the code be?

This way I can easily use that action to spawn different types of enemies without having to create a new spawner script for each one of these.
The game I'm currently working on : FIGHT OF THE PHOENIX

One of the 2D graphical artist who worked on MonsterBoy and the Cursed Kingdom.
Post Reply