Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: Aesher on October 27, 2018, 12:48:35 PM

Title: Multiple creep
Post by: Aesher on October 27, 2018, 12:48:35 PM
I'm thinking of putting together a map that has four types of creeper (including standard and AC) that are mutually aggressive.
Does anyone know if this is possible to do?
Title: Re: Multiple creep
Post by: Sorrontis on October 27, 2018, 01:01:58 PM
Not very likely. There's no way to add more creeper types in CW3.

You could technically create one using a grid pattern of crpl cores, but that would be CPU intensive. The coding would be tough too.
Spoke with other Major contributors... This is likely to destroy your computer. Don't do it.
Title: Re: Multiple creep
Post by: Grabz on October 27, 2018, 02:44:29 PM
First of all, if you're expecting a new type of creeper that's basically the exact same as the one you already see, just a different type - no, it's not possible. There is only one creeper - an integer per cell, which is creeper when positive, and AC when negative.

With CRPL, it would be possible to engineer a new type of creeper, however with many limitations. It's possible the same way pretty much anything is possible given enough time and effort. However, in this scenario, we are heavily constrained by performance. There are things you could do to make this happen, but if you don't have a lot of experience with the full scope of this language, it's something that would be completely out of your reach.
Title: Re: Multiple creep
Post by: Aesher on October 28, 2018, 12:46:39 PM
Oh well, thanks for letting me know.
I'll bin that idea and work on the others (at least one of which I know there is CRPL for.)